Skip to contentSkip to conversation

Fix 'vgreduce --removemissing' on stacked mirror

PATCH New Jun'ichi Nomura 1 participant 1 message Jan 17, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Fix 'vgreduce --removemissing' on stacked mirror

'vgreduce --removemissing' is similar to lvconvert but is different in:
- it removes any mirror images, not specifying the number
- all images may be removed from the mirrored LV
- mirrored LV itself may be removed

reconfigure_mirror_images() is the underlying function of vgreduce.

However, even with the recent patches of mine, reconfigure_mirror_images() doesn't work well for stacked mirror.

Attached patch fixes it.

Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-vgreduce-removemissing-on-stacked-mirror.patch
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080117/20e1c4ac/attachment.ksh>