From: joystick <joystick@shiftmail.org>
To: Tommy Apel <tommyapeldk@gmail.com>
Cc: stan@hardwarefreak.com, Mikael Abrahamsson <swmike@swm.pp.se>,
linux-raid Raid <linux-raid@vger.kernel.org>
Subject: Re: recommending RAID6 over RAID5 when doing mdadm --create
Date: Mon, 11 Nov 2013 12:37:47 +0100 [thread overview]
Message-ID: <5280C18B.9060105@shiftmail.org> (raw)
In-Reply-To: <CAGA4a+E-QXnsubz+TysnqjoHU1813FQcZhRSL8qfiB0=FySAHQ@mail.gmail.com>
On 11/11/2013 10:37, Tommy Apel wrote:
> 2013/11/11 Stan Hoeppner <stan@hardwarefreak.com>:
>> On 11/11/2013 1:44 AM, Mikael Abrahamsson wrote:
>>
>>> I believe this has been discussed before, but I would like to bring it
>>> up again.
>>>
>>> I would like to see mdadm recommend RAID6 over RAID6 when using
>>> component drives that are 500GB or larger and ask if the user is really
>>> sure about using RAID5, plus a pointer to a webpage on the wiki
>>> informing the user about the trouble with RAID5 on large volumes with
>>> consumer or prosumer drives.
>>>
>>> I am willing to contribute text to the webpage being pointed to.
>> Wikis change to regularly, too easily. Networks can be down at times,
>> often the worst times. See Murphy's Law.
>>
>> It would be better to put this information in mdadm(8) and refer the
>> user there.
>>
>> --
>> Stan
> Good point Stan,
> maybe even "are you sure you really want to do this? (see mdadm(8) for
> further information)" when creating the array
>
Currently raid6 does not have an implementation for shortcut rmw, so
there is at least one reason to do raid5, and it's not easy to guess for
the average user.
Putting a yes/no confirmation seems exxagerate to me, that would be on
the same warning level of "partition contains metadata of an existing
array", which is a MUCH more serious error message.
The user would be then tempted to use "yes" in front of mdadm create (*)
when copy-pasting lines, and then possibly blow up an existing RAID
without chance to see the confirmation prompt.
(*) I prepare mdadm create lines on a text files and then paste them on
systems, usually many create commands together, I think most people do
the same, because mdadm create lines are too complex to be typed
in-place. If the create commands are to be scripted for any reason, it's
worse, in this case almost certainly the user would use "yes".
I think a simple warning message without confirmation prompt is fair.
The user can repeat the command with raid6 after reading.
Regards
J.
next prev parent reply other threads:[~2013-11-11 11:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-11 7:44 recommending RAID6 over RAID5 when doing mdadm --create Mikael Abrahamsson
2013-11-11 8:24 ` Tommy Apel
2013-11-11 8:56 ` Stan Hoeppner
2013-11-11 9:37 ` Tommy Apel
2013-11-11 11:37 ` joystick [this message]
2013-11-12 2:52 ` NeilBrown
2013-11-12 7:12 ` Giovanni Tessore
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=5280C18B.9060105@shiftmail.org \
--to=joystick@shiftmail.org \
--cc=linux-raid@vger.kernel.org \
--cc=stan@hardwarefreak.com \
--cc=swmike@swm.pp.se \
--cc=tommyapeldk@gmail.com \
/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).