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
stunnel: Authentication
Viewed 9917 times since Fri, Sep 28, 2018
socat: Linux / UNIX TCP Port Forwarder
Viewed 11004 times since Tue, Aug 6, 2019
RHEL: XFS basic operations
Viewed 17942 times since Sat, Jun 2, 2018
LVM: Move allocated PE between Physical Volumes
Viewed 4975 times since Sat, Jun 2, 2018
Top 20 OpenSSH Server Best Security Practices ssh linux aix
Viewed 7164 times since Fri, May 15, 2020
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 147098 times since Thu, Jun 21, 2018
How To Find Largest Top 10 Files and Directories On Linux / UNIX / BSD find
Viewed 4900 times since Mon, Oct 29, 2018
LVM: Reduce root PV/VG
Viewed 6162 times since Sat, Jun 2, 2018
Automatic YUM Updates with Yum-cron
Viewed 11497 times since Fri, Oct 26, 2018
How To: Create Self-Signed Certificate – OpenSSL
Viewed 3836 times since Mon, Feb 18, 2019