We have a server running RHEL AS4 and I have been asked to get an additional disk installed and then mirror the root disk to this new disk. Can someone point me in the right direction for this task as I have no idea how to do this?
I've only ever configured RAID on Linux during the initial install, which made it pretty simple. You can definitely get it working with an existing install, there appear to be some decent guides on google.
I would however recommend making a copy of your disk first, using dd or the like; Just to cover your ass.
"We can categorically state that we have not released man-eating badgers into the area" - Major Mike Shearer
Zeland - am I right in assuming that that is for a software RAID 1?
1. as for a hardware RAID 1, I would go about it this way...
2. add two extra drives to the system (sda, sdb, sdc)... you could also use just one extra drive at this time...
3. boot with SystemRescue CD, then "ddrescue" sda to sdc (sdb if you only used one drive above).
4. powerdown once finished. (unplug the sdb and add a new drive for the RAID step below)
5. with the hardware RAID manager, create a RAID 1 with the following drives: sda and sdb (usually this will wipe the drives). (when done power down and add the cloned drive for the following steps)...
6. then boot again with SystemRescueCD, then again use "ddrescue" but from the cloned drive to the newly created RAID 1 array...
main reason: it's a force of habit... most linux drive's I end up cloning have some sort of error, and ddrescue will clone a drive just like dd, but will not abort when it hits those errors...
and to prevent me wasting time, by using dd and then finding out it aborted because of a glitch, and then having to do the whole thing over with ddrescue...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.