Length of ZFS volume names

Shawn Webb shawn.webb at hardenedbsd.org
Mon Aug 24 15:19:23 UTC 2020


Hey FreeBSD peeps,

The zfs(8) manpage says that the maximum length of a dataset name is
MAXNAMELEN (256 bytes). I've created a ZFS volume that has a dataset
name length of 62. I don't see the ZFS volume in /dev/zvol and I
noticed this sanitized error in dmesg:

Aug 24 11:07:24 bh-build-01 kernel: [2395] ZFS WARNING: Unable to create ZVOL tank/bhyve/productname/dev/users/username/username-shortened_productname-dev-01/disk-01 (error=63).

So I'm left wondering, does devfs have a smaller limit than ZFS for
node paths?

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

GPG Key ID:          0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200824/f0d7b0d5/attachment.sig>


More information about the freebsd-current mailing list