Platform Notes: Ultra 450 Workstation and Ultra Enterprise 450 Server

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:


    % ls -l /dev/rdsk | grep /pci@1f,4000/scsi@3/sd@3
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s0 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:a,raw
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s1 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:b,raw
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s2 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:c,raw
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s3 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:d,raw
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s4 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:e,raw
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s5 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:f,raw
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s6 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:g,raw
    lrwxrwxrwx   1 root     root         45 Jan 30 09:07 c0t3d0s7 -> ../../devices/pci@1f,4000/scsi@3/sd@3,0:h,raw

    The resulting output indicates the associated UNIX logical device name. In this example, the logical device name is c0t3d0.