From owner-freebsd-current@freebsd.org Mon Aug 24 17:49:49 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B02233C90FA for ; Mon, 24 Aug 2020 17:49:49 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bb04q51c6z41SG for ; Mon, 24 Aug 2020 17:49:47 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 0a0bf985; Mon, 24 Aug 2020 17:49:38 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 200aa592 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Mon, 24 Aug 2020 17:49:37 +0000 (UTC) Mime-Version: 1.0 (1.0) Subject: Re: Length of ZFS volume names From: Michael Gmelin In-Reply-To: <20200824151916.rigl2ov6wp25mj5i@mutt-hbsd> Date: Mon, 24 Aug 2020 19:49:36 +0200 Cc: freebsd-current@freebsd.org Message-Id: References: <20200824151916.rigl2ov6wp25mj5i@mutt-hbsd> To: Shawn Webb X-Mailer: iPhone Mail (17G80) X-Rspamd-Queue-Id: 4Bb04q51c6z41SG X-Spamd-Bar: / X-Spamd-Result: default: False [-0.29 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_MEDIUM(-0.96)[-0.962]; URI_COUNT_ODD(1.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.33)[-0.329]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 17:49:49 -0000 > On 24. Aug 2020, at 17:20, Shawn Webb 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