Planeje a substituição de unidade RAID-1 danificada no freebsd 9.0

1

eu tenho o System FreeBSD 9.0 com configuração de RAID

# mfiutil show config
mfi0 Configuration: 2 arrays, 2 volumes, 0 spares
    array 0 of 2 drives:
        drive  4 (  558G) ONLINE <SEAGATE ST3600057SS 0008 serial=6SL3ZTFP> SAS
        drive  5 (  558G) ONLINE <SEAGATE ST3600057SS 0008 serial=6SL3YNB7> SAS
    array 1 of 2 drives:
        drive  6 (  558G) ONLINE <SEAGATE ST3600057SS 0008 serial=6SL3YNK3> SAS
        drive  7 (  558G) ONLINE <SEAGATE ST3600057SS 0008 serial=6SL3YQNJ> SAS
    volume mfid0 (557G) RAID-1 64k OPTIMAL spans:
            array 0
    volume mfid1 (1115G) RAID-0 64k OPTIMAL spans:
            array 1

Por último, vejo muitos registros de advertência para o drive PD 05 (parte do raid-1)

89584 (Fri Apr 27 20:33:16 ALMT 2018/DRIVE/WARN) - Predictive failure: PD 05(e0xfc/s1)
89906 (Sat Apr 28 20:33:16 ALMT 2018/DRIVE/WARN) - Predictive failure: PD 05(e0xfc/s1)
89907 (Sun Apr 29 20:33:16 ALMT 2018/DRIVE/WARN) - Predictive failure: PD 05(e0xfc/s1)
89908 (Mon Apr 30 20:33:16 ALMT 2018/DRIVE/WARN) - Predictive failure: PD 05(e0xfc/s1)
89909 (Tue May  1 20:33:16 ALMT 2018/DRIVE/WARN) - Predictive failure: PD 05(e0xfc/s1)

O sistema instalado no raid-1

# df -h
Filesystem      Size    Used   Avail Capacity  Mounted on
/dev/mfid0p2    544G    381G    119G    76%    /
devfs           1.0k    1.0k      0B   100%    /dev
/dev/mfid1s2    972G    408G    486G    46%    /home2
/dev/md2         31M     56k     28M     0%    /tmp/mem

Agora eu compro a nova unidade ST3600057SS e tenho plano para substituir a unidade quente

1) mfiutil fail 5
2) mfiutil locate 5 on
3) replace drive
4) mfiutil rebuild 5
5) mfiutil start rebuild 5

Não tenho certeza, alguém pode me dizer, todos os passos do meu plano estão corretos?

Obrigado pela atenção!

    
por Nikola 10.05.2018 / 06:22

1 resposta

1

Operação para substituição do inversor sem problemas! depois de substituir a unidade raid-1 vai reconstruir e foi feito ~ 1 hora

mfi0: 90563 (579439206s/0x0002/info) - State change on PD 05(e0xfc/s1) from ONLINE(18) to FAILED(11)
mfi0: 90564 (579439206s/0x0001/info) - State change on VD 00/0 from OPTIMAL(3) to DEGRADED(2)
mfi0: 90565 (579439206s/0x0001/CRIT) - VD 00/0 is now DEGRADED
mfi0: 90566 (579439279s/0x0002/WARN) - Removed: PD 05(e0xfc/s1)
mfi0: 90567 (579439279s/0x0002/info) - Removed: PD 05(e0xfc/s1) Info: enclPd=fc, scsiType=0, portMap=01, sasAddr=5000c5004cd40ca5,0000000000000000
mfi0: 90568 (579439279s/0x0002/info) - State change on PD 05(e0xfc/s1) from FAILED(11) to UNCONFIGURED_BAD(1)
mfi0: 90569 (579439450s/0x0002/info) - Inserted: PD 08(e0xfc/s1)
mfi0: 90570 (579439450s/0x0002/info) - Inserted: PD 08(e0xfc/s1) Info: enclPd=fc, scsiType=0, portMap=01, sasAddr=5000c50088a32c3d,0000000000000000
mfi0: 90571 (579439450s/0x0002/info) - State change on PD 08(e0xfc/s1) from UNCONFIGURED_GOOD(0) to OFFLINE(10)
mfi0: 90572 (579439450s/0x0002/info) - Rebuild automatically started on PD 08(e0xfc/s1)
mfi0: 90573 (579439450s/0x0002/info) - State change on PD 08(e0xfc/s1) from OFFLINE(10) to REBUILD(14)


mfi0 Configuration: 2 arrays, 2 volumes, 0 spares
    array 0 of 2 drives:
        drive  4 (  559G) ONLINE <SEAGATE ST3600057SS 0008 serial=6SL3ZTFP> SAS
        drive  8 (  559G) REBUILD <SEAGATE ST3600057SS 000B serial=6SLA5GTM> SAS
    array 1 of 2 drives:
        drive  6 (  559G) ONLINE <SEAGATE ST3600057SS 0008 serial=6SL3YNK3> SAS
        drive  7 (  559G) ONLINE <SEAGATE ST3600057SS 0008 serial=6SL3YQNJ> SAS
    volume mfid0 (558G) RAID-1 64K DEGRADED spans:
        array 0
    volume mfid1 (1116G) RAID-0 64K OPTIMAL spans:
        array 1

Obrigado!

    
por 12.05.2018 / 13:21

Tags