Description of problem: There is new option for creating snapshots with virtual origin (IOW empty origin, created as zero device). (This feature was introduced by taking package from upstream.) Unfortunately that option is broken in lvm2-2.02.46 and when user tries to use it command can cause invisible allocated volumes in metadata. # lvcreate -s -n lvs -L 100M --virtualoriginsize 200M vg_test Internal error: #internal LVs (3) != #LVs (1) + #snapshots (1) + #invisible LVs 0 in VG vg_test # lvs -a LV VG Attr LSize Origin Snap% Move Log Copy% Convert lvs vg_test -wi-a- 100.00M [lvs_vorigin] vg_test vwi-a- 200.00M The option is fully documented so we should fix that functionality (patches are available ustream) or remove this fucntionality from the package. # rpm -q lvm2 lvm2-2.02.46-3.el5.x86_64
Patch in lvm2-2.02.46-4.el5.
The latest build of lvm2-2.02.46-8.el5 passes QA's beta regression tests, however QA doesn't have specific hardware to test this feature other than what was attempted in bug 504877.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1393.html