All of lore.kernel.org
 help / color / mirror / Atom feed
* Why not just return an error?
@ 2016-10-06 23:32 Dark Penguin
  2016-10-07  5:26 ` keld
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Dark Penguin @ 2016-10-06 23:32 UTC (permalink / raw)
  To: linux-raid

Greetings!

The more I read about md-raid, the more I notice that the biggest 
problem of it: if you hit an error on a degraded RAID, it falls apart. 
Because of this, it is possible to lose a huge amount of data due to one 
tiny read error, which particularly makes raid5 the sword of Damocles.

But one question keeps me increasingly frustrated. Yes, during its 
normal functioning, it totally makes sense to kick a faulty device out 
of an array. But if we're running a degraded array, and doing so will 
definitely result is massive data loss, why not just return a read error 
instead? Just add a little check: on error, if degraded -> then just 
return an error. I believe this is the dream of everyone who had ever 
dealt with RAIDs.

With RAID, the first proprity is keeping data safe. Yes, it's not an 
alternative to backups and all that, but still - if we hit an error on a 
degraded array, the array should scream and panic and send all kinds of 
warnings, but definitely NOT collapse and warrant a visit to the RAID 
recovery laboratory (or this mailing list). Imagine how much headache 
and lost hair would that relieve!..

Now, I'm probably not the first one to think of such a bright idea. So 
there must be a very good reason why this is not possible; I don't think 
the problem is just that "the existing behaviour is preferred, and 
anyone who does not agree is an idiot". If not for enterprise use, then 
at least it would be very useful for the "home archive" scenario when 
"uptime" and "absense of errors" hold much less meaning than "losing one 
file and not all the data". So, why is this not possible?..


-- 
darkpenguin

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

end of thread, other threads:[~2016-10-11 10:15 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 23:32 Why not just return an error? Dark Penguin
2016-10-07  5:26 ` keld
2016-10-07  8:21   ` Rudy Zijlstra
2016-10-07  9:30     ` keld
2016-10-07 11:21 ` Andreas Klauer
2016-10-07 14:43   ` Phil Turmel
2016-10-07 16:23     ` Dark Penguin
2016-10-07 16:52       ` Phil Turmel
2016-10-07 17:44         ` Dark Penguin
2016-10-07 18:41           ` Phil Turmel
2016-10-07 20:39             ` Dark Penguin
2016-10-07 23:11             ` Edward Kuns
2016-10-10 20:47           ` Anthony Youngman
2016-10-10 21:37             ` Andreas Klauer
2016-10-10 21:55               ` Wols Lists
2016-10-11  4:00                 ` Brad Campbell
2016-10-11  9:18                   ` Wols Lists
2016-10-11 10:01                     ` Brad Campbell
2016-10-11 10:15                       ` Wols Lists
2016-10-10 22:10             ` Wakko Warner
2016-10-07 14:19 ` Phil Turmel

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.