RHEL: Retrieve and generate a unique SCSI identifier

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>
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Linux get the list of FC HBA’s and WWPN
Viewed 3616 times since Tue, May 22, 2018
Linux RedHat How To Create An RPM Package
Viewed 3394 times since Sun, Jan 9, 2022
Linux - How to monitor CPU usage
Viewed 6602 times since Fri, Jun 8, 2018
OEL 7 – How to disable IPv6 on Oracle Linux 7
Viewed 20674 times since Fri, Aug 3, 2018
LVM: Mount LVM Partition(s) in Rescue Mode
Viewed 5022 times since Sat, Jun 2, 2018
linux unix aix banner /etc/issue
Viewed 2119 times since Fri, Aug 3, 2018
Linux / UNIX: Run Command a Number of Times In a Row
Viewed 16044 times since Tue, Aug 6, 2019
Logrotate Example for Custom Logs
Viewed 2734 times since Sun, Jan 12, 2020
RHEL: Crash kernel dumps configuration and analysis on RHEL 7
Viewed 7304 times since Sat, Jun 2, 2018
logrotate - rotates, compresses, and mails system logs.
Viewed 1862 times since Fri, Nov 30, 2018