From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francis Moreau Subject: Re: mdadm 3.3 fails to kick out non fresh disk Date: Sat, 14 Sep 2013 17:06:58 +0200 Message-ID: References: <20130914064305.0baadc69@notabene.brown> <20130914203800.385466b2@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Martin Wilck Cc: linux-raid@vger.kernel.org, NeilBrown List-Id: linux-raid.ids Martin, On Sat, Sep 14, 2013 at 4:33 PM, Francis Moreau wrote: > On Sat, Sep 14, 2013 at 12:38 PM, NeilBrown wrote: >> On Sat, 14 Sep 2013 00:35:47 +0200 Francis Moreau >> wrote: [...] >> >> BTW I think I've fixed the issue with mdadm -R /dev/md125 for DDF. >> Try the latest git. > > It seems it fixes the issue: mdmon is now correctly started with a > degraded DDF array. > > However, after using the system with only one disk (sda), sdb is now > outdated. I rebooted the system with 2 disks but mdadm doesn't seem to > notice that sdb is outdated: > > # mdadm -I /dev/sda > mdadm: container /dev/md/ddf0 now has 1 device > mdadm: /dev/md/array1_0 assembled with 1 device but not started > # mdadm -I /dev/sdb > mdadm: container /dev/md/ddf0 now has 2 devices > mdadm: Started /dev/md/array1_0 with 2 devices (1 new) > # cat /proc/mdstat > Personalities : [raid1] > md126 : active (auto-read-only) raid1 sdb[1] sda[0] > 2064384 blocks super external:/md127/0 [2/2] [UU] > > md127 : inactive sdb[1](S) sda[0](S) > 65536 blocks super external:ddf > > So this time mdadm fails to kick out non fresh disk (when using '-I') > but with DDF. > Maybe you have an idea on why mdadm doesn't notice that sdb is outdated in that case (DDF) ? Thanks -- Francis