RHEL: Retrieve and generate a unique SCSI identifier
Article Number: 135 | Rating: Unrated | Last Updated: Sat, Jun 2, 2018 9:01 AM
RHEL: Retrieve and generate a unique SCSI identifier
# Tested on RHEL 5, 6 & 7
# There are many situations were we may need a unique identifier for a SCSI device # (disk, etc.) to be identified in an unambiguous and persistent way. # To obtain a SCSI unique identifier, we can use following command: # RHEL 5 /lib/udev/scsi_id -g -u -s /block/<device> # RHEL 6 /lib/udev/scsi_id -g -u -d /dev/<device> # RHEL 7 /usr/lib/udev/scsi_id -g -u -d /dev/<device> |