RE: Break a mirrored drive on Linux





Breaking a mirrored drive
______________________________________________________________________
Is there a way in Linux to break a mirror, and then use the drive that

was broken for some new partition (example: /home). FC3 and FC4. I am
running out of space and I am finding the RAID 1 is no longer desired.

You can use 'mdadm --fail ...', then 'mdadm --remove ...' to take it
out of the raid which will continue working fine >>with only a single
member. Be sure to change the partition type when you re-use it so the
system won't try to auto-detect and map it back in when you boot up.

--
Les Mikesell
lesmikesell@xxxxxxxxx



This worked! One more question if I reboot I guess it will find the new
device and begin rebuilding the partition. So how do I change the
partition type, and should I change it to the main drive /dev/sda1 or
the second drive /dev/sdb1 (which has been removed). (fdisk?)

mB.


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Promise RAID-1 vs software RAID-1
    ... >> Raid 1 is mirroring only. ... For data integrity reasons I can't see how ... >> they could read from any but the master mirror. ... The Linux kernel does give you the ability to read simultaneously from ...
    (Fedora)
  • Re: Break a mirrored drive on Linux
    ... Is there a way in Linux to break a mirror, and then use the drive that ... running out of space and I am finding the RAID 1 is no longer desired. ... re-use it so the system won't try to auto-detect and map it ...
    (Fedora)
  • Re: How to make a raid 1 on a webserver on woody remotely
    ... > Can I prepare the second IDE disc on the fly to be part of a mirror set ... > I am a newbie on debian and don't know if the kernel supports raid at all. ... > reboot the system to drive 2 ... it is not possible to redesignate the partition type without ...
    (Debian-User)
  • Re: RAID5 config / boot problem
    ... > First of all, I should have clarified that I am booting from hda, ... > The partition type of /dev/md0 is ext3 ... > No - not unless the Debian install put them there. ... I specified this RAID setup using the Debian sarge ...
    (Debian-User)
  • Re: debian testing and mdadm
    ... I replaced all the references to ... > raidtools with mdadm. ... Did you remember to set your partition type to 0xfd? ... automatically compose your RAID device for you during boot. ...
    (Debian-User)