User Tools

Site Tools


raid_controller_utils

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

raid_controller_utils [2013/01/30 19:41]
root [List physical disks (PD)]
raid_controller_utils [2014/10/22 10:05] (current)
root
Line 1: Line 1:
 ====== HP Raid Utils ====== ====== HP Raid Utils ======
 +
 +HP has replaced command tool hpacucli with hpssacli for later versions of HP Raid Controllers. This is really stupid done by HP. The genius changing a command name should be punished by whip.
 +
 +In order to get my existing scripts to work, I have created a soft link from hpacucli -> hpssacli in /usr/sbin.
  
   # hpacucli ctrl all show config   # hpacucli ctrl all show config
Line 14: Line 18:
   ​   ​
   /tmp/test is output file for result   /tmp/test is output file for result
 +
 +===== Spare drives =====
 +
 +==== Remove spare drives ====
 +
 +Remove spare drive from Array I
 +
 +  # hpacucli ctrl slot=1 array I remove spares=4E:​1:​17
 +  ​
 +==== Adding spare drives ====
 +
 +Add two global hot spares
 +
 +  # hpacucli ctrl slot=1 array all add spares=2E:​1:​18,​4E:​1:​17
  
 ===== Smartctl hints for HP smart array (CCISS driver) ===== ===== Smartctl hints for HP smart array (CCISS driver) =====
raid_controller_utils.txt ยท Last modified: 2014/10/22 10:05 by root