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
Cron YUM How to use yum-cron to automatically update RHEL/CentOS Linux
Viewed 2227 times since Fri, Oct 26, 2018
Linux - How to shutdown or reboot
Viewed 1915 times since Fri, Jun 8, 2018
Installing and Configuring an OCFS2 Clustered File System
Viewed 5549 times since Sat, Jun 2, 2018
Linux 16 Useful Bandwidth Monitoring Tools to Analyze Network Usage in Linux
Viewed 11809 times since Mon, Sep 21, 2020
logrotate Log Rotate Configuration
Viewed 2977 times since Sun, Jan 12, 2020
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 115732 times since Thu, Jun 21, 2018
Jak wygenerować silne hasła jednorazowe w Linuksie?
Viewed 2098 times since Thu, May 24, 2018
A tcpdump Tutorial and Primer with Examples
Viewed 4686 times since Sun, Jun 17, 2018
SPRAWDZONA KONFIGURACJA RSYSLOG I LOGROTATE, JAKO ZEWNĘTRZNEGO SERWERA SYSLOG
Viewed 3510 times since Fri, Nov 30, 2018
CentOS / RHEL 7 : Configuring an NFS server and NFS client Linux NFS
Viewed 16030 times since Fri, Feb 21, 2020