All of lore.kernel.org
 help / color / mirror / Atom feed
* mdadm v3.1.3 spare group does not work
@ 2012-05-08  1:57 Johnson Yan
  2012-05-08  2:20 ` NeilBrown
  0 siblings, 1 reply; 6+ messages in thread
From: Johnson Yan @ 2012-05-08  1:57 UTC (permalink / raw)
  To: linux-raid

Hi,
When I use mdadm v3.1.3, seems the spare group function can’t work. As I
remember, this function in mdadm 2.6.5 works well.


Here is some info from /etc/mdadm.conf
…
ARRAY /dev/md0 level=raid1 spare-group=test11
ARRAY /dev/md1 level=raid1 spare-group=test11
…


And mdmonitor service is in running status:
[root@localhost tmp]# ps aux |grep mdadm
root      1794  0.0  0.0   6852   760 ?        Ss   16:52   0:00 mdadm -F -y
-f -s -i /var/run/mdadm/mdadm.pid --delay=10

There is one spare disk in md0, and no spare in md1, if I fail the member
disk in md1, the spare in md0 won’t migrate into md1.

Thank you very much.

Regards,
Johnson Yan

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mdadm v3.1.3 spare group does not work
  2012-05-08  1:57 mdadm v3.1.3 spare group does not work Johnson Yan
@ 2012-05-08  2:20 ` NeilBrown
  2012-05-08  3:05   ` Johnson Yan
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: NeilBrown @ 2012-05-08  2:20 UTC (permalink / raw)
  To: Johnson Yan; +Cc: linux-raid

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

On Tue, 8 May 2012 09:57:57 +0800 "Johnson Yan" <johnson_yan@usish.com> wrote:

> Hi,
> When I use mdadm v3.1.3, seems the spare group function can’t work. As I
> remember, this function in mdadm 2.6.5 works well.

Can you try mdadm 3.2.3 please (or is that what you meant?).
Better still, try the current git version:

  git clone git://github.com/neilbrown/mdadm
  cd mdadm
  make
  make install

Thanks,
NeilBrown

> 
> 
> Here is some info from /etc/mdadm.conf
> …
> ARRAY /dev/md0 level=raid1 spare-group=test11
> ARRAY /dev/md1 level=raid1 spare-group=test11
> …
> 
> 
> And mdmonitor service is in running status:
> [root@localhost tmp]# ps aux |grep mdadm
> root      1794  0.0  0.0   6852   760 ?        Ss   16:52   0:00 mdadm -F -y
> -f -s -i /var/run/mdadm/mdadm.pid --delay=10
> 
> There is one spare disk in md0, and no spare in md1, if I fail the member
> disk in md1, the spare in md0 won’t migrate into md1.
> 
> Thank you very much.
> 
> Regards,
> Johnson Yan
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: mdadm v3.1.3 spare group does not work
  2012-05-08  2:20 ` NeilBrown
@ 2012-05-08  3:05   ` Johnson Yan
  2012-05-08  3:42   ` Johnson Yan
  2012-05-08  9:53   ` Johnson Yan
  2 siblings, 0 replies; 6+ messages in thread
From: Johnson Yan @ 2012-05-08  3:05 UTC (permalink / raw)
  To: 'NeilBrown'; +Cc: linux-raid

Hi Neil,
Thank you for your advice, I tried 3.2.3, it still failed.

Regards,
Johnson Yan

-----Original Message-----
From: NeilBrown [mailto:neilb@suse.de] 
Sent: Tuesday, May 08, 2012 10:20 AM
To: Johnson Yan
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm v3.1.3 spare group does not work

On Tue, 8 May 2012 09:57:57 +0800 "Johnson Yan" <johnson_yan@usish.com> wrote:

> Hi,
> When I use mdadm v3.1.3, seems the spare group function can’t work. As 
> I remember, this function in mdadm 2.6.5 works well.

Can you try mdadm 3.2.3 please (or is that what you meant?).
Better still, try the current git version:

  git clone git://github.com/neilbrown/mdadm
  cd mdadm
  make
  make install

Thanks,
NeilBrown

> 
> 
> Here is some info from /etc/mdadm.conf … ARRAY /dev/md0 level=raid1 
> spare-group=test11 ARRAY /dev/md1 level=raid1 spare-group=test11 …
> 
> 
> And mdmonitor service is in running status:
> [root@localhost tmp]# ps aux |grep mdadm root      1794  0.0  0.0   
> 6852   760 ?        Ss   16:52   0:00 mdadm -F -y -f -s -i 
> /var/run/mdadm/mdadm.pid --delay=10
> 
> There is one spare disk in md0, and no spare in md1, if I fail the 
> member disk in md1, the spare in md0 won’t migrate into md1.
> 
> Thank you very much.
> 
> Regards,
> Johnson Yan
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" 
> in the body of a message to majordomo@vger.kernel.org More majordomo 
> info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: mdadm v3.1.3 spare group does not work
  2012-05-08  2:20 ` NeilBrown
  2012-05-08  3:05   ` Johnson Yan
@ 2012-05-08  3:42   ` Johnson Yan
  2012-05-08  9:53   ` Johnson Yan
  2 siblings, 0 replies; 6+ messages in thread
From: Johnson Yan @ 2012-05-08  3:42 UTC (permalink / raw)
  To: 'NeilBrown'; +Cc: linux-raid

I tried mdadm 2.6.5, it can works well.

Regards,
Johnson Yan

-----Original Message-----
From: Johnson Yan [mailto:johnson_yan@usish.com] 
Sent: Tuesday, May 08, 2012 11:05 AM
To: 'NeilBrown'
Cc: 'linux-raid@vger.kernel.org'
Subject: RE: mdadm v3.1.3 spare group does not work

Hi Neil,
Thank you for your advice, I tried 3.2.3, it still failed.

Regards,
Johnson Yan

-----Original Message-----
From: NeilBrown [mailto:neilb@suse.de]
Sent: Tuesday, May 08, 2012 10:20 AM
To: Johnson Yan
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm v3.1.3 spare group does not work

On Tue, 8 May 2012 09:57:57 +0800 "Johnson Yan" <johnson_yan@usish.com> wrote:

> Hi,
> When I use mdadm v3.1.3, seems the spare group function can’t work. As 
> I remember, this function in mdadm 2.6.5 works well.

Can you try mdadm 3.2.3 please (or is that what you meant?).
Better still, try the current git version:

  git clone git://github.com/neilbrown/mdadm
  cd mdadm
  make
  make install

Thanks,
NeilBrown

> 
> 
> Here is some info from /etc/mdadm.conf … ARRAY /dev/md0 level=raid1
> spare-group=test11 ARRAY /dev/md1 level=raid1 spare-group=test11 …
> 
> 
> And mdmonitor service is in running status:
> [root@localhost tmp]# ps aux |grep mdadm root      1794  0.0  0.0
> 6852   760 ?        Ss   16:52   0:00 mdadm -F -y -f -s -i 
> /var/run/mdadm/mdadm.pid --delay=10
> 
> There is one spare disk in md0, and no spare in md1, if I fail the 
> member disk in md1, the spare in md0 won’t migrate into md1.
> 
> Thank you very much.
> 
> Regards,
> Johnson Yan
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" 
> in the body of a message to majordomo@vger.kernel.org More majordomo 
> info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: mdadm v3.1.3 spare group does not work
  2012-05-08  2:20 ` NeilBrown
  2012-05-08  3:05   ` Johnson Yan
  2012-05-08  3:42   ` Johnson Yan
@ 2012-05-08  9:53   ` Johnson Yan
  2012-05-08 10:05     ` NeilBrown
  2 siblings, 1 reply; 6+ messages in thread
From: Johnson Yan @ 2012-05-08  9:53 UTC (permalink / raw)
  To: 'NeilBrown'; +Cc: linux-raid

Hi Neil & All,
I tried mdadm 3.2.3 again with mdmonitor service restart, the spare group function is OK now. Mdadm v3.1.3 still can't work.
Sorry for the inconvenience.

Regards,
Johnson Yan


-----Original Message-----
From: Johnson Yan [mailto:johnson_yan@usish.com] 
Sent: Tuesday, May 08, 2012 11:43 AM
To: 'NeilBrown'
Cc: 'linux-raid@vger.kernel.org'
Subject: RE: mdadm v3.1.3 spare group does not work

I tried mdadm 2.6.5, it can works well.

Regards,
Johnson Yan

-----Original Message-----
From: Johnson Yan [mailto:johnson_yan@usish.com]
Sent: Tuesday, May 08, 2012 11:05 AM
To: 'NeilBrown'
Cc: 'linux-raid@vger.kernel.org'
Subject: RE: mdadm v3.1.3 spare group does not work

Hi Neil,
Thank you for your advice, I tried 3.2.3, it still failed.

Regards,
Johnson Yan

-----Original Message-----
From: NeilBrown [mailto:neilb@suse.de]
Sent: Tuesday, May 08, 2012 10:20 AM
To: Johnson Yan
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm v3.1.3 spare group does not work

On Tue, 8 May 2012 09:57:57 +0800 "Johnson Yan" <johnson_yan@usish.com> wrote:

> Hi,
> When I use mdadm v3.1.3, seems the spare group function can’t work. As 
> I remember, this function in mdadm 2.6.5 works well.

Can you try mdadm 3.2.3 please (or is that what you meant?).
Better still, try the current git version:

  git clone git://github.com/neilbrown/mdadm
  cd mdadm
  make
  make install

Thanks,
NeilBrown

> 
> 
> Here is some info from /etc/mdadm.conf … ARRAY /dev/md0 level=raid1
> spare-group=test11 ARRAY /dev/md1 level=raid1 spare-group=test11 …
> 
> 
> And mdmonitor service is in running status:
> [root@localhost tmp]# ps aux |grep mdadm root      1794  0.0  0.0
> 6852   760 ?        Ss   16:52   0:00 mdadm -F -y -f -s -i 
> /var/run/mdadm/mdadm.pid --delay=10
> 
> There is one spare disk in md0, and no spare in md1, if I fail the 
> member disk in md1, the spare in md0 won’t migrate into md1.
> 
> Thank you very much.
> 
> Regards,
> Johnson Yan
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" 
> in the body of a message to majordomo@vger.kernel.org More majordomo 
> info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mdadm v3.1.3 spare group does not work
  2012-05-08  9:53   ` Johnson Yan
@ 2012-05-08 10:05     ` NeilBrown
  0 siblings, 0 replies; 6+ messages in thread
From: NeilBrown @ 2012-05-08 10:05 UTC (permalink / raw)
  To: Johnson Yan; +Cc: linux-raid

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

On Tue, 8 May 2012 17:53:08 +0800 "Johnson Yan" <johnson_yan@usish.com> wrote:

> Hi Neil & All,
> I tried mdadm 3.2.3 again with mdmonitor service restart, the spare group function is OK now. Mdadm v3.1.3 still can't work.
> Sorry for the inconvenience.

So it is fixed in 3.2.3 - good.
Thanks for letting me know.

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-08 10:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08  1:57 mdadm v3.1.3 spare group does not work Johnson Yan
2012-05-08  2:20 ` NeilBrown
2012-05-08  3:05   ` Johnson Yan
2012-05-08  3:42   ` Johnson Yan
2012-05-08  9:53   ` Johnson Yan
2012-05-08 10:05     ` NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.