From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Youngman Subject: Re: Recover array after I panicked Date: Tue, 2 May 2017 16:49:08 +0100 Message-ID: References: <20170424133946.GA7057@metamorpher.de> <727eeaf5-b856-305d-99b6-e42f3383b699@powerlamerz.org> <20170425001614.GA3936@metamorpher.de> <20170425090122.GA4488@metamorpher.de> <20170425110807.GA5159@metamorpher.de> <5c3f7876-1b25-7020-5e7d-01776e7c9903@powerlamerz.org> <20170427231242.GA5138@metamorpher.de> <4c5d312b-fba6-da20-e08f-ed1a4ba5c313@powerlamerz.org> <20170429095656.GA4030@metamorpher.de> <37245817-43d3-7c93-98fe-8b8ce54396ad@powerlamerz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <37245817-43d3-7c93-98fe-8b8ce54396ad@powerlamerz.org> Sender: linux-raid-owner@vger.kernel.org To: =?UTF-8?Q?Patrik_Dahlstr=c3=b6m?= , Andreas Klauer Cc: Brad Campbell , linux-raid@vger.kernel.org List-Id: linux-raid.ids On 02/05/17 14:08, Patrik Dahlström wrote: > > > On 04/29/2017 11:56 AM, Andreas Klauer wrote: >> On Sat, Apr 29, 2017 at 12:46:15AM +0200, Patrik Dahlström wrote: >> You could create the RAID first and the overlay afterwards. >> Or you can create loop devices on the busy devices and use those. > I solved it by creating loop devices and use dd. I let it finish, then > ran fsck and resize2fs on the partition and now my data is back! > > Thank you all for your invaluable help! > > Would it be worth it for me to write up an article on the wiki on how to > re-create messed up metadata? > Hey - I was planning to do that! :-) Seriously, yes of course, please do. That would be wonderful. It belongs best after "Recovering a damaged RAID" in the "When things go Wrogn" section, i think. Just skim the contribution guidelines before you start, they're nothing onerous, just use good English and use "I" a lot, take responsibility for what you write. It's meant to be easy reading but informative. A case study of what you did would be marvelous. I need to edit the page about that script you ran, and put a big big warning in front of it not to run it recklessly :-) (Contact me off-line if you haven't got an account and have difficulty creating one.) Cheers, Wol