Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a DL180 G6 HP P410i with 2x SATA in RAID1 running Linux CentOS.

Can I add (using the hot swappable drives) two more hard drives into the server and mount them without rebooting the server?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

Yes. You'll want to use hpacucli tool to configure the new array. Rescan for new logical drives if your OS doesn't automatically, file system, mount, etc.

share|improve this answer
    
Thanks, did not know about hpacucli. Is the download below suitable for CentOS 5/6? h20000.www2.hp.com/bizsupport/TechSupport/… –  John Feb 19 '13 at 19:55
    
Yep, the latest RHEL packages should work find on CentOS as well. –  Chris S Feb 19 '13 at 19:56

Yes.

It depends upon what you intend to do upon inserting the disks.

You can plug them in, but they will need to be configured as a logical drive in order to be usable to the operating system.

If you want to expand the existing logical drive, the dynamic changes, and you may need to have a battery-backed cache unit enabled on your controller.

If running CentOS, you'll want to install the HP Management Agents or at the very least, the hpacucli utility.


The hpacucli utility has inline help, but to add a new pair of disks, something like:

ctrl all show config

Shows the running configuration.

Based on the output, you'll want to create a new logical drive of RAID 1 using the unassigned disks... Something like:

ctrl slot=1 create type=ld drives=2I:1:3,2I:1:4 raid=1

Where slot is the controller's PCIe slot number from the first command, and the drives are the disk port numbers from the first command.

Once you make this change and exit the utility, a new block device will be available at the OS level. dmesg | tail will show this. From there, you can fdisk the new device and create filesystems/partitions on top of it.

share|improve this answer
    
I want to add two more hard disks in a RAID 1 format. In the end there will be 2x RAID1 configurations –  John Feb 19 '13 at 19:58
    
@John In that case, it can be done hot without any disruption to the running OS. –  ewwhite Feb 19 '13 at 19:58
    
Thanks for your help. Using hpacucli How do I make pay 3 & 4 active and set in RAID1 configuration? Also, will the cause any issues on reboot? –  John Feb 20 '13 at 9:22
    
@john You won't have to reboot for this. See my edits above. –  ewwhite Feb 20 '13 at 13:13

Are you sure that you have a P410i? The DL180 GP does not have a P410i option.

Either way, yes, the controllers that come as standard equipment on a DL180 G6 do support hot-add. If you have the HP ACU CLI installed, you can create the logical drive from within your OS. Then rescan using your OS tools and mount.

share|improve this answer
    
A few of the configurations come with a P410, ok it's not the 'i' version but functionally it's the same. (see h18004.www1.hp.com/products/quickspecs/13248_na/13248_na.HTML for confirmation). –  Chopper3 Feb 19 '13 at 19:53

Your Answer

 
discard

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.