Changes between Version 3 and Version 5 of Ticket #236


Ignore:
Timestamp:
Jun 12, 2013 10:05:05 AM (8 years ago)
Author:
fernando
Comment:

En este caso utilizo los números de serie que hay en https://www.meteo.unican.es/trac/meteo/wiki/Jbods

o bien directamente con el dispositivo "LETRAS en minúscula" /device/SCSI_vhci/disk@g.........

y mirando el "attached-port" value='w5003048001155a7f'

prtconf -Dcv /devices/scsi_vhci/disk@g5000cca369c509d4

root@seal:~/LSIUTIL/sg3_utils-1.34/src# prtconf -v|grep -B6 -A310 F30B2LHE|more
        disk, instance #175
            System software properties:
                name='ddi-devid-registrant' type=int items=1
                    value=00000001
            Driver properties:
                name='inquiry-serial-no' type=string items=1 dev=none
                    value='MN3220F30B2LHE'
                name='pm-components' type=string items=3 dev=none
                    value='NAME=spindle-motor' + '0=off' + '1=on'
                name='pm-hardware-state' type=string items=1 dev=none
                    value='needs-suspend-resume'
                name='ddi-failfast-supported' type=boolean dev=none
                name='ddi-kernel-ioctl' type=boolean dev=none
                name='fm-ereport-capable' type=boolean dev=none
                name='device-nblocks' type=int64 items=1 dev=none
                    value=00000000e8e088b0
                name='device-blksize' type=int items=1 dev=none
                    value=00000200
            Hardware properties:
                name='devid' type=string items=1
                    value='id1,sd@n5000cca369c509d4'
                name='class' type=string items=1
                    value='scsi'
                name='inquiry-revision-id' type=string items=1
                    value='A580'
                name='inquiry-product-id' type=string items=1
                    value='Hitachi HDS72302'
                name='inquiry-vendor-id' type=string items=1
                    value='ATA'
                name='inquiry-device-type' type=int items=1
                    value=00000000
                name='pm-capable' type=int items=1
                    value=00000001
                name='compatible' type=string items=4
                    value='scsiclass,00.vATA.pHitachi_HDS72302.rA580' + 'scsiclass,00.vATA.pHitachi_HDS72302' + 'sc
siclass,00' + 'scsiclass'
                name='client-guid' type=string items=1
                    value='5000cca369c509d4'
            Paths from multipath bus adapters:
                Path 136: /pci@7a,0/pci8086,340e@7/pci1000,3080@0/iport@f0/disk@w5000cca369c509d4,0
                mpt_sas#4 (offline)
                        name='wwn' type=string items=1
                            value='5000cca369c509d4'
                        name='lun' type=int items=1
                            value=00000000
                        name='lun64' type=int64 items=1
                            value=0000000000000000
                        name='target-port' type=string items=1
                            value='w5000cca369c509d4'
                        name='attached-port' type=string items=1
                            value='w5003048001155a7f'
                        name='obp-path' type=string items=1
                            value='/pci@7a,0/pci8086,340e@7/pci1000,3080@0/disk@w5000cca369c509d4,0'
                        name='phy-num' type=int items=1
                            value=0000000c
                        name='path-class' type=string items=1
                            value='primary'
            Device Minor Nodes:
                dev=(269,11200)
                    dev_path=/scsi_vhci/disk@g5000cca369c509d4:a
                        spectype=blk type=minor
                        dev_link=/dev/dsk/c2t5000CCA369C509D4d0s0
                    dev_path=/scsi_vhci/disk@g5000cca369c509d4:a,raw
                        spectype=chr type=minor
                        dev_link=/dev/rdsk/c2t5000CCA369C509D4d0s0
                    Device Minor Layered Under:
                        mod=zfs accesstype=blk
                            dev_path=/pseudo/zfs@0

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #236 – Description

    v3 v5  
    3232
    3333}}}
     34
     35Señalizar y deseñalizar:
     36
     37{{{
     38root@seal:~/LSIUTIL/sg3_utils-1.34/src# sg_ses -I 0,0 --set=fault /dev/es/ses2
     39root@seal:~/LSIUTIL/sg3_utils-1.34/src# sg_ses -I 0,0 --clear=fault /dev/es/ses2
     40
     41}}}
     42
     43Reemplazo:
     44
     45{{{
     46log al meter el nuevo disco:
     47Jun 11 16:50:27 seal genunix: [ID 483743 kern.info] /scsi_vhci/disk@g5000cca369c508e5 (sd63) multipath status: degraded: path 7 mpt_sas4/disk@w5000cca369c508e5,0 is online
     48
     49zpool replace depot c2t5000CCA369C509D4d0 c2t5000CCA369C508E5d0
     50sudo zpool detach depot c2t5000CCA369C509D4d0
     51
     52
     53}}}