Re: Length of ZFS volume names

From: Michael Gmelin <freebsd_at_grem.de>
Date: Mon, 24 Aug 2020 19:49:36 +0200
> On 24. Aug 2020, at 17:20, Shawn Webb <shawn.webb_at_hardenedbsd.org> wrote:
> 
> 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?
> 

Might be related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238112


> 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 - 15:49:49 UTC

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