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 3013 times since Sun, Jun 3, 2018
10 Linux nslookup Command Examples for DNS Lookup
Viewed 10960 times since Sun, Sep 30, 2018
python learning
Viewed 2505 times since Wed, Dec 18, 2019
Linux ssh Hide OpenSSH Version Banner
Viewed 56165 times since Wed, Apr 22, 2020
HOWTO: Use SSL/port 465 in smarthost stunnel
Viewed 4526 times since Fri, Sep 28, 2018
Linux: Disks diagnostic using smartctl
Viewed 15919 times since Wed, Jul 25, 2018
Red Hat 8 How to Set Up Automatic Updates for CentOS 8
Viewed 4721 times since Fri, Sep 25, 2020
RHEL: Crash kernel dumps configuration and analysis on RHEL 7
Viewed 8148 times since Sat, Jun 2, 2018
How to find your System details using inxi
Viewed 4207 times since Sat, Jun 2, 2018
How to manage Linux password expiry with the chage command
Viewed 11965 times since Tue, Sep 11, 2018