[lvm-devel] [PATCH 1/2] Fix 'vgreduce --removemissing' on stacked mirror

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Thu Jan 17 08:38:05 UTC 2008


'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>


More information about the lvm-devel mailing list