MostlyChris

Thoughts that are my own.

Adding a New Drive on an HP RAID Controller

Launch ‘hpacucli’, the RAID interface and run the following:

controller slot=0 pd show all

All drives will be shown — it’s obvious which ones are not configured as a logical disk.

controller slot=0 create type=ld drives=2:2

We’ve only added one drive, and the controller is smart enough to know that making a logical disk out of one drive will be a RAID-0, thus no RAID level is specified. If using multiple drives, list them with commas (drives=2:2,2:3,2:4) and add a “raid” command:

controller slot=0 create type=ld drives=2:2,2:3,2:4 raid=?

Using the ? will tell you what RAID levels are available for the drives selected. Specify the RAID level with “raid=5″.

controller slot=0 ld show all

Will show your new logical disk composed of the previously unused drives. You may need to run ‘partprobe’ on the server to enable it to see the new logical disk, but thereafter you are free to partition away and do what must be done.

Comments