From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C1E0ECAAD4 for ; Mon, 29 Aug 2022 21:45:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229700AbiH2Vpr (ORCPT ); Mon, 29 Aug 2022 17:45:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbiH2Vpq (ORCPT ); Mon, 29 Aug 2022 17:45:46 -0400 Received: from mail.stoffel.org (li1843-175.members.linode.com [172.104.24.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50AFC844F9 for ; Mon, 29 Aug 2022 14:45:45 -0700 (PDT) Received: from quad.stoffel.org (068-116-170-226.res.spectrum.com [68.116.170.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.stoffel.org (Postfix) with ESMTPSA id 45F4C2A458; Mon, 29 Aug 2022 17:45:44 -0400 (EDT) Received: by quad.stoffel.org (Postfix, from userid 1000) id D3C33A7E39; Mon, 29 Aug 2022 17:45:43 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <25357.13191.843087.630097@quad.stoffel.home> Date: Mon, 29 Aug 2022 17:45:43 -0400 From: "John Stoffel" To: Peter Sanders Cc: John Stoffel , Phil Turmel , Wols Lists , NeilBrown , linux-raid@vger.kernel.org Subject: Re: RAID 6, 6 device array - all devices lost superblock In-Reply-To: References: <70e2ae22-bbba-77a4-c9bc-4c02752f4cb7@youngman.org.uk> <4a414fc6-2666-302f-8d3d-08eb7a2986fc@turmel.org> <25355.47062.897268.3355@quad.stoffel.home> <25355.50871.743993.605394@quad.stoffel.home> X-Mailer: VM 8.2.0b under 27.1 (x86_64-pc-linux-gnu) Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org >>>>> "Peter" == Peter Sanders writes: Peter> Phil, Peter> fstab from the working config - Peter> # Peter> # / was on /dev/sda1 during installation Peter> UUID=50976432-b750-4809-80ac-3bbdd2773163 / ext4 Peter> errors=remount-ro 0 1 Peter> # /home was on /dev/sda6 during installation Peter> UUID=eb93a2c4-0190-41fa-a41d-7a5966c6bc47 /home ext4 Peter> defaults 0 2 Peter> # /var was on /dev/sda5 during installation Peter> UUID=d1aa6d1f-3ee9-48a8-9350-b15149f738c4 /var ext4 Peter> defaults 0 2 Peter> /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 Peter> /dev/sr1 /media/cdrom1 udf,iso9660 user,noauto 0 0 Peter> # raid array Peter> /dev/md0 /mnt/raid6 ext4 defaults 0 2 Peter> No LVM, one large EXT4 partition Peter> I have several large files ( NEF and various mpg files) I can identify Peter> and have backup copies available. Peter> I have the overlays created. 300G for each of the six drives. So that's good. Now you have to try and figure out which order they were created in. As the docs show, you setup the overlayfs on top of each of the six drives. Keep track by noting the drive serial numbers, since Linux can move them around and change drive letters on reboots. Then using the overlays, do an: mdadm --create /dev/md0 --level=raid6 -n 6 /dev/sd[bcdefg] fsck -n /dev/md0 and see what you get. If it doesn't look like a real filesystem, then you can break it down, and then modify the order you give the drive letters, like: /dev/sd[cdefge] and rinse and repeat as it goes. Not fun... but should hopefully fix things for you. John