Question Locked

Replacing SCSI drives in a RAID 5

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a web server currently with three hard drives and a spare (each hard drive is 18.1GB). I am running out of space (only 900MB on C and 9 GB on D). I purchased 4 new drives, each 120GB and want to replace the old with the new. The drives are hot swappable. Everything i have read indicates that I can change out the hard drives one at a time and they will be rebuilt. However, although the new hard drives are each 120 GB, it sounds like they will be built identical to the 18.1GB config. Is this correct? If so, I read about rebuilding an array. What does that include? Will I lose my data? I am assuming I would have to take the server down to do this. Would this be correct?

Thanks, Jim

5 replies

by invalid.path

IMO your looking at alot of work ahead of you. Your best bet is to backup ALL of the data along with the directory structure (domain/share perms)..write it down if you have to to be extra safe. Then create a whole new array, then restore the data. Tell your users if you have remote ones or VPN that the system will be offline for "x" weekend.

by scott_heath

Yes, only 18GB of the drive will be used.
No, you should not lose your data, but always back up like you will.
No, you do not need to take the server down. Just replace 1 drive a day and let it rebuild.
You were partially correct. :)

When you are done you'll be left with a whole lot of unused space on the array, so create a new volume then move data to it.

If that doesn't work for you then follow the other poster's advice and rebuild the box from scratch and restore what you need to restore.

by tgmodell

Or you can use an imaging app like Acronis TrueImage to take a snapshot of the current system and restore to the new array.

If I were in your shoes... I'd take a snapshot of the current array and save the image file to a network accessible share or FTP server. When you have your image... remove all of your drives making sure you note the drive position (ID 0,1,2,3, etc)... this will allow you to replace the disks and return to the existing array if there is a problem with the imaging operation (In the event there is a problem, re-installing your drives in the positions they were originally located in should allow you to restore your array information to your disk controller by reading the info from the disks).

Next, install your new drives and create a new array(s) that match the current array layout. If all you have is one array and logical partitions... just create the one array, TrueImage will do the rest. If you have multiple arrays each with logical disks, create the same number of arrays as currently exist. When you have your array setup, boot the machine with the TrueImage boot disk and follow the prompts to restore. You will be prompted to browse to the image file, select disks to restore (you will select all), etc and you will have the option to restore the disks in it's exact state but extend the disk size to fill the new array's size. This will allow you to keep your existing setup while making use of your new, larger disks. You will probably need to extend the partitions within Windows when all is said and done using diskpart.

While this is not a all steps included walk-through, it should give you a pretty high level overview of the process. I've done this quite a few times both when upgrading disks, moving to new hardware, and virtualizing physical machines with great success. Check out http://acronis.com for the software. I'd download the trial version and run a test on a workstation or development server before running it on your prod machine.

Let me know if you have any questions or want to explore the operation further.

Tyler

by greybeard770

depends on each spindle being the same size. In the case you describe it would use the smallest drive to calculate sizes. The process of replacing all drives one at a time, waiting for the rebuild to complete, should result in each drive having about a hundred GB to create another logical volume. You need to replace your hot spare as well.

This discussion is closed to new replies.