vdev_id: multi-lun disks & slot num zero pad
commitcefef28e9895fae01e294c0e8075b8bf98037acd
authorMatthew Heller <matthew.f.heller@gmail.com>
Wed, 9 Oct 2024 00:43:04 +0000 (8 20:43 -0400)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2024 00:43:04 +0000 (8 17:43 -0700)
tree01b96616250d44a8afaa83a3cdbd93cea066810a
parent75dda92dc36a9265a25e66fb38284620644d4c61
vdev_id: multi-lun disks & slot num zero pad

Add ability to generate disk names that contain both a slot number
and a lun number in order to support multi-actuator SAS hard drives
with multiple luns. Also add the ability to zero pad slot numbers to
a desired digit length for easier sorting.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Heller <matthew.f.heller@accre.vanderbilt.edu>
Closes #16603
man/man5/vdev_id.conf.5
udev/vdev_id