From nobody Wed Apr 8 09:31:18 2026 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4frHr66gGvz6Ymbp for ; Wed, 08 Apr 2026 09:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4frHr65xd1z45sV for ; Wed, 08 Apr 2026 09:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775640678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5ovP0IQcOJS4Ul7BE9aCTON41Yh5EGnAqCinsLbrcps=; b=RkrOFv05az/5R/Nd4hQvpucC8bmVfqLMBVYPPkj7I19FcQMn5G15ZTpTazErFF5dF1pUkD 69gV2RTqY1lLc1zr2AcxslHW850mpwErmnEyOaVh/HJ/5uTmyWAgLT463qyG8x1gzu7K2D 6jX+mcQjn//1T9KR46+vmdIsDVt5x1E/6R/xioMobV9Vlq028qgfZrBRHM1CjJpDxcz+5s jUQpm8Wjv7e4X7KBkGXpxdL2bG5in1ekRC8cex9tsauLtJ6nddu/HRD1J/34iSGLcimwhK L7Cym1VE3u1eTJKOiaTPbskgpRQwE0aDVYgnM5DUcWinZqaroaRRylz21fI4Sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775640678; a=rsa-sha256; cv=none; b=wTZAdkPRZmVyYmHkn37HAylslpTW/rxjjrDpkQbNDGBn+zU8NRmqBBfK+Q1DHtkPto/Pb9 A9UODGjWPJrvKZv9ERSXfHDLdfDAdXIwN9MMD1upm4PXxZ4CR7sF5WdRnN0Q0Vsai+CHIZ NSU01VySp8JRMTsxmvvoc1dIoEhp43WLdBXLklG2peW1yuoe1wADJY96Uk8UnN24kwfMlj 4B5LVurwj7X4bVLfjXnWT0oFbbeoLTUKMqy3skYGqJ3HoyyluTtuPa/81dVaKTpP1dRlgk 36QEYUVwS9aFAVWRfSMsLbtff6uBNLcaJ+YBcfCOqQAIrEeaRHj9uRjCEHMEcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775640678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5ovP0IQcOJS4Ul7BE9aCTON41Yh5EGnAqCinsLbrcps=; b=Ro3j0C2inPt9HSfdVsP5aeJuo0wK75xvxDrI9UgoZup6rGvET4Np+iljhy6kMdpPTC36du h84QYk5C5/5JUJh9uQtOpE247qIAaJJKKqvv3UG6gO1cTgOp1fwSXYLsmeAislnYXKq0A5 k0IWGYtmeqO5mNswZoo5FdZM4P3rFEJEvANJX9bYJNZXkA/uSvxkxkdlb8rPrkRy9FBprd DmuNzdu88c3vt/CWoxGqdwVGU3e69MWbHQW5pMPXObyDP8c5PnbKTnv9mzXuQKR39WfMEB FDvrpJG4tbZfZi1/MXRFX7rUvC7SPx1UxQUAtPBhfxU8S6UWuvXBoCouNQDawg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4frHr65JPKz4tX for ; Wed, 08 Apr 2026 09:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 6389VIn6073240 for ; Wed, 8 Apr 2026 09:31:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6389VIbt073239 for bugs@FreeBSD.org; Wed, 8 Apr 2026 09:31:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 294326] glabel.8: Document conditions where (automatic) labeled devices aren't created Date: Wed, 08 Apr 2026 09:31:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294326 Bug ID: 294326 Summary: glabel.8: Document conditions where (automatic) labeled devices aren't created Product: Base System Version: 16.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: michaelo@FreeBSD.org I wanted to make use of automatical disk labels /dev/diskid/ for ZFS and failed. Consider the follwing configuration: root@deblndw013x:~ # camcontrol inquiry da0 pass0: Fixed Direct Access SPC-3 SCSI device pass0: Serial Number 50014380147AB8F0 pass0: 135.168MB/s transfers, Command Queueing Enabled root@deblndw013x:~ # camcontrol inquiry da1 pass1: Fixed Direct Access SPC-3 SCSI device pass1: Serial Number 50014380147AB8F0 pass1: 135.168MB/s transfers, Command Queueing Enabled root@deblndw013x:~ # camcontrol inquiry da2 pass2: Fixed Direct Access SPC-3 SCSI device pass2: Serial Number 50014380147AB8F0 pass2: 135.168MB/s transfers, Command Queueing Enabled Note: Please don't ask why it is RAID, the controller firmware does not sup= port HBA mode. As you can see the S/N is identical for all three VDs (see also https://www.claudiokuenzler.com/blog/413/freebsd-cciss-hp-smart-array-raid-= wrong-disk-numbering-labeling). Whether this is a firmware bug in the controller or in ciss(4) I don't know, but this can happens with GPT labels and other automatic labels. I ended up with only one labeled device. dmesg didn't show a WARNING/ERROR nothing. Looking into sys/geom/label/g_label.c I see g_label_create() three conditions: * Label invalid. Not documented what characters are permissive. * Label too long. 64 chars including prefix and null byte. * Label already exists, first wins. My case. I believe that they should be part of the manpage especially for the automatically created labeled devices. --=20 You are receiving this mail because: You are the assignee for the bug.=