Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: Claudiu Rad-Lohanel <jazzman@misalpina.net>
Cc: Phil Turmel <philip@turmel.org>, linux-raid@vger.kernel.org
Subject: Re: recovering failed and unrecognizable RAID5 during mdadm --grow without backup
Date: Fri, 13 May 2016 16:39:23 +0200	[thread overview]
Message-ID: <20160513143923.GA23787@EIS.leimen.priv> (raw)
In-Reply-To: <3b4ae5f5-af19-744b-cab3-aad317ea3a82@misalpina.net>

On Fri, May 13, 2016 at 05:26:02PM +0300, Claudiu Rad-Lohanel wrote:
> 1. i can't find any documentation anywhere about the --revert-reshape 
> option. how should the command look like? is it available in v3.3.2?

IIRC it's --assemble --update=revert-reshape and it's not mentioned 
in the man page...
 
> 2. is it safe?

Theoretically...
You could do this with overlays.

https://raid.wiki.kernel.org/index.php/Recovering_a_failed_software_RAID#Making_the_harddisks_read-only_using_an_overlay_file

That's what I'd also recommend when running fsck... 
all of these things write on your disks without providing an undo function.

Regards
Andreas Klauer

  reply	other threads:[~2016-05-13 14:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12  6:22 recovering failed and unrecognizable RAID5 during mdadm --grow without backup Claudiu Rad
2016-05-12 18:58 ` Phil Turmel
2016-05-12 20:09   ` Claudiu Rad-Lohanel
2016-05-12 20:23     ` Phil Turmel
     [not found]       ` <7cf56631-7909-6a92-f0b2-05dd02722ee8@misalpina.net>
2016-05-13 14:04         ` Phil Turmel
2016-05-13 14:11           ` Phil Turmel
2016-05-13 14:26             ` Claudiu Rad-Lohanel
2016-05-13 14:39               ` Andreas Klauer [this message]
2016-05-13 15:33                 ` Claudiu Rad-Lohanel

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=20160513143923.GA23787@EIS.leimen.priv \
    --to=andreas.klauer@metamorpher.de \
    --cc=jazzman@misalpina.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=philip@turmel.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