Thread (2 messages) flat view 2 messages, 2 authors, 2002-05-15

Re: Removing a Raid Partition? How-to?

From: Neil Brown <hidden>
Date: 2002-05-14 23:00:00

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help