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
Monitoring bezpieczeństwa Linux: integracja auditd + OSSEC cz. I
Viewed 3391 times since Fri, Apr 5, 2019
Linux File Systems (mkfs, mount, fstab) ext4
Viewed 4291 times since Sat, Jun 2, 2018
20 Linux YUM (Yellowdog Updater, Modified) Commands for Package Management YUM
Viewed 12307 times since Thu, Oct 25, 2018
ZFS: Remove an existing zfs filesystem
Viewed 2992 times since Sun, Jun 3, 2018
RHEL: Crash kernel dumps configuration and analysis on RHEL 6
Viewed 6433 times since Sat, Jun 2, 2018
LVM: Remove a Filesystem / Logical Volume
Viewed 3408 times since Sat, Jun 2, 2018
How to Install and use Lsyncd on CentOS 7 / RHEL 7 rsync
Viewed 5920 times since Wed, Oct 31, 2018
10 Linux DIG Command Examples for DNS Lookup
Viewed 12195 times since Sun, Sep 30, 2018
LVM: Remove an existing Volume Group
Viewed 6494 times since Sat, Jun 2, 2018
How To Ping Specific Port Number
Viewed 6782 times since Mon, Jun 1, 2020