From mboxrd@z Thu Jan 1 00:00:00 1970 From: antlists Subject: Re: help requested for mdadm grow error Date: Mon, 25 May 2020 23:02:42 +0100 Message-ID: <358e9f6b-a989-0e4a-04c4-6efe2666159f@youngman.org.uk> References: <7d95da49-33d8-cd4d-fa3f-0f3d3074cb30@gmail.com> <5ECC09D6.1010300@youngman.org.uk> <5ECC1488.3010804@youngman.org.uk> <4891e1e8-aaee-b36b-4131-ca7deb34defd@gmail.com> <103b80fa-029f-ecdc-d470-5cc591dc8dd0@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Content-Language: en-GB Sender: linux-raid-owner@vger.kernel.org To: Thomas Grawert Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids On 25/05/2020 22:22, Thomas Grawert wrote: > I don't think I've got an mdadm.conf ... and everything to me looks okay > but just not working. >> >> Next step - how far has the reshape got? I *think* you might get that >> from "cat /proc/mdstat". Can we have that please ... I'm *hoping* it >> says the reshape is at 0%. >> >> Cheers, >> Wol > > > root@nas:~# cat /proc/mdstat > Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] > [raid4] [raid10] > md0 : inactive sda1[0] sdf1[5] sde1[4] sdd1[2] sdc1[1] >       58593761280 blocks super 1.2 > > unused devices: > root@nas:~# > > nothing... the reshaping run about 5min. before power loss. > Just done a search, and I've found this in a previous thread ... ! # mdadm --assemble /dev/md0 --force --verbose --invalid-backup ! /dev/sda1 /dev/sdd1 /dev/sde1 /dev/sdb1 /dev/sdc1 ! This command resulted in the following message: ! mdadm: failed to RUN_ARRAY /dev/md0: Invalid argument ! The syslog contained the following line: ! md/raid:md0: reshape_position too early for auto-recovery - aborting. ! That led me to the solution to revert the grow command: ! # mdadm --assemble /dev/md0 --force --verbose --update=revert-reshape ! --invalid-backup /dev/sda1 /dev/sdd1 /dev/sde1 /dev/sdb1 /dev/sdc1 Okay, so we need to grep dmesg looking for a message like that above about reshaping. So let's grep for "md/raid" and see what we get ... Cheers, Wol