[Wylug-help] Removing RAID Superblock

Chris Davies chris at roaima.co.uk
Thu May 15 21:34:13 BST 2008


Dave Fisher wrote:
> I've been tinkering with Linux software RAID and got myself in something
> of a jam.
> 
> I thought that I had safely failed and removed all the partitions in each of
> my arrays, then deleted the arrays themselves.
> 
> Unfortunately, despite re-writing the partition table with fdisk,
> whenever I boot from a rescue CD, the system still creates /dev/md0 and
> /dev/md1.

>   a) boot without activating /dev/md0 or /dev/sde2 ?
>   b) deactivate /dev/sde2 in order to fail then remove it? 
>   c) Or is there some other method that I haven't noticed in the
>   copious, but decidedly fragmented documentation?

These are from memory, so please bear with me:

mdadm --stop /dev/md0
mdadm -M /dev/dm0 --fail /dev/sde2 (or something)
mdadm --zero-superblock /dev/sde2

Chris



More information about the Wylug-help mailing list