Errors with snapshots (testing sysutils/zfstools)
Andrea Venturoli
ml at netfence.it
Sat Nov 28 15:50:13 UTC 2020
Hello.
I'm testing sysutils/zfstools, which will create hourly snapshots of all
my ZFS pools, on a 12.2 box.
However, I see in the logs, every hour, the following messages:
> kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0 at zfs-auto-snap_hourly-2020-11-28-16h00, error=63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0 at zfs-auto-snap_hourly-2020-11-28-16h00p1, error=63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0 at zfs-auto-snap_hourly-2020-11-28-16h00p2, error=63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0 at zfs-auto-snap_hourly-2020-11-28-16h00p3, error=63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0 at zfs-auto-snap_hourly-2020-11-28-16h00p4, error=63)
Now:
_ win10test is a zvol: I'm not really interested in it and I could
disable snapshots on it (or even delete it), but I want to understand
things;
_ looking for this in forums, I see someone suggesting error 63 means
the snapshot name is too long; that's strange, as I've got even longer
names (not zvol, though);
_ anyway, if it's true, I guess snapshot should not be created, but they
are there; they also get deleted the next hour, since this volume is not
in use, so there's really no change;
_ I tried this on a different machine (still at 12.1) and I get a
different message:
> kernel: ZFS WARNING: Unable to create ZVOL zroot/vm/win10test/disk0 at zfs-auto-snap_hourly-2020-11-28-16h00 (error=63).
Still the snapshots are there.
_ I guess ...p1, ...p2, ...p3, ...p4 refers to the partitions on the
volume (in fact listed in /dev/zvol/zroot/vm/win10test/); I guess this
should not be attempted at all (bug in zfstools?);
_ I've seen https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215067 and
it's quite scary. Do we have to pay attention not too create too long names?
bye & Thanks
av.
More information about the freebsd-questions
mailing list