Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2020 11:19:16 -0400
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        freebsd-current@freebsd.org
Subject:   Length of ZFS volume names
Message-ID:  <20200824151916.rigl2ov6wp25mj5i@mutt-hbsd>

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

--qordeeddq3yuyl6f
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 ZV=
OL tank/bhyve/productname/dev/users/username/username-shortened_productname=
-dev-01/disk-01 (error=3D63).

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

Thanks,

--=20
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/Sha=
wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

--qordeeddq3yuyl6f
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl9D2nEACgkQ/y5nonf4
4frtKRAAp7/+UdUa4bsyaf8nslqnPh2v2uOPOQAtWXDoh6c5llKCL5DqzjZY/LHu
Y8vG+XxMaQQ2+xCdmjfqfSbO7qISsg4SfJo0lzAiDSo4EYxPYk/YSxghkC5MAYsQ
5MaDGWZrXMlZgNpKJKBEtrzFux2H3Yi8lMrpV57x1zSWAUJAWmx+doHCqDOYYFWN
I61v8x1+L8XXD9SBALzqqH6Q305t/J4fNrhH5q6yKRXLXBpzvPibeZ3eRzPNAICE
itWe39I/eI9R3CXdvIfWNTqi+7I25FsoluOBTuiD5XktMDQmiEwvEnIA48owulP+
tqzP5muT2zvssZH7NYYMR8cLg6YR+9u1TdS0j3jjtQpO5nqKBmCPLBWdzrC6S6Ec
9Aaprw82+nTE3a/x13AMTDHpgUAjhf7qZZXdBNxnkmJZxPfeYefS8sXRIhMN3ikF
GKbKI8UuaCIzeQ4n33iLJ1I1LdT7lSu+izaR5AhtDbhXV9JtWbJ4Xk+WUm0wblpg
1RjtCsYIYi3NBt8Ie/cNCmWuY0xGZB5XUS/3MpKJr/pNsripukfOLIrREr4Yq/1L
S8DURY0j2y+h8AQMFfYGLa07z/FwKSjRbSjJEV/yafyGT0idQMlV9RGKHCgL/lOO
UyHOjCT0a8OrkrjNO/V2xs5hJffOg1Fw5tXvOfRploLH93DkjE0=
=z2wG
-----END PGP SIGNATURE-----

--qordeeddq3yuyl6f--



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