Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
linux:smartarray [2006/05/21 22:32] a created |
linux:smartarray [2009/05/25 00:35] (current) |
||
|---|---|---|---|
| Line 16: | Line 16: | ||
| dpkg -i hpacucli_7.20-17_i386.deb | dpkg -i hpacucli_7.20-17_i386.deb | ||
| - | ===== hpacucli usage ===== | + | ===== hpacucli usage (example)===== |
| => controller all show status | => controller all show status | ||
| Line 35: | Line 35: | ||
| logicaldrive 1 (273 GB, RAID 5): Ok | logicaldrive 1 (273 GB, RAID 5): Ok | ||
| | | ||
| - | | + | ==== HP Servers: hwraidinfo and hwraidstatus in Linux ==== |
| + | |||
| + | | ||
| + | | ||
| + | grep Slot | sed -e ' | ||
| + | for i in $SLOTLIST | ||
| + | do | ||
| + | echo | ||
| + | hpacucli ctrl slot=$i show | grep -v " | ||
| + | echo | ||
| + | hpacucli ctrl slot=$i ld all show | grep -v " | ||
| + | hpacucli ctrl slot=$i pd all show | grep -v " | ||
| + | | ||
| + | | ||
| + | |||
| + | And here is the script equivalent of hwraidstatus: | ||
| + | |||
| + | # | ||
| + | | ||
| + | grep Slot | sed -e ' | ||
| + | for i in $SLOTLIST | ||
| + | do | ||
| + | echo | ||
| + | hpacucli ctrl slot=$i show status | grep -v " | ||
| + | echo | ||
| + | hpacucli ctrl slot=$i ld all show status | grep -v " | ||
| + | hpacucli ctrl slot=$i pd all show status | grep -v " | ||
| + | | ||
| + | | ||

