From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: what superblock to use
Date: Mon, 20 Apr 2009 16:17:02 +0200 [thread overview]
Message-ID: <20090420141702.GC17461@maude.comedia.it> (raw)
In-Reply-To: <49EC7B22.8070805@lfarkas.org>
On Mon, Apr 20, 2009 at 03:39:46PM +0200, Farkas Levente wrote:
>hi,
>what's the current recommended superblock to use for a newly created
>raid5-6 array with 6 pieces of 1tb disk? by default mdamd use 0.90. is
>it worth to change it to any 1.x format?
0.9 has some limitations that 1.x do not have, none apply in your case
max_components = 28
max_size of component=2TB
1.x lifts those limitation
my stance would be going to 1.2
1.1 puts the superblock at the start of the device, this will prevent
the kernel from finding a partition table or fs superblock on the first
component device
1.2 puts the superblock 4k from start, thus preventing anything that
tries to touch the mbr from damaging it.
if you put the sb at the start of the device lilo and grub wont be able
to boot from it, but then they won't be able to boot of a raid5/6
anyway.
>anyway is there any advantage of a raid6 over raid5+1spare disk? afaik
>raid5 will be faster and use less cpu and both case 2 disk can failed.
>thanks in advance.
raid6 prevents two possible risks in raid5+spare
first:
when using a spare, you are never certain it is in perfect
working order, smart may help, or it might not.
second:
when a device fails a rebuild process starts using the spare drive
if during the rebuild a second device fails or has any error you risk
losing data.
the first problem could be solved by using raid5e, which md does not
support yet
the second can be minimized by 'scrubbing' via
/sys/block/md*/md/sync_action
regards,
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2009-04-20 14:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 13:39 what superblock to use Farkas Levente
2009-04-20 14:10 ` Andrew Burgess
2009-04-20 14:17 ` Luca Berra [this message]
2009-04-20 19:39 ` Leslie Rhorer
2009-04-20 21:24 ` Luca Berra
2009-04-20 14:17 ` Mario 'BitKoenig' Holbe
2009-04-21 17:31 ` H. Peter Anvin
2009-04-22 16:26 ` Leslie Rhorer
2009-04-21 14:20 ` Bill Davidsen
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=20090420141702.GC17461@maude.comedia.it \
--to=bluca@comedia.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 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).