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