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
CentOS / RHEL 7 : Configuring an NFS server and NFS client Linux NFS
Viewed 18196 times since Fri, Feb 21, 2020
Linux Chage Command to Set Password Aging for User
Viewed 3404 times since Tue, Sep 11, 2018
Split and Reassemble files
Viewed 4263 times since Mon, May 28, 2018
linux-training.be gives you books for free to study Linux
Viewed 5635 times since Sat, Jun 2, 2018
Linux / UNIX: Run Command a Number of Times In a Row
Viewed 16638 times since Tue, Aug 6, 2019
Sample logrotate configuration and troubleshooting part 2
Viewed 10539 times since Fri, Nov 30, 2018
O’Reilly’s CD bookshelf
Viewed 15210 times since Wed, Jun 27, 2018
Red Hat Cluster Tutorial
Viewed 2771 times since Sun, Jun 3, 2018
Oracle Linux 7 – How to audit changes to a trusted file such as /etc/passwd or /etc/shadow
Viewed 3796 times since Wed, Jul 25, 2018
Turbocharge PuTTY with 12 Powerful Add-Ons – Software for Geeks #3
Viewed 15902 times since Sun, Sep 30, 2018