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
RHCS6: Create a new Logical Volume / Global Filesystem 2 (GFS2)
Viewed 2399 times since Sun, Jun 3, 2018
zabbix linux How to solve apache error No space left on device: Cannot create SSLMutex
Viewed 2559 times since Wed, Nov 11, 2020
python learning
Viewed 2039 times since Wed, Dec 18, 2019
OEL 7 – How to disable IPv6 on Oracle Linux 7
Viewed 20676 times since Fri, Aug 3, 2018
RHEL: Multipathing basics
Viewed 9446 times since Sat, Jun 2, 2018
An easier way to manage disk decryption at boot with Red Hat Enterprise Linux 7.5 using NBDE
Viewed 7761 times since Mon, Aug 6, 2018
Extending Linux LVM partitions - scripts
Viewed 6748 times since Sun, May 20, 2018
How to create stunnel with systemd? stunnel
Viewed 10085 times since Thu, Jan 16, 2020
RHEL: Scan and configure new SAN (fibre channel) LUNs
Viewed 8278 times since Sun, May 27, 2018
Tunnel SSH Connections Over SSL Using ‘Stunnel’ On Debian 7 / Ubuntu 13.10
Viewed 3464 times since Fri, Sep 28, 2018