Frequent Question: How Do I Find My Scsi Id in Linux?
Contents on an iSCSI Target System, Type Ls -L /Dev/Disk/by-Id at the Command Line to See Any Attached iSCSI Disks Along with Their Wwid. This Works Equally...
Contents
On an iSCSI target system, type ls -l /dev/disk/by-id at the command line to see any attached iSCSI disks along with their WWID. This works equally well for locally attached SCSI drives.
What is SCSI ID number?
A SCSI ID is a unique identification/addressing for each device on the SCSI bus. Two devices on the same SCSI bus cannot share a SCSI ID number.
How do I find my SCSI ID in RHEL 7?
Resolution
- For RHEL7. To get the WWID of say, /dev/sda , run this command: # /lib/udev/scsi_id –whitelisted –replace-whitespace –device=/dev/sda.
- For RHEL6. To get the WWID of say, /dev/sda , run this command: …
- For RHEL5. #scsi_id -g -u -s /block/sdb 36000c2931a129f3c880b8d06ccea1b01.