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
Jak wygenerować silne hasła jednorazowe w Linuksie?
Viewed 3009 times since Thu, May 24, 2018
Yum Update: DB_RUNRECOVERY Fatal error, run database recovery
Viewed 5080 times since Fri, Jan 17, 2020
RHEL: Checking HBAs
Viewed 16461 times since Sun, May 27, 2018
www.unixarena.com
Viewed 3072 times since Fri, Jul 27, 2018
ZFS: Verify/change properties of a zfs filesystem
Viewed 3492 times since Sun, Jun 3, 2018
VMWare tools free
Viewed 10123 times since Mon, Jul 16, 2018
Using Official Redhat DVD as repository
Viewed 12240 times since Mon, Oct 29, 2018
A Simple Guide to Oracle Cluster File System (OCFS2) using iSCSI on Oracle Cloud Infrastructure
Viewed 9929 times since Sat, Jun 2, 2018
Linux - How to get CPU information
Viewed 2906 times since Fri, Jun 8, 2018
systemctl Use systemd to Start a Linux Service at Boot
Viewed 6805 times since Mon, Dec 7, 2020