From: "NeilBrown" <neilb@suse.de>
To: Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID-6 horizontal grow
Date: Sat, 11 Apr 2009 19:53:54 +1000 (EST) [thread overview]
Message-ID: <bf90f0dca1b3c313c8ef5e74a4648938.squirrel@neil.brown.name> (raw)
In-Reply-To: <20090411082348.GA3983@lazy.lzy>
On Sat, April 11, 2009 6:23 pm, Piergiorgio Sartor wrote:
> Hi again,
>
> I answer to myself.
>
> It seems that the array needs to be assembled
> with "--update devicesize", so that later the
> "--grow --size=max" could really work.
I love it when people find out answers by themselves - it shows the
documentation isn't completely worthless :-)
>
> It also seems that "--update" works only with
> "--assemble".
> Is there any way to update the device size "live",
> i.e. without stopping and re-assembling the array?
> (and without failing/removing/adding components?).
I think so, but mdadm cannot do it for you (yet).
If you
for i in /sys/block/mdX/md/dev-*/size
do echo 0 > $i
done
it will have much the same effect as --assemble --update devicesize
Then you can
--grow --size=max
NeilBrown
next prev parent reply other threads:[~2009-04-11 9:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-10 21:54 RAID-6 horizontal grow Piergiorgio Sartor
2009-04-10 21:58 ` Robin Hill
2009-04-10 22:34 ` Piergiorgio Sartor
2009-04-11 8:23 ` Piergiorgio Sartor
2009-04-11 9:53 ` NeilBrown [this message]
2009-04-11 10:40 ` Piergiorgio Sartor
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=bf90f0dca1b3c313c8ef5e74a4648938.squirrel@neil.brown.name \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=piergiorgio.sartor@nexgo.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