[Bug 256165] camcontrol cannot address drives by id/label/name/serialnumber

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 May 2021 10:39:11 UTC

            Bug ID: 256165
           Summary: camcontrol cannot address drives by
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@michael-bueker.de

FreeBSD has several of ways of addressing disks independently of their assigned
device names like adaX: diskid/ and glabel for example. This helps scripts and
user commands avoid addressing the wrong disk when controllers, cables and
drives are shuffled around.

camcontrol has no way to use any of these, however. It only accepts names like
adaX, or bus:target identifiers, which can all change across reboots for any
given disk.

camcontrol should allow _some_ way to address disks independently of their
adaX-style device names, like diskid/* identifiers, glabel, `diskinfo -s`
serial numbers or something similar.

You are receiving this mail because:
You are the assignee for the bug.