Adding an IDE hard drive to existing RH linux 6.2 box
Posted on 2003-10-30
I have an existing RH Linux 6.2 server that I inherited. The box has two IDE HDD that are, I assume, mirrored. Here is the drive structure when running a df-h command:
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 4.8G 798M 3.8G 17% /
/dev/hdc5 2.1G 1.9G 31M 98% /usr
/dev/hdc1 2.9G 495M 2.3G 18% /var
/dev/md0 23G 20G 2.2G 90% /storage
The best I can determine is the hda1, hdc1, & hdc5 are partitions on one of the HDD. The partition md0, I think, is a mirored partition to the second HDD.
Here is my plan:
I have purchased a 200GB HDD that I want to install and move all of the md0 (/storage) data to. Then I want to un-mirror the md0 partition and reclain that 23gb for use. The existiing 2 HDD will remin in place and I will be adding the new 200GB HDD. The /storage data is mission critical and cannot be deleted. I will probably have to do this procedure on a weekend so the system will not be interrupted during working hours. No mirroring will be required on the new 200GB HDD.
Can this be accomplished? If so, what steps do I need to perform. I have been using linux for about a year, but I still consider myself a novice. I 'cut-my-teeth' on Windows server.
Thanks in advance!