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

Ok thank you =D now it works again. but at very slow speed (~4000kb/s)
normally this array brings nearly 70Mb/s.

I tried different performance related stuff, like stripe_cache_size,
readaheadbuffer but nothing could bring better performance.

And i noticed that the newly added drive now is listed as spare
rebuilding. is this normal?

thanks

Raphael

2011/4/23 NeilBrown <neilb@suse.de>:
> 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-23 15:23 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
2011-04-23 15:23           ` Raphael Müller [this message]

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='BANLkTi=vYT+3FQoxWjZ2VG9xgFTLXKiC0Q@mail.gmail.com' \
    --to=rapmue@gmail.com \
    --cc=john.robinson@anonymous.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).