From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Klauer Subject: Re: restore 3disk raid5 after raidpartitions have been setup with xfs filesystem by accident Date: Wed, 21 Sep 2016 21:00:35 +0200 Message-ID: <20160921190035.GA6949@metamorpher.de> References: <20160921171511.GA6381@metamorpher.de> <20160921180318.GA6633@metamorpher.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Simon Becks Cc: Linux-RAID List-Id: linux-raid.ids On Wed, Sep 21, 2016 at 08:31:23PM +0200, Simon Becks wrote: > Maybe i just assembled it in the wrong order? Yes, or maybe the superblock was overwritten by XFS after all. You could check what's at offset 1M for each disk. losetup --find --show --read-only --offset=$((2048*512)) /the/disk file -s /dev/loop42 If the superblock was still intact it should say ext4 or whatever your filesystem was for at least one of them. You can also try this for the disk you removed 2 month ago. If that is not the case and fsck with backup superblock also is not successful then you'll have to see if you find anything valid in the raw data. Regards Andreas Klauer