linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: John Robinson <john.robinson@anonymous.org.uk>
Cc: "Raphael Müller" <rapmue@gmail.com>,
	"Linux RAID" <linux-raid@vger.kernel.org>
Subject: Re: change from raid 5 to raid 6 interrupted
Date: Sat, 23 Apr 2011 08:06:13 +1000	[thread overview]
Message-ID: <20110423080613.14189094@notabene.brown> (raw)
In-Reply-To: <4DB19D67.1040809@anonymous.org.uk>

On Fri, 22 Apr 2011 16:23:19 +0100 John Robinson
<john.robinson@anonymous.org.uk> wrote:

> (Please always remember to cc the list when replying; cc readded)
> 
> On 22/04/2011 16:09, Raphael Müller wrote:
> > Ok i forgot to say, that the backup file is also gone... (my mistake)
> >
> > is this backup file the only option i got?
> 
> Without the backup file you've almost certainly lost some data. I 
> suspect there is a way of restarting the array and reshape without the 
> backup file, but I don't know what it is - you'll have to wait for a 
> proper guru to get back to you with an answer.
> 

With mdadm 3.2.1 there is a new flag "--invalid-backup".  It tells mdadm that
you know that the backup file is invalid, but you want it to continue anyway
(and risk having some corrupted data).

You still need to give a backup file, but it can be a newly created empty
file.

So:
  # install mdadm 3.2.1
  > /root/my-backup
  mdadm -A /dev/mdthing --backup-file=/root/my-backup  \
  --invalid-backup /dev/device1 /dev/device2 ....

should get you going again.

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-04-22 22:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTikntFUK5rX1oTynY849=o-GuDL2Yg@mail.gmail.com>
2011-04-22 14:49 ` change from raid 5 to raid 6 interrupted Raphael Müller
2011-04-22 15:05   ` John Robinson
     [not found]     ` <BANLkTi=4i67qxZ9ymD+VpuCszPzby57d8w@mail.gmail.com>
2011-04-22 15:23       ` John Robinson
2011-04-22 22:06         ` NeilBrown [this message]
2011-04-23 15:23           ` Raphael Müller

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=20110423080613.14189094@notabene.brown \
    --to=neilb@suse.de \
    --cc=john.robinson@anonymous.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=rapmue@gmail.com \
    /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).