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 09:50:49 +1000 [thread overview]
Message-ID: <20140412095049.6cce32a6@notabene.brown> (raw)
In-Reply-To: <5347A58B.2060308@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 804 bytes --]
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?
If you subtract about 128Meg from the size of the partitions, round down the
a multiple of the chunk size then multiply by the number of data disks, you
should come quite close.
If you want an exact number, then you really need to create the array.
NeilBrown
>
> Thanks
> --
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2014-04-11 23:50 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 [this message]
2014-04-12 8:12 ` Francis Moreau
2014-04-12 8:24 ` NeilBrown
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=20140412095049.6cce32a6@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 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).