Unable to create ZVOL (error=6)
Steven Hartland
killing at multiplay.co.uk
Sun Oct 5 15:54:27 UTC 2014
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 at gmail.com>
To: "freebsd-fs" <freebsd-fs at 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 at 00:00:00_05-10-2014
> (error=6).
>
> Snapshot looks ok, it's just that the ZVOL cdev is not created :
>
> [12:11][ndenev at nas:~]%zfs get creation
> zfs/bhyve_volumes/freebsd_amd64_10_stable at 00:00:00_05-10-2014
>
> NAME
> PROPERTY VALUE SOURCE
>
> zfs/bhyve_volumes/freebsd_amd64_10_stable at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>
More information about the freebsd-fs
mailing list