SUMMARY: Translating disk

From: Matt Krause (krausem@gmail.com)
Date: Fri Feb 02 2007 - 12:33:04 EST


I figured out which disk isn't show up. It's kind of a backwards way
of doing it, but along with Veritas Enterprise Administrator and the
following commands, I found out it is the disk in slot 1 that isn't
showing up.

bash-2.05# prtconf -vp |grep /pci@1f,4000/scsi@3
        bootpath: '/pci@1f,4000/scsi@3/disk@0,0:a'
        boot-device: 'disk:a disk2:a /pci@1f,4000/scsi@3/disk@1,0'
        vx-rootdg01: '/pci@1f,4000/scsi@3/disk@2,0:a'
        disk: '/pci@1f,4000/scsi@3/disk@0,0'
        disk0: '/pci@1f,4000/scsi@3/disk@0,0'
        disk1: '/pci@1f,4000/scsi@3/disk@1,0'
        disk2: '/pci@1f,4000/scsi@3/disk@2,0'
        disk3: '/pci@1f,4000/scsi@3/disk@3,0'
        scsi: '/pci@1f,4000/scsi@3'
            slot#3: '/pci@1f,4000/scsi@3/disk@3'
            slot#2: '/pci@1f,4000/scsi@3/disk@2'
            slot#1: '/pci@1f,4000/scsi@3/disk@1'
            slot#0: '/pci@1f,4000/scsi@3/disk@0'
bash-2.05# ls -al /dev/rdsk | grep /pci@1f,4000/scsi@3/sd@3
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s0 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:a,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s1 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:b,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s2 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:c,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s3 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:d,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s4 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:e,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s5 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:f,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s6 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:g,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t3d0s7 ->
../../devices/pci@1f,4000/scsi@3/sd@3,0:h,raw
bash-2.05# ls -al /dev/rdsk | grep /pci@1f,4000/scsi@3/sd@2
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s0 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:a,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s1 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:b,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s2 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:c,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s3 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:d,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s4 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:e,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s5 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:f,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s6 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:g,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t2d0s7 ->
../../devices/pci@1f,4000/scsi@3/sd@2,0:h,raw
bash-2.05# ls -al /dev/rdsk | grep /pci@1f,4000/scsi@3/sd@1
bash-2.05# ls -al /dev/rdsk | grep /pci@1f,4000/scsi@3/sd@0
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s0 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:a,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s1 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:b,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s2 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:c,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s3 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:d,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s4 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:e,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s5 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:f,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s6 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:g,raw
lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s7 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:h,raw
bash-2.05# ls -al /dev/rdsk | grep /pci@1f,4000/scsi@3/sd@1
bash-2.05#

On 2/2/07, Matt Krause <krausem@gmail.com> wrote:
> Hi all,
>
> I found the following PDF telling how to map hard disk devices and
> logical names to slot numbers on my Enterprise 450. However, I can
> only get it to work on the first controller. Am I doing something
> wrong?
>
> The following is output from a disk on controller 0 and is followed by
> blank output from the printconf command on a disk from controller 2.
>
> bash-2.05# ls -l /dev/rdsk | grep /pci@1f,4000/scsi@3/sd@0,0
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s0 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:a,raw
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s1 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:b,raw
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s2 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:c,raw
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s3 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:d,raw
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s4 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:e,raw
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s5 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:f,raw
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s6 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:g,raw
> lrwxrwxrwx 1 root root 45 Jan 31 10:55 c0t0d0s7 ->
> ../../devices/pci@1f,4000/scsi@3/sd@0,0:h,raw
>
> bash-2.05# 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'
>
> bash-2.05# ls -l /dev/rdsk | grep /pci@6,4000/scsi@3/sd@0,0
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s0 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:a,raw
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s1 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:b,raw
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s2 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:c,raw
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s3 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:d,raw
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s4 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:e,raw
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s5 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:f,raw
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s6 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:g,raw
> lrwxrwxrwx 1 root root 44 Jan 31 10:55 c2t0d0s7 ->
> ../../devices/pci@6,4000/scsi@3/sd@0,0:h,raw
>
> bash-2.05# prtconf -vp |grep /pci@6,4000/scsi@3/disk@0
> bash-2.05#
>
>
> What am I missing? I tried the same process for disk on controller 3
> and that doesn't work either.
>
> Thanks,
> --
> Matt Krause
> krausem@gmail.com
>

-- 
Matt Krause
krausem@gmail.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:35 EDT