Mapping Between Logical and Physical Device Names on a Sun E450
If you need to find the slot that a disk is in from a given logical name (c3t3d0) you can follow this document from sun. I’ve mirrored the important bits below incase it disapears
Determine the UNIX physical device name from the SCSI error message.
SCSI error messages are typically displayed in the system console
and logged in the /usr/adm/messages file.WARNING: /pci@6,4000/scsi@4,1/sd@3,0 (sd228) Error for Command: read(10) Error level: Retryable Requested Block: 3991014 Error Block: 3991269 Vendor: FUJITSU Serial Number: 9606005441 Sense Key: Media Error ASC: 0x11 (unrecovered read error), ASCQ: 0x0, FRU: 0x0In the example SCSI error message above, the UNIX physical device name is /pci@6,4000/scsi@4,1/sd@3.
Determine the UNIX logical device name by listing the contents of
the /dev/rdsk directory.Use the grep command to filter the output for any occurrence of
the UNIX physical device name determined in Step 1:% ls -l /dev/rdsk | grep /pci@6,4000/scsi@4,1/sd@3 lrwxrwxrwx 1 root root 45 Jan 30 09:07 c12t3d0s0 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:a,raw lrwxrwxrwx 1 root root 45 Jan 30 09:07 c12t3d0s1 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:b,raw lrwxrwxrwx 1 root root 45 Jan 30 09:07 c12t3d0s2 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:c,raw lrwxrwxrwx1 root root 45 Jan 30 09:07 c12t3d0s3 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:d,raw lrwxrwxrwx 1 root root 45 Jan 30 09:07 c12t3d0s4 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:e,raw lrwxrwxrwx 1 root root 45 Jan 30 09:07 c12t3d0s5 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:f,raw lrwxrwxrwx 1 root root 45 Jan 30 09:07 c12t3d0s6 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:g,raw lrwxrwxrwx 1 root root 45 Jan 30 09:07 c12t3d0s7 -> ../../devices/pci@6,4000/scsi@4,1/sd@3,0:h,rawThe resulting output indicates the associated UNIX logical device name.
In this example, the logical device name is c12t3d0Determine the disk slot number using the prtconf command.
Substitute the string disk@ for sd@ in the physical device name determined in Step 1. The result in this example is
/pci@6,4000/scsi@4,1/disk@3.Use the grep command to find this name in the output of the
prtconf command:% prtconf -vp | grep /pci@6,4000/scsi@4,1/disk@3 slot#11: '/pci@6,4000/scsi@4,1/disk@3'
