From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias McNulty Subject: Re: reshape failure Date: Wed, 11 May 2011 17:19:48 -0400 Message-ID: References: <20110217073247.2dbc9299@notabene.brown> <20110217080634.510b017e@notabene.brown> <20110512071257.79795756@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20110512071257.79795756@notabene.brown> Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org List-Id: linux-raid.ids On Wed, May 11, 2011 at 5:12 PM, NeilBrown wrote: > > On Wed, 11 May 2011 14:06:23 -0400 Tobias McNulty > wrote: > > > On Thu, Feb 17, 2011 at 4:39 PM, Tobias McNulty wrote: > > > > > > On Wed, Feb 16, 2011 at 4:06 PM, NeilBrown wrote: > > > > > > > > On Wed, 16 Feb 2011 15:41:46 -0500 Tobias McNulty > > > > wrote: > > > > > > > > > > Now I see this in /etc/mdstat: > > > > > > > > > > md0 : active raid6 sdf[0] sdg[5](S) sdh[4] sdc[3] sdd[2] sde[= 1] > > > > > =A0 =A0 =A0 5860543488 blocks super 0.91 level 6, 64k chunk, = algorithm 2 [5/5] [UUUUU] > > > > > =A0 =A0 =A0 [=3D>...................] =A0reshape =3D =A09.9% = (193691648/1953514496) > > > > > finish=3D97156886.4min speed=3D0K/sec > > > > > > > > > > Is the 0K/sec something I need to worry about? > > > > > > > > Maybe. =A0If the stays at 0K/sec and the 9.9% stays at 9.9%, th= en yes. =A0It is > > > > something to worry about. > > > > > > It seems like it was another buggy SATA HBA?? I moved everything = back > > > to the on-board SATA ports (1 of the 2 drives in the OS RAID1 dev= ice > > > and the 5 non-spare devices in the RAID6 -> RAID5 device) and it'= s > > > happily reshaping again (even without the=A0MDADM_GROW_ALLOW_OLD = magic > > > this time): > > > > > > md0 : active raid6 sda[0] sde[4] sdd[3] sdc[2] sdb[1] > > > =A0=A0 =A0 =A05860543488 blocks super 0.91 level 6, 64k chunk, al= gorithm 2 [5/5] [UUUUU] > > > =A0=A0 =A0 =A0[=3D=3D>..................] =A0reshape =3D 10.0% (1= 96960192/1953514496) > > > finish=3D11376.9min speed=3D2572K/sec > > > > > > Is it really possible that I had two buggy SATA cards, from diffe= rent > > > manufacturers? =A0Perhaps the motherboard is at fault? =A0Or am I= missing > > > something very basic about connecting SATA drives to something ot= her > > > than the on-board ports? > > > > > > Currently I'm using a SuperMicro X7SPA-HF [1] motherboard with a > > > AOC-SASLP-MV8 [2] HBA, and the machine is running Debian squeeze > > > (2.6.32-5-amd64). > > > > > > Tobias > > > > > > [1] http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SP= A.cfm?typ=3DH&IPMI=3DY > > > [2] http://www.supermicro.com/products/accessories/addon/AOC-SASL= P-MV8.cfm > > > > So, after figuring out the hardware issues, the reshape appears to > > have completed successfully (hurray!), but /proc/mdstat still says > > that the array is level 6. =A0Is there another command I have to ru= n to > > put the finishing touches on the conversion? > > > > md0 : active raid6 sda[0] sde[4] sdd[3] sdc[2] sdb[1] > > =A0 =A0 =A0 5860543488 blocks level 6, 64k chunk, algorithm 18 [5/5= ] [UUUUU] > > > > Just > =A0 mdadm --grow /dev/md0 --level=3D5 > > should complete instantly. (assuming I'm correct in thinking that you= want > this to be a raid5 array - I don't really remember the details anymor= e :-) Bingo! Thanks. md0 : active raid5 sda[0] sde[4](S) sdd[3] sdc[2] sdb[1] 5860543488 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU] And I even ended up with a spare disk (wasn't sure how that part was going to work). Do you always have to run that command twice, or only if the reshape is interrupted? At least, I thought that was the same command I ran originally to kick it off. Thanks again. Tobias -- Tobias McNulty, Managing Partner Caktus Consulting Group, LLC http://www.caktusgroup.com -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html