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
Need to set up yum repository for locally-mounted DVD on Red Hat Enterprise Linux 7
Viewed 3117 times since Mon, Oct 29, 2018
Red Hat Cluster Tutorial
Viewed 2053 times since Sun, Jun 3, 2018
A Simple Guide to Oracle Cluster File System (OCFS2) using iSCSI on Oracle Cloud Infrastructure
Viewed 8353 times since Sat, Jun 2, 2018
linux aix Killing a process and all of its descendants
Viewed 3794 times since Tue, May 5, 2020
tcpdump
Viewed 9087 times since Fri, Jul 27, 2018
Linux Linux Network Statistics Tools / Commands
Viewed 9158 times since Mon, Sep 21, 2020
RHEL: Enabling standard ftp/telnet
Viewed 3458 times since Sun, May 27, 2018
RHCS6: Create a new Logical Volume / Global Filesystem 2 (GFS2)
Viewed 2263 times since Sun, Jun 3, 2018
Manage Linux Password Expiration and Aging Using chage
Viewed 4619 times since Tue, Sep 11, 2018
Method 2 – Use shell scripts How to install yum cron on a CentOS/RHEL 6.x/7.x
Viewed 4137 times since Tue, Dec 4, 2018