White Papers

Volume management
20 Dell EMC SC Series: Red Hat Enterprise Linux Best Practices | CML1031
SC Series Volume Serial Number and Device ID fields
3.2.3 Querying WWNs using scsi_id command
The scsi_id command (located in the /lib/udev folder) can be used to report the WWID of volumes. This
WWID can then be used to correlate volumes to their respective SC Series storage devices.
# /lib/udev/scsi_id --page=0x83 --whitelisted --device=<dev_device> # RHEL 6
# and newer
# /lib/udev/scsi_id g u s <block_device> # For older RHEL
<dev_device> can be one of the following:
Single path device (/dev/sdX)
Linux multipath device (/dev/mapper/mpathX)
Dell EMC PowerPath device (/dev/emcpowerX)
<block_device> is for /block/sdX devices.
The string returned by the scsi_id command indicates the WWN of the SC Series volume as shown below.
36000d3100000650000000000000017f2
To query many volumes for their WWIDs, see a sample script that applies the scsi_id command on all the
volumes in section 5.3.