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 Cluster Tutorial
Viewed 840 times since Sat, Sep 29, 2018
RHEL: Crash kernel dumps configuration and analysis on RHEL 7
Viewed 5678 times since Sat, Jun 2, 2018
RHCS6: Quorum disk and heuristics
Viewed 2382 times since Sun, Jun 3, 2018
How To Use the Linux Auditing System on CentOS 7
Viewed 1861 times since Fri, Apr 5, 2019
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 17105 times since Thu, Jun 21, 2018
How To Find Largest Top 10 Files and Directories On Linux / UNIX / BSD find
Viewed 1097 times since Mon, Oct 29, 2018
12 Tcpdump Commands – A Network Sniffer Tool
Viewed 7394 times since Fri, Jul 27, 2018
HP-UX - Stunnel Configuration
Viewed 1069 times since Fri, Sep 28, 2018
linux-training.be gives you books for free to study Linux
Viewed 3892 times since Sat, Jun 2, 2018
10 Linux rsync Examples to Exclude Files/Directories
Viewed 9524 times since Wed, Oct 31, 2018