public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* RAID-6 and write hole with write-intent bitmap
@ 2020-11-24  7:20 Mukund Sivaraman
  2020-11-24 10:10 ` Wols Lists
  0 siblings, 1 reply; 7+ messages in thread
From: Mukund Sivaraman @ 2020-11-24  7:20 UTC (permalink / raw)
  To: linux-raid

Hi all

I am trying to setup a MD RAID-6 array and use the ext4 filesystem in
ordered mode (default) on it. The data gets backed up periodically. I
want the array to be always available.

I prefer not using a write-journal if it is sufficient for my usage. I
want to use the write-intent bitmap only. AIUI the write-hole problem
occurs when there is a crash or abrupt power off *and* disk failures.

* After a crash or abrupt power off, the write-intent bitmap is used to
  rewrite parity where necessary. If there is no disk failure during
  this period, is the RAID-6 array guaranteed to recover without
  corruption?

  With RAID-6, will recovery with write-intent bitmap succeed with 1
  disk failure during the recovery period without a write-journal? i.e.,
  is there a possibility of write hole with 1 disk failure in a RAID-6
  array?

* With RAID-6 with write-intent bitmap in use, ext4 in ordered mode, no
  disk failures, and abrupt power loss, is there any chance of data loss
  in files other than those being written to just before the power loss?

(Apologies if these are silly questions, but I request answers.)

		Mukund

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

end of thread, other threads:[~2020-11-28  2:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-24  7:20 RAID-6 and write hole with write-intent bitmap Mukund Sivaraman
2020-11-24 10:10 ` Wols Lists
2020-11-24 18:50   ` Mukund Sivaraman
2020-11-24 20:16     ` Piergiorgio Sartor
2020-11-24 21:30     ` antlists
2020-11-28  1:57     ` Nix
2020-11-28  1:51   ` Nix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox