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
Red Hat ADDING SWAP SPACE
Viewed 811 times since Fri, Jun 8, 2018
RHEL: Enabling standard ftp/telnet
Viewed 1390 times since Sun, May 27, 2018
RHEL: Getting/Setting hardware clock’s time
Viewed 1308 times since Sat, Jun 2, 2018
OEL 7 – How to disable IPv6 on Oracle Linux 7 – Follow Up
Viewed 1182 times since Wed, Jul 25, 2018
ZFS: Grow/Shrink an existing zfs filesystem
Viewed 1500 times since Sun, Jun 3, 2018
Używanie rsync poprzez Secure Shell
Viewed 37514 times since Thu, May 24, 2018
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 5853 times since Thu, Jun 21, 2018
Top 20 OpenSSH Server Best Security Practices - good article
Viewed 900 times since Mon, Oct 1, 2018
RHEL: iSCSI target/initiator configuration on RHEL6
Viewed 1548 times since Sat, Jun 2, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 11458 times since Thu, Jun 21, 2018