From: Tudor Holton <tudor@smartguide.com.au>
To: Andrea Bolandrina <andrea.bola@yahoo.it>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Best size partition for a mdadm array
Date: Mon, 27 May 2013 13:36:05 +1000 [thread overview]
Message-ID: <51A2D4A5.6000907@smartguide.com.au> (raw)
In-Reply-To: <CAOsORH9X6L+EZY5DEDfwbWkHPgL6Oz9yGC1JWf0nejLckVJg=w@mail.gmail.com>
Hi Andrea,
I noticed your question wasn't answered, so I'll give it a shot. Bear in
mind that I'm relatively new here, so take everything I say with a pinch
of salt. :-)
At some point in the past, manufacturers of hard disks released disks
with the same "marketing" size but different actual capacities. For
example, instead of 1TB being a 1 Tebibyte 2^40 (1,099,511,627,776
bytes), they sold lower capacity drives by using a different base. 1TB
could be 1000GB (10^3*2^30 = 1,073,741,824,000 bytes), 1024GB (2^10*10^9
= 1,024,000,000,000 bytes) or even a "true" Terabyte at 10^12 bytes
(1,000,000,000,000 bytes). If we were swapping brands, and moved from a
2^40 to a 10^12 model, then our array wouldn't fit anymore. :-(
These days, things are a bit clearer as people understand the
differences between the Terabytes and Tebibytes.
Thankfully, most modern disk sizes are standardised, but still with some
small variances. It would be wise to look at the drives you have
purchased and look at the actual storage capacity then take the lowest
one and use that. You may want to add in some additional buffer, also,
just in case.
I hope that helps you make your decision. :-)
Cheers,
Tudor.
On 24/05/13 19:25, Andrea Bolandrina wrote:
> Hi All,
>
> In choosing the right size for a mdadm array the manual sais:
> "Sometimes a replacement drive can be a little smaller than the
> original drives though this should be minimised by IDEMA standards.
> Such a replacement drive will be rejected by md.
> To guard against this it can be useful to set the initial size
> slightly smaller than the smaller device with the aim that it will
> still be larger than any replacement."
>
> I want to do a 5x2TB md (raid 6) array .
> Could you advise me how "slightly smaller" should my partitions be?
>
> 100MB smaller than the actual size? 1GB?
>
> Thank in advance for the attention.
>
> Regards,
> Andrea
> --
> 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
next prev parent reply other threads:[~2013-05-27 3:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 9:25 Best size partition for a mdadm array Andrea Bolandrina
2013-05-27 3:36 ` Tudor Holton [this message]
2013-05-27 8:38 ` Andrea Bolandrina
2013-05-27 9:11 ` Adam Goryachev
2013-05-27 9:34 ` Roman Mamedov
2013-05-27 9:44 ` Andrea Bolandrina
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=51A2D4A5.6000907@smartguide.com.au \
--to=tudor@smartguide.com.au \
--cc=andrea.bola@yahoo.it \
--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.