On  7/11/10 04:27 AM, Dave Pooser wrote:
My setup: A SuperMicro 24-drive chassis with Intel dual-processor
motherboard, three LSI SAS3081E controllers, and 24 SATA 2TB hard drives,
divided into three pools with each pool a single eight-disk RAID-Z2. (Boot
is an SSD connected to motherboard SATA.)

This morning I got a cheerful email from my monitoring script: "Zchecker has
discovered a problem on bigdawg." The full output is below, but I have one
unavailable pool and two degraded pools, with all my problem disks connected
to controller c10. I have multiple spare controllers available.

First question-- is there an easy way to identify which controller is c10?

ls -alrt /dev/cfg/c10

will show you the physical path, which you can then follow


$ ls -lart /dev/cfg/c3
   1 lrwxrwxrwx   1 root     root          55 Nov 12  2009 /dev/cfg/c3 -> 
../../devices/p...@0,0/pci10de,3...@a/pci1000,3...@0:scsi


you can also make use of fmtopo -V:

# /usr/lib/fm/fmd/fmtopo -V

...

hc://:product-id=Sun-Ultra-40-M2-Workstation:server-id=blinder:chassis-id=0802FMY00N/motherboard=0/hos
tbridge=1/pciexrc=1/pciexbus=2/pciexdev=0/pciexfn=0
  group: protocol                       version: 1   stability: Private/Private
    resource          fmri      
hc://:product-id=Sun-Ultra-40-M2-Workstation:server-id=blinder:chassis
-id=0802FMY00N/motherboard=0/hostbridge=1/pciexrc=1/pciexbus=2/pciexdev=0/pciexfn=0
    label             string    PCIE0 Slot
    FRU               fmri      
hc://:product-id=Sun-Ultra-40-M2-Workstation:server-id=blinder:chassis
-id=0802FMY00N/motherboard=0/hostbridge=1/pciexrc=1/pciexbus=2/pciexdev=0
    ASRU              fmri      dev:////p...@0,0/pci10de,3...@a/pci1000,3...@0
  group: authority                      version: 1   stability: Private/Private
    product-id        string    Sun-Ultra-40-M2-Workstation
    chassis-id        string    0802FMY00N
    server-id         string    blinder
  group: io                             version: 1   stability: Private/Private
    dev               string    /p...@0,0/pci10de,3...@a/pci1000,3...@0
    driver            string    mpt
    module            fmri      mod:///mod-name=mpt/mod-id=57
  group: pci                            version: 1   stability: Private/Private
    device-id         string    58
    extended-capabilities string    pciexdev
    class-code        string    10000
    vendor-id         string    1000
    assigned-addresses uint32[]  [ 2164391952 0 16384 0 256 2197946388 0 
2686517248 0 16384 2197946396 0 2686451712 0 65536 ]


note the "label" and "FRU" properties in the protocol group.


McB


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to