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

Re: mdadm on lenny64, why two spares?



On Mon, Jun 08, 2009 at 03:45:22PM -0700, whollygoat@letterboxes.org wrote:
> On Mon, 08 Jun 2009 17:07 +0100, "kj"
> <koffiejunkielistlurker@koffiejunkie.za.net> wrote:
> > whollygoat@letterboxes.org wrote:
> > >     Number   Major   Minor   RaidDevice State
> > >        0      33        1        0      active sync   /dev/hde1
> > >        1      34        1        1      active sync   /dev/hdg1
> > >        2       0        0        2      removed
> > >
> > >        3      57        1        -      spare   /dev/hdk1
> > >        4      56        1        -      spare   /dev/hdi1
> > >
> > >   
> > 
> > What does `cat /proc/mdstat` show you?
> 
> cat /proc/mdstat
> Personalities : [raid6] [raid5] [raid4]
> md0 : active (auto-read-only) raid5 hdi1[4](S) hdk1[3](S) hdg1[1]
> hde1[0]
>       156250880 blocks super 1.0 level 5, 64k chunk, algorithm 2 [3/2]
>       [UU_]
>       bitmap: 0/150 pages [0KB], 256KB chunk

Hi 

I believe you are in READ ONLY MODE, it will not attempt to put the
spares back into to the array until it is moved into read/write

mdadm -w /dev/md0


> 
> unused devices: <none>
> 
> will

-- 
"We wouldn't go forward if we were concerned about the security of the United States of America."

	- George W. Bush
02/23/2006
Washington, DC
in a Cabinet meeting

Attachment: signature.asc
Description: Digital signature


Reply to: