All of lore.kernel.org
 help / color / mirror / Atom feed
* Assemble the previously replaced components of a previously created array into an active array
@ 2017-06-21 20:15 LM
  0 siblings, 0 replies; only message in thread
From: LM @ 2017-06-21 20:15 UTC (permalink / raw)
  To: Linux RAID

Hi,

I replaced all component devices of my RAID5 like in the example below:

mdadm /dev/md/test --add-spare /dev/loop20 --replace /dev/loop10 --with /dev/loop20
mdadm /dev/md/test --add-spare /dev/loop21 --replace /dev/loop11 --with /dev/loop21
mdadm /dev/md/test --add-spare /dev/loop22 --replace /dev/loop12 --with /dev/loop22
mdadm /dev/md/test --add-spare /dev/loop23 --replace /dev/loop13 --with /dev/loop23
mdadm /dev/md/test --remove /dev/loop10 /dev/loop11 /dev/loop12 /dev/loop13

Now one of my new disks failed. I currently rebuilding the RAID with the
failed disk hoping that the reason for failure has been resolved.

But I wonder if I could just:

1) power down the machine
2) replace all for disks by the removed old (and functioning) disks
3) assemble the old RAID

This would be a great relief, because no relevant data changed since the
replacement. However, the RAID has been in use during the replacement
and this makes me worry that the RAID cannot be assembled using the old
disks due to data inconsistency.

Best,
Lars

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-21 20:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-21 20:15 Assemble the previously replaced components of a previously created array into an active array LM

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.