linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux raid wiki - backup files
@ 2016-11-19 16:03 Wols Lists
  2016-11-20  0:27 ` Phil Turmel
  0 siblings, 1 reply; 10+ messages in thread
From: Wols Lists @ 2016-11-19 16:03 UTC (permalink / raw)
  To: linux-raid

I'm updating the mdadm overview at the moment, and I'm giving examples
for changing raid levels etc.

Is a backup file still required? I get the impression with current
kernels and mdadm, any required backup is put in the space left by "data
offset", or if you're adding a disk it stores it in the space on that disk.

Okay, I'll have to document that older versions still need it, but if
that's not needed any more, I'd rather not emphasize it.

I'd also like to confirm my understanding of how a resize works ...

If the number of raid devices is increased, am I right in thinking that
a new stripe one is created from the old stripes one and two, then
written, then the new stripe two is created from the old two and three,
etc etc? In effect, the data slumps down from the old array into the new?

And of course the reverse when a device is removed - it starts with the
highest stripe, which gets pulled upwards so the old array gets pulled
up into the new?

(And during the reshape, you have a marker of the current stripe being
updated, so any stripes above that get read from one array, and below
they get read from the other.)

Cheers,
Wol

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

end of thread, other threads:[~2016-11-22 23:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-19 16:03 linux raid wiki - backup files Wols Lists
2016-11-20  0:27 ` Phil Turmel
2016-11-20 14:48   ` Wols Lists
2016-11-21 14:07     ` Phil Turmel
2016-11-21 20:22       ` Anthony Youngman
2016-11-21 21:02         ` Phil Turmel
2016-11-21 21:30           ` Anthony Youngman
2016-11-21 21:40             ` Phil Turmel
2016-11-21 22:45         ` NeilBrown
2016-11-22 23:16           ` Anthony Youngman

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