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 458CCC433EF for ; Thu, 31 Mar 2022 17:07:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234089AbiCaRIq (ORCPT ); Thu, 31 Mar 2022 13:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233878AbiCaRIo (ORCPT ); Thu, 31 Mar 2022 13:08:44 -0400 Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55DB61EC9A2 for ; Thu, 31 Mar 2022 10:06:56 -0700 (PDT) Received: from host86-155-180-61.range86-155.btcentralplus.com ([86.155.180.61] helo=[192.168.1.218]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1nZyG6-00031L-4Y; Thu, 31 Mar 2022 18:06:54 +0100 Message-ID: Date: Thu, 31 Mar 2022 18:06:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Trying to rescue a RAID-1 array Content-Language: en-GB To: bruce.korb+reply@gmail.com, linux-raid@vger.kernel.org References: From: Wols Lists In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org On 31/03/2022 17:44, Bruce Korb wrote: > I moved the two disks from a cleanly shut down system that could not > reboot and could not > be upgraded to a new OS release. So, I put them in.a new box and did an install. > The installation recognized them as a RAID and decided that the > partitions needed a > new superblock of type RAID-0. That's worrying, did it really write a superblock? > Since these data have never been > remounted since the > shutdown on the original machine, I am hoping I can change the RAID > type and mount it > so as to recover my. .ssh and .thunderbird (email) directories. The > bulk of the data are > backed up (assuming no issues with the full backup of my critical > data), but rebuilding > and redistributing the .ssh directory would be a particular nuisance. > > SO: what are my options? I can't find any advice on how to tell mdadm > that the RAID-0 partitions > really are RAID-1 partitions. Last gasp might be to "mdadm --create" > the RAID-1 again, but there's > a lot of advice out there saying that it really is the last gasp > before giving up. :) > https://raid.wiki.kernel.org/index.php/Asking_for_help Especially lsdrv. That tells us a LOT about your system. What was the filesystem on your raid? Hopefully it's as simple as moving the "start of partition", breaking the raid completely, and you can just mount the filesystem. What really worries me is how and why it both recognised it as a raid, then thought it needed to be converted to raid-0. That just sounds wrong on so many levels. Did you let it mess with your superblocks? I hope you said "don't touch those drives"? Cheers, Wol