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@1f,4000/scsi@3/disk@0
.
Use the
grep
command to find this name in the output of the
prtconf
command:
% prtconf -vp | grep /pci@1f,4000/scsi@3/disk@0
bootpath:
"/pci@1f,4000/scsi@3/disk@0,0:a"
disk:
"/pci@1f,4000/scsi@3/disk@0,0"
disk0:
"/pci@1f,4000/scsi@3/disk@0,0"
slot#0:
"/pci@1f,4000/scsi@3/disk@0"
The resulting output indicates the corresponding disk slot number. In this
example, the disk slot number is 0.
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 Disk Slot Number to
UNIX Logical Name
This section describes how to translate from a known disk slot number
(0 through 19) to a UNIX logical device name such as
c2t3d0
.
The example in this procedure assumes a known disk slot number of 3.
1. Determine the UNIX physical device name using the
prtconf
command.
Use the
grep
command to filter the
prtconf
output for any occurrence of the
disk slot number:
% prtconf -vp | grep slot#3
slot#3:
"/pci@1f,4000/scsi@3/disk@3"
slot#3:
"/pci@1f,4000/ebus@1/i2c@14,600000/bits@40/wo@3"
In this example, the physical name associated with disk slot number 3 is
/pci@1f,4000/scsi@3/disk@3
. To translate this to a UNIX physical device
name, substitute
sd@
for
disk@
. The resulting UNIX physical device name is
/pci@1f,4000/scsi@3/sd@3
.
2. 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 on page 34:
36
♦
September 1998, Revision A
Summary of Contents for Sun Ultra 450
Page 8: ...viii September 1998 Revision A...
Page 12: ...4 September 1998 Revision A...