I have the following boot-device
:
/pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w32a6b2f6484021d2,0:a
And I would like to understand the syntax. What I know is:
/pci@400/pci@1/pci@0/pci@4/scsi@0
: This is the name of the controller shown byprobe-scsi-all
./disk
: It is obvious.@w3
: I do not know.2a6b2f6484021d2
is the WWID of the RAID volume as shown byshow-volumes
without the leading zero.,0:a
: I guess this is the partition.
What is @w3
and how to get it from the OBP?
Best Answer
The disk id breakdown is actually slightly wrong:
/disk
is obvious@
separates the device address (.../disk
from the device identifier)w
for this disk device type indicates the device identifier is a WWN32a6b2f6484021d2
is the full WWN of the disk device,0
is the LUN number.:a
is the partition.The full WWN is
32...
- however, if this is different than whatshow-volumes
is showing you, then I assume this is one path of a multi-path connection to the disk (for example, a storage array with multiple fibre connections to the same SAN could present the same disk with different WWNs on each storage array SAN connection). Theshow-volumes
output shows the volume WWN, as opposed to the WWN of the path to get to that volume.Followup:
From the Oracle documentation, it appears that this WWN value appears in the output from
probe-scsi-all
. Their example is:Notice the
VolumeDeviceName 33b2999bca4dc677 VolumeWWID 03b2999bca4dc677
inTarget 389
.389
is the same target number as inshow-volumes
VolumeWWID
is the same WWID as inshow-volumes
VolumeDeviceName
is the WWN that you need to use to reference the volume.