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
Top 20 OpenSSH Server Best Security Practices ssh linux aix
Viewed 6067 times since Fri, May 15, 2020
logrotate Understanding logrotate utility
Viewed 1878 times since Sun, Jan 12, 2020
RHEL: Extending a multipath LUN
Viewed 5142 times since Sun, May 27, 2018
Fix rpmdb: Thread died in Berkeley DB library
Viewed 21192 times since Fri, Feb 14, 2020
20 IPtables Examples For New SysAdmins
Viewed 2269 times since Fri, May 15, 2020
OpenSSL – sprawdzanie czy klucz pasuje do certyfikatu
Viewed 2765 times since Thu, May 24, 2018
RHEL: iSCSI target/initiator configuration on RHEL6
Viewed 8897 times since Sat, Jun 2, 2018
7 Tips – Tuning Command Line History in Bash
Viewed 5516 times since Fri, Jul 5, 2019
RHEL: Force system to prompt for password in Single User mode
Viewed 7476 times since Sat, Jun 2, 2018
RHEL: Services basic management - chkconfig
Viewed 5749 times since Sat, Jun 2, 2018