Re: Deleting an raid device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday May 25, me@xxxxxxxxxx wrote:
> Hi,
> 
> What are the proper steps for deleting all remnants of a previous raid
> install?
> 
> I've done:
> mdadm --stop /dev/md0
> mdadm --zero-superblock /dev/md0

I doubt that.  After stopping /dev/md0, trying to zero a superblock in
/dev/md0 would fail.
Superblocks don't live in the array, they live in the individual
component drives:

  mdadm --zero-superblock /dev/sd?c
or something.

But there is no harm having stray superblocks lying around.  
Make sure the partitions are not raid-auto-detect (as someone else
has mentioned I think) and make sure mdadm.conf doesn't mention the
arrays.

NeilBrown
 
> 
> But I still see it getting stopped on shutdown.
> 
> Thanks
> Jay
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux