Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 20:48:01 +0200
From:      Nikolay Denev <ndenev@gmail.com>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: Unable to create ZVOL (error=6)
Message-ID:  <CA%2BP_MZFjXboupNn0ViFPxwtc-NXqR%2BQMRAXb2qRdQaLnbRa2zQ@mail.gmail.com>
In-Reply-To: <482C298BFC554BC09D1991C0BAEB11A6@multiplay.co.uk>
References:  <CA%2BP_MZG6WF5U4Rb0QyveYG7M0An_r9QzHT0hcwNZwYY0wWoraw@mail.gmail.com> <8186C4F93E964D41891B3D4B7BA8A260@multiplay.co.uk> <CA%2BP_MZGbGL-OcxmQy40jPpdt-GN=Q-5ZwWeVwyKqQLg9s-ZrtA@mail.gmail.com> <099874C2FEEC483C9453CEF7F2CF3C4F@multiplay.co.uk> <482C298BFC554BC09D1991C0BAEB11A6@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 5, 2014 at 8:38 PM, Steven Hartland <killing@multiplay.co.uk> wrote:
> ----- Original Message ----- From: "Steven Hartland"
>
>
>> ----- Original Message ----- From: "Nikolay Denev" <ndenev@gmail.com>
>>
>>> 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    -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BP_MZFjXboupNn0ViFPxwtc-NXqR%2BQMRAXb2qRdQaLnbRa2zQ>