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
ubuntu How to Reset Forgotten Passwords in Ubuntu 16.04
Viewed 5069 times since Tue, Dec 8, 2020
Linux PAM configuration that allows or deny login via the sshd server
Viewed 2836 times since Wed, Oct 3, 2018
VMWare tools free
Viewed 10318 times since Mon, Jul 16, 2018
Linux Linux Network Statistics Tools / Commands
Viewed 10692 times since Mon, Sep 21, 2020
linux aix Killing a process and all of its descendants
Viewed 5466 times since Tue, May 5, 2020
Red Hat 8 How to Set Up Automatic Updates for CentOS 8
Viewed 5209 times since Fri, Sep 25, 2020
Secure NTP with NTS
Viewed 9929 times since Sun, Dec 6, 2020
LVM: Remove an existing Volume Group
Viewed 6439 times since Sat, Jun 2, 2018
Understanding System auditing with auditd
Viewed 12654 times since Fri, Apr 5, 2019
SSH ProxyCommand example: Going through one host to reach another server
Viewed 15489 times since Tue, Aug 6, 2019