Red Hat Bugzilla – Bug 1006062
thin pool mda device swapping doesn't work
Last modified: 2013-10-16 08:17:10 EDT
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
I'm closing this one as duplicate of Bug #1007074. This BZ added few more checks when metadata could be swapped.
It relates to this BZ as well - since if the thin-pool would be inactive,
not activation for swapped thin-pool is made.
However if someone tries to activate thin-pool with incorrect metadata,
he needs to deal with consequences - which currently may enforce user
to manually remove devices from dm table.
So if the 'newMDA' doesn't have valid metadata, the user will need to swap back valid metadata for the snapper_thinp/POOL device - or has to manually remove entries from dm table and vgcfgrestore metadata without any appearance of the POOL in them (thin data & metadata and thin volumes removed).
Swapping is only meant to be used for manual recovery of damaged pool (which may eventually be stacked over raids).
*** This bug has been marked as a duplicate of bug 1007074 ***