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: Quorum disk and heuristics
Viewed 4556 times since Sun, Jun 3, 2018
Exclude multiple files and directories with rsync
Viewed 2725 times since Wed, Oct 31, 2018
How to Register and Enable Red Hat Subscription, Repositories and Updates for RHEL 7.0 Server
Viewed 13333 times since Mon, Oct 29, 2018
SPRAWDZONA KONFIGURACJA RSYSLOG I LOGROTATE, JAKO ZEWNĘTRZNEGO SERWERA SYSLOG
Viewed 4002 times since Fri, Nov 30, 2018
Open SSL Creating Certificate Signing Request — CSR Generation
Viewed 2049 times since Mon, Feb 18, 2019
Tilix: Advanced Tiling Terminal Emulator for Power Users
Viewed 6754 times since Thu, Apr 18, 2019
Get UUID of Hard Disks [Update]
Viewed 2377 times since Tue, Jul 17, 2018
12 Linux Rsync Options in Linux Explained
Viewed 12235 times since Wed, Oct 31, 2018
RHCS6: Clustered LVM
Viewed 2434 times since Sun, Jun 3, 2018
How To Use Systemctl to Manage Systemd Services and Units
Viewed 7713 times since Mon, Dec 7, 2020