Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to RAID. I want to extend an existing RAID 5.

The current setup is as follows:

Array A
unused space : 349956 MB

logical drive :1
total size 273GB
disk : /dev/cciss/c0d0

1I:1:5 - 146gb
2I:1:1 - 146gb
2I:1:2 - 146gb
2I:1:3 - 146gb
2I:1:4 - 146gb

I also have 2 more unassigned disks if it helps.

I want to use unused space. How can I extend the array using unused space or should I create new array of unused space?

If I want to use my unused drives too, how I can extend the existing array to include them? I dont want to lose any data, because this server is in production.


hardware - Hp ProLiant DL380 G5 total 7 HDD of 146GB OS - Centos 5

I have installed the "hpacucli" command.

All help appreciated.


share|improve this question
What OS, hardware or software RAID, what controller, etc? – MDMarra Aug 4 '12 at 10:20
@MDMarra Since it's /dev/cciss/c0d0 It's an HP controller of some kind. – sysadmin1138 Aug 4 '12 at 10:50
@sysadmin1138 Right, but their StorageWorks line also uses those controllers. He doesn't even say what this box is. If it's something like, say, a P4000 series SAN node, it's going to be a lot different of an answer than if it's a DL380 G7. – MDMarra Aug 4 '12 at 10:54

This is an HP ProLiant with an 8-bay cage. You haven't provided enough decent information, though.

In general, you have a choice as to whether to expand your array with unassigned disks and either increase your RAID 5 to consume the unused space OR create a new logical drive within that unused space. The new logical drive does not have to be RAID 5. It can be RAID 0, 1+0, 5 or 6... The amount of available space will vary based on that choice. The data will be redistributed amongst the physical disks comprising the array.

The HP Smart Array reference guide has a a chapter on array expansion and other operations. Read through and decide what you want.


You will need a combination of hpacucli commands on your Smart Array P400 controller. The easier/safer approach is to do this offline and graphically using the bootable SmartStart CD. It can also be done online if you have the full HP Management Agents installed, but the path of least resistance is to use the bootable CD.

Also, if you don't need the space, you could convert this array to RAID 1+0 in the process. But that's another discussion.

share|improve this answer
hpacucli ctrl slot=1 logicaldrive 1 modify size=max Will the above command will help me? – Ajay Kamble Aug 4 '12 at 16:58
Something like that. See my edit above. – ewwhite Aug 4 '12 at 17:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.