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

Re: RAID probs



On Thu, Jul 23, 2009 at 11:43:02AM -0600, Glenn English wrote:
> I created md0, 1, and 2 RAID1 arrays with mdadm, containing partitions  
> from missing and sdb. Then I changed my mind, but mdadm seems to be  
> trying to put them together anyway, and I can't figure out where it's  
> getting the info.
>
> I purged mdadm, deleted /etc/mdadm, grep -r'ed /etc and /boot for md0  
> (didn't fine any), find'ed /etc for "*md*" (nothing), zeroed the first  
> 10000 bytes of sdb, and rebooted. fdisk -l says there's no md*.
>
> But when I apt-get install mdadm, it tries to create all 3 -- it claims  
> to succeed with md0:
>
>> Starting MD monitoring service: mdadm --monitor.
>> Assembling MD array md0...done (degraded [1/2]).
>
> and
>
>> sbox:/usr/local# ls /dev/md*
>> /dev/md0  /dev/md1  /dev/md2
>
> and
>
>> sbox:/usr/local# cat /proc/mdstat
>> Personalities : [raid1]
>> md0 : active raid1 sdb[0]
>>       625131776 blocks [2/1] [U_]
>>      unused devices: <none>
>
> I'm sure it's going to be obvious in retrospect, but what's the  
> --nuke_from_orbit switch for mdadm?

--zero-superblock man mdadm

>
>
>
>
>

-- 
"I think if you know what you believe, it makes it a lot easier to answer questions. I can't answer your question."

	- George W. Bush
10/04/2000
Reynoldsburg, OH
In response to a question about whether he wished he could take back any of his answers in the first debate.

Attachment: signature.asc
Description: Digital signature


Reply to: