Re: Removing a Raid Partition? How-to?

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

 



On Tuesday May 14, jhill@hronline.com wrote:
> Oddly, it seems I can't change the partitions of a previously formatted 
> raid disk.  When I use fdisk to repartition a drive previously formatted 
> with the type set to Linux autoraid detect, I reboot only to find the 
> autoraid partitions are still there. I have stopped the raid devices, but 
> it seems I can't kill the persistent superblock. I tried reformatting with 
> mke2fs and of course that failed to do the trick.

If you change the partition type to something else, it really
shouldn't autodetect any more.. Do you have an /etc/raidtab describing
the array, and is raidstart being run at boottime by some script?

In any case, 
   mdadm --zero-superblock /dev/hda1

will zero the md/raid superblock on /dev/hda1

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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