All of lore.kernel.org
 help / color / mirror / Atom feed
* [LVM2 PATCH] (1/3) Check cow != origin in commands
@ 2007-08-09 17:54 Jun'ichi Nomura
  0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2007-08-09 17:54 UTC (permalink / raw)
  To: lvm-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-09 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 17:54 [LVM2 PATCH] (1/3) Check cow != origin in commands Jun'ichi Nomura

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.