Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2020 19:49:36 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Length of ZFS volume names
Message-ID:  <B7140C85-0D06-490F-864A-CA1428F336C0@grem.de>
In-Reply-To: <20200824151916.rigl2ov6wp25mj5i@mutt-hbsd>
References:  <20200824151916.rigl2ov6wp25mj5i@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 24. Aug 2020, at 17:20, Shawn Webb <shawn.webb@hardenedbsd.org> wrote:
>=20
> =EF=BB=BFHey FreeBSD peeps,
>=20
> 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:
>=20
> Aug 24 11:07:24 bh-build-01 kernel: [2395] ZFS WARNING: Unable to create Z=
VOL tank/bhyve/productname/dev/users/username/username-shortened_productname=
-dev-01/disk-01 (error=3D63).
>=20
> So I'm left wondering, does devfs have a smaller limit than ZFS for
> node paths?
>=20

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



> Thanks,
>=20
> --=20
> Shawn Webb
> Cofounder / Security Engineer
> HardenedBSD
>=20
> 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/Sh=
awn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B7140C85-0D06-490F-864A-CA1428F336C0>