lrwxrwxrwx
1 root
root
45 Jan 30 09:07 c12t3d0s6 -> ../../devices/pci@6,4000/scsi@4,1/sd@3
lrwxrwxrwx
1 root
root
45 Jan 30 09:07 c12t3d0s7 -> ../../devices/pci@6,4000/scsi@4,1/sd@3
The resulting output indicates the associated UNIX logical device name. In this
example, the logical device name is
c12t3d0
.
3. Determine the disk slot number using the
prtconf
command.
Substitute the string
disk@
for
sd@
in the physical device name determined in
Step 1 on page 34. 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"
The resulting output indicates the corresponding disk slot number. In this
example, the disk slot number is 11.
If the output does not provide a slot number, the device is either a removable
media device (CD-ROM or tape drive) or an external device.
Mapping From UNIX Logical Name to
Disk Slot Number
This section describes how to translate from a known UNIX logical device name such
as
c0t0d0s0
to a disk slot number (0 through 19).
This example assumes a known UNIX logical device name of
c0t0d0s0
.
1. Determine the UNIX physical device name from the UNIX logical device name.
Use the
ls -l
command to display the link for the logical device name in the
/dev/dsk
directory:
% ls -l /dev/dsk/c0t0d0s0
lrwxrwxrwx
1 root
root
41 Jan 30 09:07 /dev/dsk/c0t0d0s0 -> ../../devices/pci@1f,4000/scsi@3/sd@0
The resulting output shows the UNIX physical device name associated with the
logical device name. In this case, the corresponding physical device name is
/pci@1f,4000/scsi@3/sd@0
.
2. Determine the disk slot number using the
prtconf
command.
Mapping Between Logical and Physical Device Names
35
Summary of Contents for Sun Ultra 450
Page 8: ...viii September 1998 Revision A...
Page 12: ...4 September 1998 Revision A...