Date: Sun, 5 Oct 2014 16:54:13 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: "Nikolay Denev" <ndenev@gmail.com>, "freebsd-fs" <freebsd-fs@freebsd.org> Subject: Re: Unable to create ZVOL (error=6) Message-ID: <8186C4F93E964D41891B3D4B7BA8A260@multiplay.co.uk> References: <CA%2BP_MZG6WF5U4Rb0QyveYG7M0An_r9QzHT0hcwNZwYY0wWoraw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Just tried to reproduce this on 10.1-BETA2 FreeBSD 10.1-BETA2 #68 r272005M without luck I'm afraid. Steps taken to try to reproduce: mdconfig mdconfig -a -t malloc -s 1G zpool create zfs md0 zfs set volmode=dev zfs zfs create zfs/bhyve_volumes zfs create zfs/bhyve_volumes/freebsd_amd64_10_stable zfs snapshot -r zfs/bhyve_volumes@`/bin/date +\%H:\%M:\%S_\%d-\%m-\%Y` No errors where reported but also no zvols where created with no /dev/zvol existing, which in itself seems broken. I also tried exporting and re-imported the pool still no zvol devs. Are their some other steps your taking? For reference this functionality was added by: https://svnweb.freebsd.org/base?view=revision&revision=264145 Regards Steve ----- Original Message ----- From: "Nikolay Denev" <ndenev@gmail.com> To: "freebsd-fs" <freebsd-fs@freebsd.org> Sent: Sunday, October 05, 2014 11:24 AM Subject: Unable to create ZVOL (error=6) > Hi, > > I have a cron to generate daily snapshots like this: > > 0 0 * * * root /sbin/zfs snapshot -r zfs/bhyve_volumes@`/bin/date > +\%H:\%M:\%S_\%d-\%m-\%Y` > > And I've noticed that I have the following errors in dmesg: > > ZFS WARNING: Unable to create ZVOL > zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_05-10-2014 > (error=6). > > Snapshot looks ok, it's just that the ZVOL cdev is not created : > > [12:11][ndenev@nas:~]%zfs get creation > zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_05-10-2014 > > NAME > PROPERTY VALUE SOURCE > > zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_05-10-2014 > creation Sun Oct 5 0:00 2014 - > > Error 6 would be ENXIO. > I think this might be due to "volmode=dev" setting, as I've ruled out > name lenght, or invalid characters. > > > > --Nikolay > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8186C4F93E964D41891B3D4B7BA8A260>