From: Chris Webb <chris@arachsys.com>
To: Martin Lui <linuxdevel@martian111.net>
Cc: Neil Brown <neilb@suse.de>, linux-raid@vger.kernel.org
Subject: Re: Setting /sys/block/mdX/md/rdY/size caps to half the true value of the component device size
Date: Fri, 3 Sep 2010 09:25:30 +0100 [thread overview]
Message-ID: <20100903082527.GR26121@arachsys.com> (raw)
In-Reply-To: <5a6e17cae4572bddfdb55865a43b2c7b.squirrel@webmail.martian111.net>
Martin Lui <linuxdevel@martian111.net> writes:
> I ran into a similar situation as described in your thread (ack in Jun 2008):
> http://marc.info/?l=linux-raid&m=121381509915920&w=2
>
> First off, thank you both for your time to make this feature work. Since
> I've increased the partition size of my RAID partition, I too needed to
> grow my array and component devices. To do that, I attempted to use the
> feature implemented in this patch:
> http://marc.info/?l=linux-raid&m=121434960912711&w=2
[...]
> However, it seems that the value applied by this method is half the
> actual/correct value.
Hi Martin. I'm afraid I haven't used this feature with recent kernels
because the structure of our storage system changed so as not to require it.
At the time, it definitely worked correctly, updating the component size at
runtime, but I think there has been some work to unify the units (512 byte
sectors vs 1kb blocks) of the various internals of the md driver since then.
Perhaps this code wasn't updated to match the units change elsewhere? It's
quite rarely used I think.
Do you see this behaviour for both metadata formats 0.90 and 1.x?
Best wishes,
Chris.
prev parent reply other threads:[~2010-09-03 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-02 6:59 Setting /sys/block/mdX/md/rdY/size caps to half the true value of the component device size Martin Lui
2010-09-03 8:25 ` Chris Webb [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=20100903082527.GR26121@arachsys.com \
--to=chris@arachsys.com \
--cc=linux-raid@vger.kernel.org \
--cc=linuxdevel@martian111.net \
--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).