Undo a RAID mirror
I have a FC1 system with a RAID mirror that I want to undo. Basically, I want to remove the secondary disk and use the primary as a normal drive.
The way I think it should be done is: 1 - Remove secondary drive 2 - Boot off CD 3 - Edit /etc/fstab and change mdX to hdaX 4 - Run fdisk on /dev/hda and change the partition types from 'Linux raid autodetect' to Linux (and Linux swap) 5 - Boot up Is this possible/correct? What about the MBR? Here's the config: Code:
[root@host root]# cat /etc/raidtab |
What you say makes sense, but there's no guarantee that it would get f'ed up in the process. :)
I would make sure things are thoroughly backed up before attempting this. As a general FYI: why did you raid mirror swap? Just for the stability in case of a disk failure? |
I've did exactly the same thing - two 250gb sata drives mirrored.
I initially did it just to see it it worked..and it did. I then customised my system, and would rather not have to re-install. I now want the extra drives space back though. How did you get on with this? L EDIT: I sould add that I'm using Linux raid, not hardware or BIOS raid. |
All times are GMT -5. The time now is 05:19 AM. |