From owner-freebsd-fs@FreeBSD.ORG Sun Oct 5 18:48:04 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2D9115B for ; Sun, 5 Oct 2014 18:48:03 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BC2DB1E for ; Sun, 5 Oct 2014 18:48:03 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id m15so4943301wgh.4 for ; Sun, 05 Oct 2014 11:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u9t6n8boQcEEoUdqNPIgDljQRl+9QWB4ridUXSznHd8=; b=FsVPOkTDFNnKvHZiABr7JgT1zGHCPne5mB7k2ezkmuRtl49o7mgON0j31pAljEYEpl xfI15wJGkPStAZHuzhKlCuKK6J+B2sUxYGi4P4pZhZzPvu0HEsYCshVHXyPAXLmMD+YK WuwHx9J4n18JaPYt0COO4vcmV8MFxp/2lHo0/nARLhXPoplfLfGi0hCPP2lVJDveQK6f abJPwGthTwxAYWc/9qz72+plg6uqhP4sbcI99EwbTB9Lc2H8/6z0dOU/7xTz3nSWK9qI burZAi3V0kd3r7BPEKrwzWmjL6Nz5Wz/q2I6Kn047tE+JGEonE9hR5lv2x9B02HHZrYV qsnQ== MIME-Version: 1.0 X-Received: by 10.181.27.132 with SMTP id jg4mr14532732wid.28.1412534881759; Sun, 05 Oct 2014 11:48:01 -0700 (PDT) Received: by 10.27.77.135 with HTTP; Sun, 5 Oct 2014 11:48:01 -0700 (PDT) In-Reply-To: <482C298BFC554BC09D1991C0BAEB11A6@multiplay.co.uk> References: <8186C4F93E964D41891B3D4B7BA8A260@multiplay.co.uk> <099874C2FEEC483C9453CEF7F2CF3C4F@multiplay.co.uk> <482C298BFC554BC09D1991C0BAEB11A6@multiplay.co.uk> Date: Sun, 5 Oct 2014 20:48:01 +0200 Message-ID: Subject: Re: Unable to create ZVOL (error=6) From: Nikolay Denev To: Steven Hartland Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2014 18:48:04 -0000 On Sun, Oct 5, 2014 at 8:38 PM, Steven Hartland wrote: > ----- Original Message ----- From: "Steven Hartland" > > >> ----- Original Message ----- From: "Nikolay Denev" >> >>> I'm not taking other steps, and I'm running "FreeBSD nas.home.lan >>> 10.0-STABLE FreeBSD 10.0-STABLE #13 r270295M: Thu Aug 21 22:05:37 UTC >>> 2014 root@nas.home.lan:/usr/obj/usr/src/sys/NAS amd64" >>> >>> Can you try to set volmode back to "geom", so that you can create a >>> snapshot that creates a cdev in /dev/zvol, and then set it to "dev" >>> again, and try a new snapshot? >> >> >> No change, still no /dev/zvol > > > Are you sure you didn't create the volumes with a -V? As thats what > should triggers zvol creation. > > Can you try updating to the latest stable/10 to see if its still > present? > > Regards > Steve Yes, they were created with -V. I seem to have missed that from your first email that you didn't use -V, sorry about that. So I have a zfs/bhyve_volumes dataset, which is with "legacy" mountpoint so it's not mounted anywhere. and below it I'm creating the zvols with -V. The purpose of this dataset was to be used as a parent, so I can do recursive snapshots, etc. It's interesting that I do have some zvols that are snapshots in /dev/zvol, however I'm trying to remember if they were created with older revision, or before I've started fiddling with "volmode" property. I will try to update and see is something changes. --Nikolay Here is the output of the zfs get -r type zfs (but slightly trimmed as it's several screens otherwise): zfs/bhyve_master type volume - zfs/bhyve_master@snap-vm0 type snapshot - zfs/bhyve_volumes type filesystem - zfs/bhyve_volumes@19:46:05_31-08-2014 type snapshot - zfs/bhyve_volumes@01:15:06_01-09-2014 type snapshot - zfs/bhyve_volumes@11:36:54_03-09-2014 type snapshot - zfs/bhyve_volumes@11:04:30_07-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_08-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_09-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_10-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_11-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_12-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_13-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_14-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_15-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_16-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_17-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_18-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_19-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_20-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_21-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_22-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_23-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_24-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_25-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_26-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_27-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_28-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_29-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_30-09-2014 type snapshot - zfs/bhyve_volumes@00:00:00_01-10-2014 type snapshot - zfs/bhyve_volumes@00:00:00_02-10-2014 type snapshot - zfs/bhyve_volumes@00:00:00_03-10-2014 type snapshot - zfs/bhyve_volumes@00:00:00_04-10-2014 type snapshot - zfs/bhyve_volumes@00:00:00_05-10-2014 type snapshot - zfs/bhyve_volumes@12-13-04_05-10-2014 type snapshot - zfs/bhyve_volumes@12-13-59-05-10-2014 type snapshot - zfs/bhyve_volumes@test-snap type snapshot - zfs/bhyve_volumes/benchmark type volume - zfs/bhyve_volumes/benchmark@11:04:30_07-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_08-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_09-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_10-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_11-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_12-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_13-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_14-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_15-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_16-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_17-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_18-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_19-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_20-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_21-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_22-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_23-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_24-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_25-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_26-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_27-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_28-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_29-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_30-09-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_01-10-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_02-10-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_03-10-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_04-10-2014 type snapshot - zfs/bhyve_volumes/benchmark@00:00:00_05-10-2014 type snapshot - zfs/bhyve_volumes/benchmark@12-13-04_05-10-2014 type snapshot - zfs/bhyve_volumes/benchmark@12-13-59-05-10-2014 type snapshot - zfs/bhyve_volumes/benchmark@test-snap type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable type volume - zfs/bhyve_volumes/freebsd_amd64_10_stable@FreeBSD-10.1-PRERELEASE-r270843-30-08-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@19:46:05_31-08-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@01:15:06_01-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@11:36:54_03-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@11:04:30_07-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_08-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_09-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_10-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_11-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_12-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_13-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_14-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_15-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_16-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_17-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_18-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_19-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_20-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_21-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_22-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_23-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_24-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_25-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_26-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_27-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_28-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_29-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_30-09-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_01-10-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_02-10-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_03-10-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_04-10-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_05-10-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@12-13-04_05-10-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@12-13-59-05-10-2014 type snapshot - zfs/bhyve_volumes/freebsd_amd64_10_stable@test-snap type snapshot -