Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrade Hard Drive

Status
Not open for further replies.

bizzaro

Technical User
Jul 24, 2002
105
US
I have an IBM server running Mandrake. The server is running raid 1. I need to upgrade both drives to larger ones. What is the best way to go about this? I need to have everything copied so that when I put the new drives back in the same server, everything boots up as if nothing has changed.
 
This in not tested, but should work...

1. Remove one of the drives from the RAID, and place it
and one of the new drives in a different computer.
2. Use dd to copy the old drive over to the new drive.
Code:
dd if=/dev/olddrive of=/dev/newdrive
The new drive is now a duplicate of the old drive, including
size of partitions, so you need to resize the partition(s).
3. Use a tool like gParted to resize the partitions to your liking.
4. Remove the other old drive from the RAID, and replace it with
the new copyed drive and the second new drive.
5. Now you can rebuild the RAID as you would if you just replaced one drive.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top