(1/3) Check cow != origin in commands
PATCH 1/1 (1/3) Check cow != origin in commands
Hi,
Currently we can do this strange thing:
# lvconvert -s testvg/lvol0 testvg/lvol0 Logical volume lvol0 converted to snapshot.
It means testvg/lvol0 is both origin and cow of the snapshot.
Once we create such a LV, we cannot remove it.
lvconvert should check its parameter and
the attached patch does it.
Thanks,
Signature · 8 lines
Jun'ichi Nomura, NEC Corporation of America -------------- next part -------------- A non-text attachment was scrubbed... Name: lvm2-lvconvert-snapshot-not-to-accept-origin-for-cow.patch Type: text/x-patch Size: 686 bytes Desc: not available URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20070809/2a89f3e9/attachment.bin>