There is actually a regression here - /dev/disk/by-id/ is no longer
creating the full device path, as it previously did. This is the
recommended way to use ZFS, which is how I noticed it.
After some reverse engineering, I discovered that putting this into
/etc/udev/rules.d/00-scsi-sg3_config.rules resolves the problem, and
allows sg3-utils-udev to create (for example) /dev/disk/by-id/scsi-
SSEAGATE_ST6000NM0095_ZAD2X2LE0000C8180YGZ
```
ACTION!="add|change", GOTO="scsi_identify_end"
SUBSYSTEMS=="scsi", GOTO="scsi_identify"
GOTO="scsi_identify_end"
LABEL="scsi_identify"
ENV{ID_SCSI_INQUIRY}="0"
ENV{.SCSI_SYMLINK_SRC}="TLVS"
LABEL="scsi_identify_end"
```
The ID_SCSI_INQUIRY=0 is required to make /usr/lib/udev/rules.d/58-scsi-
sg3_symlink.rules load the variables, and then .SCSI_SYMLINK_SRC re-
enables /dev/disk/by-id/scsi-S$MODEL_$SERIAL etc.
This is a direct regression from 24.04 when upgrading to 26.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137191
Title:
upstream 00-scsi-sg3_config.rules missing from distro package
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/2137191/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs