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
Telnet – Send GET/HEAD HTTP Request
Viewed 4230 times since Mon, Feb 18, 2019
10 Linux nslookup Command Examples for DNS Lookup
Viewed 10854 times since Sun, Sep 30, 2018
How To Find Largest Top 10 Files and Directories On Linux / UNIX / BSD find
Viewed 4451 times since Mon, Oct 29, 2018
RHEL: Reinstalling Boot Loader on the Master Boot Record (MBR)
Viewed 4149 times since Sun, May 27, 2018
SSH ProxyCommand example: Going through one host to reach another server
Viewed 14544 times since Tue, Aug 6, 2019
chrt command: Set / Manipulate Real Time Attributes of a Linux Process
Viewed 11875 times since Mon, Feb 17, 2020
Linux - How to perform I/O performance test with dd command
Viewed 6720 times since Fri, Jun 8, 2018
CentOS / RHEL : How to move a Volume Group from one system to another
Viewed 4432 times since Mon, Jan 28, 2019
How to deal with dmesg timestamps
Viewed 4266 times since Wed, Oct 3, 2018
Check a Website Availability from the Linux Command Line
Viewed 7359 times since Mon, Feb 18, 2019