Break a mirrored drive on Linux

Les Mikesell lesmikesell at gmail.com
Wed May 31 22:25:50 UTC 2006


On Wed, 2006-05-31 at 16:30 -0500, Matthew Benjamin wrote:

> >You can use 'mdadm --fail ...', then 'mdadm --remove ...' to take it
> out of the raid 


> 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?)

Leave /dev/sda1 as it is.  It will continue to work with only one
active member.   Use fdisk to change the partition type on /dev/sdb1
to 83, then make a new filesystem on it and mount it somewhere.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the users mailing list