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
RHCS6: Create a new Logical Volume / Global Filesystem 2 (GFS2)
Viewed 2342 times since Sun, Jun 3, 2018
LVM: Reduce SWAP size by removing a Logical Volume
Viewed 2124 times since Sat, Jun 2, 2018
Linux 16 Useful Bandwidth Monitoring Tools to Analyze Network Usage in Linux
Viewed 15528 times since Mon, Sep 21, 2020
RHEL: Display swap/RAM size
Viewed 3390 times since Sat, Jun 2, 2018
How to disable SSH cipher/ MAC algorithms for Linux and Unix
Viewed 47158 times since Fri, Aug 21, 2020
Improve security with polyinstantiation
Viewed 13385 times since Fri, May 15, 2020
Linux - How to get CPU information
Viewed 2302 times since Fri, Jun 8, 2018
Extending Linux LVM partitions - scripts
Viewed 6613 times since Sun, May 20, 2018
stunnel basics and pki standards
Viewed 9544 times since Fri, Sep 28, 2018
Linux Add a Swap File – HowTo
Viewed 10229 times since Fri, Jun 8, 2018