linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reversing parity recalculation on out-of-order RAID 6 array
@ 2015-07-18  3:16 Steven Reddie
  2015-07-18  5:33 ` Mikael Abrahamsson
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Reddie @ 2015-07-18  3:16 UTC (permalink / raw)
  To: linux-raid

Hi,

Continuing from the "mdadm --create parameter ordering" thread, I now
want to reverse the effects of recreating the array with the disks
specified in the incorrect order.

Are there existing tools that will help with this?

I've had a quick play around with nbd and I'm confident that I can
write an nbd client that will effectively reorder the underlying disks
and recalculate the parity blocks to present 5 pseudo devices that
look like the original disks. I could then attempt to start an array
via those nbd devices and mount/check the filesystem. This approach
would also allow me to ensure that access to the physical disks is
readonly, and implement copy-on-write if necessary to support this.
I'm kind of hoping that all of this might have already been done, so
any pointers would be appreciated.

[BTW, I also expect that I'll have to mess with metadata and
superblocks, but first need to solve the problem above.]

Thanks,

Steven

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

end of thread, other threads:[~2015-07-19  2:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-18  3:16 Reversing parity recalculation on out-of-order RAID 6 array Steven Reddie
2015-07-18  5:33 ` Mikael Abrahamsson
2015-07-18  8:35   ` Steven Reddie
2015-07-18 11:43     ` Mikael Abrahamsson
2015-07-19  2:26       ` Steven Reddie

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