From: NeilBrown <neilb@suse.de>
To: Francis Moreau <francis.moro@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Guess the size of a RAID{5,6} device
Date: Sat, 12 Apr 2014 18:24:48 +1000 [thread overview]
Message-ID: <20140412182448.3de6d253@notabene.brown> (raw)
In-Reply-To: <5348F550.2040609@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
On Sat, 12 Apr 2014 10:12:00 +0200 Francis Moreau <francis.moro@gmail.com>
wrote:
> Hello Neil,
>
> On 04/12/2014 01:50 AM, NeilBrown wrote:
> > On Fri, 11 Apr 2014 10:19:23 +0200 Francis Moreau <francis.moro@gmail.com>
> > wrote:
> >
> >> Hello,
> >>
> >> I'd like to know if it's possible to get the size of a RAID{5,6} which
> >> is not created yet but the size of the partitions which will make up the
> >> array are.
> >
> > How precise does the "guess" need to be?
> >
>
> I just need an approximation in order to report to user some information
> about the (raided) partition my tool is about to create.
>
> > If you subtract about 128Meg from the size of the partitions, round down the
>
> Just to be sure the size of the partitions is equal to the min size of
> all partitions ?
Correct.
NeilBrown
>
> > a multiple of the chunk size then multiply by the number of data disks, you
> > should come quite close.
>
> Thanks, that should do the trick.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
prev parent reply other threads:[~2014-04-12 8:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 8:19 Guess the size of a RAID{5,6} device Francis Moreau
2014-04-11 23:50 ` NeilBrown
2014-04-12 8:12 ` Francis Moreau
2014-04-12 8:24 ` NeilBrown [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=20140412182448.3de6d253@notabene.brown \
--to=neilb@suse.de \
--cc=francis.moro@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.