Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2020 14:24:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251578] sysutils/zfstools warnings with ZVOLs
Message-ID:  <bug-251578-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251578

            Bug ID: 251578
           Summary: sysutils/zfstools warnings with ZVOLs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: ml@netfence.it
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

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=3Dzvol/zroot/vm/win10t=
est/disk0@zfs-auto-snap_hourly-2020-11-28-16h00, error=3D63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=3Dzvol/zroot/vm/win10t=
est/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p1, error=3D63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=3Dzvol/zroot/vm/win10t=
est/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p2, error=3D63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=3Dzvol/zroot/vm/win10t=
est/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p3, error=3D63)
> kernel: g_dev_taste: make_dev_p() failed (gp->name=3Dzvol/zroot/vm/win10t=
est/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p4, error=3D63)

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 (n=
ot
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@zfs-a=
uto-snap_hourly-2020-11-28-16h00 (error=3D63).
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;

_ I've seen https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215067 and =
it's
quite scary. Do we have to pay attention not too create too long names?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251578-7788>