linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* recommending RAID6 over RAID5 when doing mdadm --create
@ 2013-11-11  7:44 Mikael Abrahamsson
  2013-11-11  8:24 ` Tommy Apel
  2013-11-11  8:56 ` Stan Hoeppner
  0 siblings, 2 replies; 7+ messages in thread
From: Mikael Abrahamsson @ 2013-11-11  7:44 UTC (permalink / raw)
  To: linux-raid


Hi,

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.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recommending RAID6 over RAID5 when doing mdadm --create
  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
  1 sibling, 0 replies; 7+ messages in thread
From: Tommy Apel @ 2013-11-11  8:24 UTC (permalink / raw)
  To: Mikael Abrahamsson; +Cc: linux-raid Raid, Tommy Apel

2013/11/11 Mikael Abrahamsson <swmike@swm.pp.se>:
>
> Hi,
>
> 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.
>
> --
> Mikael Abrahamsson    email: swmike@swm.pp.se
> --
> 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

Hello,

May I suggest that aswell for arrays with more than 5 drives aswell ?

-- 

/Tommy

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recommending RAID6 over RAID5 when doing mdadm --create
  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-12  2:52   ` NeilBrown
  1 sibling, 2 replies; 7+ messages in thread
From: Stan Hoeppner @ 2013-11-11  8:56 UTC (permalink / raw)
  To: Mikael Abrahamsson, linux-raid

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






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recommending RAID6 over RAID5 when doing mdadm --create
  2013-11-11  8:56 ` Stan Hoeppner
@ 2013-11-11  9:37   ` Tommy Apel
  2013-11-11 11:37     ` joystick
  2013-11-12  2:52   ` NeilBrown
  1 sibling, 1 reply; 7+ messages in thread
From: Tommy Apel @ 2013-11-11  9:37 UTC (permalink / raw)
  To: stan; +Cc: Mikael Abrahamsson, linux-raid Raid, Tommy Apel

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
>
>
>
>
>
> --
> 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

Good point Stan,
maybe even "are you sure you really want to do this? (see mdadm(8) for
further information)" when creating the array

-- 

/Tommy

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recommending RAID6 over RAID5 when doing mdadm --create
  2013-11-11  9:37   ` Tommy Apel
@ 2013-11-11 11:37     ` joystick
  0 siblings, 0 replies; 7+ messages in thread
From: joystick @ 2013-11-11 11:37 UTC (permalink / raw)
  To: Tommy Apel; +Cc: stan, Mikael Abrahamsson, linux-raid Raid

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recommending RAID6 over RAID5 when doing mdadm --create
  2013-11-11  8:56 ` Stan Hoeppner
  2013-11-11  9:37   ` Tommy Apel
@ 2013-11-12  2:52   ` NeilBrown
  2013-11-12  7:12     ` Giovanni Tessore
  1 sibling, 1 reply; 7+ messages in thread
From: NeilBrown @ 2013-11-12  2:52 UTC (permalink / raw)
  To: stan; +Cc: Mikael Abrahamsson, linux-raid

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

On Mon, 11 Nov 2013 02:56:37 -0600 Stan Hoeppner <stan@hardwarefreak.com>
wrote:

> 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.
> 

.. or in md(4) maybe.

If anyone wants to run with this and send me a patch (for code and
documentation) I would be very likely to apply it.

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: recommending RAID6 over RAID5 when doing mdadm --create
  2013-11-12  2:52   ` NeilBrown
@ 2013-11-12  7:12     ` Giovanni Tessore
  0 siblings, 0 replies; 7+ messages in thread
From: Giovanni Tessore @ 2013-11-12  7:12 UTC (permalink / raw)
  To: linux-raid

On 11/12/2013 03:52 AM, NeilBrown wrote:
> On Mon, 11 Nov 2013 02:56:37 -0600 Stan Hoeppner <stan@hardwarefreak.com>
> wrote:
>
>> 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.
>>
> .. or in md(4) maybe.
>
> If anyone wants to run with this and send me a patch (for code and
> documentation) I would be very likely to apply it.
>
> NeilBrown

That issue (RAID5 going fully down during resync of degraded array if 
read errors occur) hasn't been addressed by the badblocks log feature 
available in later kernels and mdadm ?
Yet, it is not clear to me if the fetaure is fully implemented and 
operational.

Regards
Giovanni


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-11-12  7:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-11-12  2:52   ` NeilBrown
2013-11-12  7:12     ` Giovanni Tessore

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).