Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:smartarray [2006/05/22 00:07] a |
linux:smartarray [2009/05/25 00:35] (current) |
||
---|---|---|---|
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 " | ||
+ | | ||
+ | |