Re: shutting down/removing a software RAID array?
- From: Dances With Crows <danceswithcrows@xxxxxxx>
- Date: 26 Feb 2008 02:57:01 GMT
Gary Dale staggered into the Black Sun and said:
I've been looking for [how to *stop*] a [softRAID] in Linux.
"mdadm misc /dev/mdN --stop" . This won't work if /dev/mdN is mounted.
I can't get the RAID to cease to exist. My current state after redoing
the dd is shown by this:
#cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 hdc[1]
60696128 blocks [2/1] [_U]
Somewhere along the line I must have inadvertently added /dev/hdc to
the md1 array instead of /dev/hdc3.
If you're sure that you don't want to have any softRAID at all, change
the partition type of all former softRAID partitions to something other
than 0xfd. And rm -rf /etc/mdadm* while you're at it. (You can
regenerate that dir structure when you rebuild your softRAID setup
properly.) And check /proc/cmdline to make sure that you're not passing
"root=/dev/md1" or something to the kernel on boot. Also remember that
the md superblock info is stored at the *end* of the partition, so
efficiently erasing that info with dd will require a seek= .
And after trying everything else I can think of to remove the software
traces of the RAID array, a reboot still gives me md1 containing hdc.
Expand on "everything else you can think of". What, precisely, were the
commands you executed?
--
Jesus is the best radio producer in the beans. We need some saliva
and pickles to get mad. --MegaHAL, "The Best of MegaHAL"
=======Hire me! http://crow202.dyndns.org:8080/~mhgraham/resume/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.
- Follow-Ups:
- Re: shutting down/removing a software RAID array?
- From: Gary Dale
- Re: shutting down/removing a software RAID array?
- References:
- shutting down/removing a software RAID array?
- From: Gary Dale
- shutting down/removing a software RAID array?
- Prev by Date: Re: Free Linux drivers
- Next by Date: Re: shutting down/removing a software RAID array?
- Previous by thread: shutting down/removing a software RAID array?
- Next by thread: Re: shutting down/removing a software RAID array?
- Index(es):
Relevant Pages
|