Procedimiento para cambiar un disco bajo SDS y RAID5

Page last edited hace 2059 días 13 horas
De Solaris-ES
Saltar a: navegación, buscar

Pasos a ejecutar[editar]

  • Poner en OFFLINE el disco desde el array
  • Cambiar el disco físicamente en el array
  • Poner en ONLINE el disco desde el array
  • Particionar el nuevo disco desde Solaris con el comando format.
Nota: El nuevo disco tiene que tener el mismo particionado que sus compañeros de RAID
  • Resincronizar el RAID
# metastat d32
d32: RAID
    State: Okay
    Hot spare pool: hsp001
    Interlace: 32 blocks
    Size: 742625336 blocks
Original device:
    Size: 742627200 blocks
        Device      Start Block  Dbase State        Hot Spare
        c3t55d0s0       5042     No    Okay
        c3t56d0s0       5042     No    Okay
        c3t57d0s0       5042     No    Okay
        c3t58d0s0       5042     No    Okay
        c1t64d0s0       5042     No    Okay
        c1t65d0s0       5042     No    Okay
        c1t66d0s0       5042     No    Okay
        c1t67d0s0       5042     No    Okay
        c1t68d0s0       5042     No    Okay
        c1t69d0s0       5042     No    Okay
        c1t70d0s0       5042     No    Okay
        c1t71d0s0       5042     No    Okay
        c1t72d0s0       5042     No    Okay
        c1t80d0s0       5042     No    Okay
        c1t81d0s0       5042     No    Okay
        c1t82d0s0       5042     No    Okay
        c1t83d0s0       5042     No    Okay
        c1t84d0s0       5042     No    Okay
        c1t85d0s0       5042     No    Okay
        c1t86d0s0       5042     No    Okay
        c1t87d0s0       5042     No    Okay
        c1t88d0s0       5042     No    Okay         c1t74d0s0
# metareplace -e d32 /dev/dsk/c1t88d0s0
d32: device c1t88d0s0 is replaced with c1t88d0s0
# metastat d32
d32: RAID
    State: Resyncing
    Resync in progress: 0% done
    Hot spare pool: hsp001
    Interlace: 32 blocks
    Size: 742625336 blocks
Original device:
    Size: 742627200 blocks
        Device      Start Block  Dbase State        Hot Spare
        c3t55d0s0       5042     No    Okay
        c3t56d0s0       5042     No    Okay
        c3t57d0s0       5042     No    Okay
        c3t58d0s0       5042     No    Okay
        c1t64d0s0       5042     No    Okay
        c1t65d0s0       5042     No    Okay
        c1t66d0s0       5042     No    Okay
        c1t67d0s0       5042     No    Okay
        c1t68d0s0       5042     No    Okay
        c1t69d0s0       5042     No    Okay
        c1t70d0s0       5042     No    Okay
        c1t71d0s0       5042     No    Okay
        c1t72d0s0       5042     No    Okay
        c1t80d0s0       5042     No    Okay
        c1t81d0s0       5042     No    Okay
        c1t82d0s0       5042     No    Okay
        c1t83d0s0       5042     No    Okay
        c1t84d0s0       5042     No    Okay
        c1t85d0s0       5042     No    Okay
        c1t86d0s0       5042     No    Okay
        c1t87d0s0       5042     No    Okay
        c1t88d0s0       5042     No    Resyncing    c1t74d0s0
  • Verificar el estado de la Sincronizacion
# metastat d32
d32: RAID
    State: Resyncing
    Resync in progress: 60% done
    Hot spare pool: hsp001
    Interlace: 32 blocks
    Size: 742625336 blocks
Original device:
    Size: 742627200 blocks
        Device      Start Block  Dbase State        Hot Spare
        c3t55d0s0       5042     No    Okay
        c3t56d0s0       5042     No    Okay
        c3t57d0s0       5042     No    Okay
        c3t58d0s0       5042     No    Okay
        c1t64d0s0       5042     No    Okay
        c1t65d0s0       5042     No    Okay
        c1t66d0s0       5042     No    Okay
        c1t67d0s0       5042     No    Okay
        c1t68d0s0       5042     No    Okay
        c1t69d0s0       5042     No    Okay
        c1t70d0s0       5042     No    Okay
        c1t71d0s0       5042     No    Okay
        c1t72d0s0       5042     No    Okay
        c1t80d0s0       5042     No    Okay
        c1t81d0s0       5042     No    Okay
        c1t82d0s0       5042     No    Okay
        c1t83d0s0       5042     No    Okay
        c1t84d0s0       5042     No    Okay
        c1t85d0s0       5042     No    Okay
        c1t86d0s0       5042     No    Okay
        c1t87d0s0       5042     No    Okay
        c1t88d0s0       5042     No    Resyncing    c1t74d0s0