Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

Break raid

Go to solution
Regular Advisor

Break raid

I have two disk of 9 GB in Linux RAID, I have to break the raid, to use two disk separate. How can I break the mirror with fdisk?
Honored Contributor

Re: Break raid


I am using RedHat, so all I can say is the story on RedHat.

When System booting, /etc/rc.d/rc.sysinit runs.
This script see if the system disk is RAID or non-RAID.
Check the existance of /etc/raidtab file.

If this file exist, script kick raidstart command.

So if you want to "break software Raid", it mean, you take out one disk from your system AND delete (move) /etc/raidtab.

And also, your /etc/fstab use
/dev/md0 , /dev/md1 ...and so on. If your system goes without software raid, which mean your system access the disk /dev/sda /dev/sdb for scsi, /dev/hda,/dev/hdb for ide.
So you must change this file also.

I recommend you to make a full backup of your data before you "breake" your system.

And prepare some rescue CD-ROM
such as

I think this is not "must", but
your current partition ID is "FD" The ext2 fs is "72".
You can change it by fdisk.

Good luck