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.

Because one of our customers is running out of disk space, I need to extend his Raid5 with one more disk.

At the moment the raid5 contains 3x72gb harddisk. The harddisk i want to add is exactly the same one.

He's running Win2003std on a HP Pro Liant DL380 G3

what would be the best (fastest) way? and do i need to convert the partition to dynamic volume?

anybody tried that with the HP tools?

kind regards

sam

share|improve this question
    
Are they using one of the HP Smart Array controllers? –  David Yu Jun 5 '09 at 20:25
    
yey they use the smart array controller –  sam Jun 6 '09 at 13:53
add comment

5 Answers 5

up vote 10 down vote accepted

Assuming you're using the HP controllers: You'll need to reboot, hit whatever the key is to get into the RAID controller, add the new drive to the container, and then wait for the array to rebuild. When you boot up, you'll need to expand the partition.

It's fairly simple once you start doing it, but schedule more downtime than you need and take a backup first just to be safe. That's just good practice any time you're messing with the storage layer.

If you're using software raid or a non-HP controller... well, you're kinda on your own, kid.

share|improve this answer
    
hum thx sound's easy, I hope the RAID Controller supports the expandation. As far as I remember i did not see that function in the raid setup... to expand the partition i use a tool like partition magic or will it be automatic resized when using dynamic volumes? what do you suppose? –  sam Jun 5 '09 at 20:43
1  
Sam, you won't see it unless you have a drive that the array can be expanded into. Sorry, I can't help you with the Windows side of things... I don't touch that stuff. Rots your brain and all that. –  Karl Katzke Jun 6 '09 at 0:02
    
I generally boot the server with a knoppix cd, use parted to expand the partition (you could do gparted for a graphical interface), then use ntfsresize to expand the file system. I haven't used dynamic disks in windows - it could be if you change your disks to dynamic you'll be able to expand the partition and filesystem from with in windows. –  Steven Jun 6 '09 at 20:16
1  
Thanks you I expanded the Raid5 today with the HP Tools, it was quite easy and could do it while Windows was running. There are 3 steps. 1) Adding the HD to the raid (takes a lot of time ~10h and about 50% cpu) 2) adding the new logic space to the current logic space (5-10Minutes) 3) adding the unallocated space to the existent space. (did it with acronis, needs a reboot and 15minutes) –  sam Jun 10 '09 at 14:30
add comment

If you installed the HP Array Configuration Utility CLI, you should have a hpacucli.exe program which allow you to add your disk without rebooting your server.

Not sure how it works on windows but it does without problems on linux.

It should be something like

hpacucli ctrl slot=0 array A add drives=1I:1:4

then extend the logical drive

hpacucli ctrl slot=0 logicaldrive 1 modify size=max

share|improve this answer
    
Afterwards you'll certainly need to reboot so that windows see the disk with its new size. Then you should be able to grow the filesystem using a Linux live CD with gparted, or maybe from windows (but for that one I don't actually know how). –  wazoox Jul 17 '09 at 12:45
add comment

You'd better make sure whether the RAID is software raid or hardware raid, software raid is constructed by dynamic disks. If it is hardware RAID, it is easy to solve, you may check in disk management. Do not convert to dynamic disk, as the system volume, stripped volume, mirror volume ans RAID5 volume cannot be expand.

To do these operations, you should backup the files firstly. Add the new disks and use the controller to rebuild the raid array, and then you'll get some unallocated space, use diskpart or other third party sw to resize the partition. Diskpart works in command line and it only can expand the partiton that there is unallocated space behind it. http://www.partition-tool.com/resource/expand-raid5-partition.htm there is a tutorial how to extend RAID 5

share|improve this answer
add comment

Firstly, check the RAID contronller whether it has the ability to rebuid the RAID without data loss, if it doesn't, you need to backup the files and rebuid the RAID with the new disk. After that restore the fiels.

If you can rebuild the RAID without data losing, you need to backup the files, and then rebuild the RAID, the new space will be displayed as unallocated, you can simplely expand the partitions with partitioning software

share|improve this answer
add comment

On basic disk extend hardware RAID by partition software, of course, It's way to convert your disk to dynamic disk, then using Spanned Volume to enlarge the capacity. An article http://www.extend-partition.com/resize-windows-server-2008-partition.html for resizing server partition.

share|improve this answer
add comment

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.