linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.net>
To: Eli Ben-Shoshan <eli@benshoshan.com>
Cc: linux-raid@vger.kernel.org, John Stoffel <john@stoffel.org>
Subject: Re: Accidentally resized array to 9
Date: Sat, 30 Sep 2017 00:50:05 +0500	[thread overview]
Message-ID: <20170930005005.68beae8b@natsu> (raw)
In-Reply-To: <fec79486-8f23-74dd-9c62-4f89ac00b95d@benshoshan.com>

On Fri, 29 Sep 2017 10:53:57 -0400
Eli Ben-Shoshan <eli@benshoshan.com> wrote:

> I am just hoping that there might be a way that I can get the 
> data back.

In theory what you did was cut the array size to only use 9 KB of each device,
then reshaped THAT tiny array from 8 to 9 devices, with the rest left
completely untouched.

So you could try removing the "new" disk, then try --create --assume-clean
with old devices only and --raid-devices=8.

But I'm not sure how you would get the device order right.

Ideally what you can hope for, is you would get the bulk of array data intact,
only with the first 9 KB of each device *(8-2), so about the first 54 KB of
data on the md array, corrupted and unusable. It is likely the LVM and
filesystem tools will not recognize anything due to that, so you will need to
use some data recovery software to look for and save the data.

-- 
With respect,
Roman

  reply	other threads:[~2017-09-29 19:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-29  4:23 Accidentally resized array to 9 Eli Ben-Shoshan
2017-09-29 12:38 ` John Stoffel
2017-09-29 14:47   ` Eli Ben-Shoshan
2017-09-29 19:33     ` John Stoffel
2017-09-29 21:04       ` Eli Ben-Shoshan
2017-09-29 21:17         ` John Stoffel
2017-09-29 21:49           ` Eli Ben-Shoshan
2017-09-29 12:55 ` Roman Mamedov
2017-09-29 14:53   ` Eli Ben-Shoshan
2017-09-29 19:50     ` Roman Mamedov [this message]
2017-09-30 16:21       ` Phil Turmel
2017-09-30 16:29         ` Roman Mamedov
2017-09-30 23:30         ` John Stoffel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170930005005.68beae8b@natsu \
    --to=rm@romanrm.net \
    --cc=eli@benshoshan.com \
    --cc=john@stoffel.org \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).