All of lore.kernel.org
 help / color / mirror / Atom feed
* Feature request: Add flag for assuming a new clean drive completely dirty when adding to a degraded raid5 array in order to increase the speed of the array rebuild
@ 2022-01-09 14:21 Jaromír Cápík
  2022-01-10  9:00 ` Wols Lists
  0 siblings, 1 reply; 14+ messages in thread
From: Jaromír Cápík @ 2022-01-09 14:21 UTC (permalink / raw)
  To: linux-raid

Good morning everyone.

After a discussion on the kernelnewbies IRC channel I'm asking for taking this
feature request into consideration.
I'd like to see a new mdadm switch --assume-all-dirty or something more
suitable used together with the --add switch, that would increase the MD RAID5
rebuild speed in case of rotational drives by avoiding reading and checking
the chunk consistency on the newly added drive. It would change the rebuild
strategy in such way It would only read from the N-1 drives containing valid
data and only write to the newly added 'empty' drive during the rebuild.
That would increase the rebuild speed significantly in case the array is full
enough so that the parity could be considered inconsistent for most of the
chunks.
In case of huge arrays (48TB in my case) the array rebuild takes a couple of
days with the current approach even when the array is idle and during that
time any of the drives could fail causing a fatal data loss.

Does it make at least a bit of sense or my understanding and assumptions
are wrong?

Thank you,
Jaromir Capik

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

end of thread, other threads:[~2022-01-18 12:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-09 14:21 Feature request: Add flag for assuming a new clean drive completely dirty when adding to a degraded raid5 array in order to increase the speed of the array rebuild Jaromír Cápík
2022-01-10  9:00 ` Wols Lists
2022-01-10 13:38   ` Jaromír Cápík
2022-01-10 14:07     ` Wols Lists
2022-01-11 12:18       ` Jaromír Cápík
     [not found]   ` <CAAMCDec5kcK62enZCOh=SJZu0fecSV60jW8QjMierC147HE5bA@mail.gmail.com>
2022-01-11  9:59     ` Jaromír Cápík
2022-01-11 16:53       ` Roger Heflin
2022-01-12 18:45         ` Jaromír Cápík
2022-01-14 14:10           ` Jaromír Cápík
2022-01-14 17:53             ` Roger Heflin
2022-01-17 17:59               ` Jaromír Cápík
2022-01-17 19:59                 ` Wol
2022-01-18 12:45                   ` Jaromír Cápík
2022-01-14 14:43         ` Jaromír Cápík

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.