All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Florian Dazinger <flockmock@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: reshape success story
Date: Sun, 31 Oct 2010 14:19:13 +0000	[thread overview]
Message-ID: <4CCD7AE1.8000705@anonymous.org.uk> (raw)
In-Reply-To: <AANLkTinnaRECf9grA6-VEAg7YNvN6M4cHWKBYsfj4v6B@mail.gmail.com>

On 31/10/2010 13:41, Florian Dazinger wrote:
[...]
> Unlike what I excpected from the man-page,
> I had network traffic during the *whole* reshape-process, not just at
> the beginning.

Perhaps the man page needs updating then. The backup file is only used 
at the beginning for grows, or at the end for shrinks, but a same-size 
reshape (as yours was, going from 4-disc RAID-6 to 3-disc RAID-5) needs 
to back up everything because there's no spare space.

Of course when the man page section on reshaping and the use of the 
backup file was originally written, changing RAID level wasn't 
supported, and nor were shrinks, so the backup file was only used for 
grows, so it was only used at the beginning.

If I've got the above right (someone please correct me if I'm not) 
perhaps I could make a modest contribution (for a change) by updating/ 
patching the man page...

Actually that makes me wonder: the man page says spare devices can be 
used for the backup if there are any. Is that still true with all the 
grows, shrinks and level-changing reshape options we have now? I'd 
expect that method of backup to be (slightly) faster than putting the 
backup on a filesystem (even on a local disc).

> thank you very much for all the good work and user support on this list!!

It is nice to hear positive feedback, but at the same time I tend to 
think that since there must be millions of users of md/mdadm, it's 
pretty encouraging that there are only one or two "arghs" per day...

Cheers,

John.

  reply	other threads:[~2010-10-31 14:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31 13:41 reshape success story Florian Dazinger
2010-10-31 14:19 ` John Robinson [this message]
2010-10-31 15:46   ` Neil Brown
2010-11-02  1:14     ` John Robinson
2010-11-02  6:11       ` Upgraded grub, now confused about mirrored /boot Guy Watkins
2010-11-02 14:20         ` Leslie Rhorer
2010-11-02 15:23         ` John Robinson
2010-11-05  1:42           ` Guy Watkins
2010-11-03  3:11       ` reshape success story Neil Brown

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=4CCD7AE1.8000705@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=flockmock@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.