Discussion:
[rlug] Rebuild RAID HP cu hpacucli
Adrian Popa
2018-08-17 08:18:13 UTC
Permalink
Salut,
Am un server vechi HP cu un RAID5 cu un disk defect. L-am schimbat fizic cu
unul nou, dar array-ul nu vrea să se refacă. Am instalat hpacucli și pot să
văd starea array-ului și a discurilor:

[***@Tassadar adrianp]# hpacucli
HP Array Configuration Utility CLI 9.20.9.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> ctrl slot=0 logicaldrive all show status

logicaldrive 1 (136.7 GB, RAID 1): OK
logicaldrive 2 (1.4 TB, RAID 5): Interim Recovery Mode
=> controller slot=0 show config

Smart Array P410i in Slot 0 (Embedded) (sn: 500143800891C3B0)

array A (SAS, Unused Space: 0 MB)


logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

array B (SAS, Unused Space: 0 MB)


logicaldrive 2 (1.4 TB, RAID 5, Interim Recovery Mode)

physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, Predictive
Failure)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, Failed)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)

SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 500143800891C3BF)

Am încercat să scot discul 1:5, dar nu mă lasă:
=> controller slot=0 array B remove drives=1:5

Error: This operation is not supported with the current configuration. Use
the
"show" command on devices to show additional details about the
configuration.
Reason: Array is transforming

Aveți o sugestie ce ar trebui să-l fac să recitească discul din 1:5 și să
facă rebuild?

Mulțumesc.
Adrian Minta
2018-08-17 08:49:34 UTC
Permalink
Post by Adrian Popa
Salut,
Am un server vechi HP cu un RAID5 cu un disk defect. L-am schimbat fizic cu
unul nou, dar array-ul nu vrea să se refacă. Am instalat hpacucli și pot să
logicaldrive 2 (1.4 TB, RAID 5, Interim Recovery Mode)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, Predictive
Failure)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, Failed)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 500143800891C3BF)
=> controller slot=0 array B remove drives=1:5
Error: This operation is not supported with the current configuration. Use
the
"show" command on devices to show additional details about the
configuration.
Reason: Array is transforming
Aveți o sugestie ce ar trebui să-l fac să recitească discul din 1:5 și să
facă rebuild?
Salut,
pune un disc nou pe pozitia respectiva si lasa-l sa-si faca rebuild.
Probabil ca discul pus de tine e tot defect. Se mai intampla cu
discurile astea SAS de 300GB care sunt cam EOL.
Daca nici pe cel nou nu-l vede e posibil sa ai un defect fizic la server.

Controller-ul de la HP e destul de bine facut si nu trebuie sa-i dai
comenzi cu hpacucli ca sa-si faca treaba.

Dupa ce termina de reconstruit matricea trebuie sa inlocuiesti si discul
3 pentru ca trage si el sa moara.
--
Best regards,
Adrian Minta
Alex 'CAVE' Cernat
2018-08-17 09:30:43 UTC
Permalink
Post by Adrian Popa
logicaldrive 2 (1.4 TB, RAID 5, Interim Recovery Mode)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, Predictive
Failure)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, Failed)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)
ai mare grija ca si discul din portul 3 e pe moarte, oare de asta sa nu
porneasca rebuildul ? totusi e un non-sense
pana acum n-am avut probleme de genul asta cu niciun server hp, la
crapat de hard am bagat altul si s-a rebuild-uit fara probleme fara vreo
comanda data
nu poti sa fortezi rebuildul din consola ? n-am testat, dar sigur exista
vreun parametru pentru asta

Alex
Petru Rațiu
2018-08-17 10:08:05 UTC
Permalink
Post by Alex 'CAVE' Cernat
Post by Adrian Popa
logicaldrive 2 (1.4 TB, RAID 5, Interim Recovery Mode)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, Predictive
Failure)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, Failed)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)
ai mare grija ca si discul din portul 3 e pe moarte, oare de asta sa nu
porneasca rebuildul ? totusi e un non-sense
Eu mai avusesem probleme similare cu raiduri hw cu discuri busite si tin
minte ca a trebuit sa-i dau $ceva ca sa se prinda ca am schimbat discul si
sa-l reinitializeze; speram ca se gaseste cineva care stie mai bine
detaliile ca mine :)
--
P.
Adrian Minta
2018-08-17 15:44:49 UTC
Permalink
Post by Petru Rațiu
Eu mai avusesem probleme similare cu raiduri hw cu discuri busite si tin
minte ca a trebuit sa-i dau $ceva ca sa se prinda ca am schimbat discul si
sa-l reinitializeze; speram ca se gaseste cineva care stie mai bine
detaliile ca mine :)
Nu trebuie sa dai nici o comanda.
Pui HDD-ul nou si dupa 3 minute led-ul rosu devine verde si incepe sa-si
faca rebuild.
--
Best regards,
Adrian Minta
Adrian Popa
2018-08-21 07:35:57 UTC
Permalink
Am făcut o fereastră de mentenanță și am luat următoarele acțiuni:
1. Reboot server cu HDD scos - îl vedea ca failed 0M:
=> controller slot=0 show config

Smart Array P410i in Slot 0 (Embedded) (sn: 500143800891C3B0)

array A (SAS, Unused Space: 0 MB)


logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

array B (SAS, Unused Space: 0 MB)


logicaldrive 2 (1.4 TB, RAID 5, Interim Recovery Mode)

physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, Predictive
Failure)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 0 MB, Failed)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)

SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 500143800891C3BF)

=>
2. Inserat disc - nu vedea nimic la rescan așa că am mai dat un restart de
server, iar acum:
=> controller slot=0 show config

Smart Array P410i in Slot 0 (Embedded) (sn: 500143800891C3B0)

array A (SAS, Unused Space: 0 MB)


logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

array B (SAS, Unused Space: 0 MB)


logicaldrive 2 (1.4 TB, RAID 5, Recovering, 9% complete)

physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, Predictive
Failure)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, Rebuilding)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)

SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 500143800891C3BF)

Să sperăm că nu crapă celelalte acum :D
Mulțumesc de ajutor!
Post by Adrian Popa
Post by Alex 'CAVE' Cernat
Post by Adrian Popa
logicaldrive 2 (1.4 TB, RAID 5, Interim Recovery Mode)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB,
Predictive
Post by Alex 'CAVE' Cernat
Post by Adrian Popa
Failure)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, Failed)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)
ai mare grija ca si discul din portul 3 e pe moarte, oare de asta sa nu
porneasca rebuildul ? totusi e un non-sense
Eu mai avusesem probleme similare cu raiduri hw cu discuri busite si tin
minte ca a trebuit sa-i dau $ceva ca sa se prinda ca am schimbat discul si
sa-l reinitializeze; speram ca se gaseste cineva care stie mai bine
detaliile ca mine :)
--
P.
_______________________________________________
RLUG mailing list
http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro
Loading...