Length of ZFS volume names

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Mon, 24 Aug 2020 11:19:16 -0400
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

Received on Mon Aug 24 2020 - 13:19:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC