Differences
This shows you the differences between two versions of the page.
linux:smartarray [2008/09/03 18:43] a |
linux:smartarray [2009/05/25 00:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== HP Smartarray under Debian ====== | ||
- | |||
- | Debian GNU/Linux (kernel 2.6.x) + Smartarray 64xx (cciss0: HP Smart Array 6i Controller) | ||
- | |||
- | [[http:// | ||
- | |||
- | |||
- | ===== hpacucli instalation ===== | ||
- | |||
- | | ||
- | |||
- | wget ftp:// | ||
- | |||
- | alien hpacucli-7.20-16.linux.rpm | ||
- | hpacucli_7.20-17_i386.deb generated | ||
- | dpkg -i hpacucli_7.20-17_i386.deb | ||
- | |||
- | ===== hpacucli usage (example)===== | ||
- | |||
- | => controller all show status | ||
- | | ||
- | Smart Array 6i in Slot 0 | ||
- | | ||
- | Cache Status: OK | ||
- | | ||
- | | ||
- | => controller slot=0 array all show | ||
- | | ||
- | | ||
- | Smart Array 6i in Slot 0 | ||
- | array A (Parallel SCSI, Unused Space: 0 MB) | ||
- | | ||
- | => controller slot=0 logicaldrive all show status | ||
- | | ||
- | 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 " | ||
- | done | ||
- | echo | ||
- | |||
- | 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 " | ||
- | done | ||
- | echo | ||