Date: Sun, 5 Oct 2014 12:24:45 +0200 From: Nikolay Denev <ndenev@gmail.com> To: freebsd-fs <freebsd-fs@freebsd.org> Subject: Unable to create ZVOL (error=6) Message-ID: <CA%2BP_MZG6WF5U4Rb0QyveYG7M0An_r9QzHT0hcwNZwYY0wWoraw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BP_MZG6WF5U4Rb0QyveYG7M0An_r9QzHT0hcwNZwYY0wWoraw>
