[virt-tools-list] [libvirt-users] I can't virt-clone into an existing LVM now (ERROR: clone onto existing storage volume is not supported:) - i could in previous lbvirt versions? (deployment scripts no longer work...)

Richard W.M. Jones rjones at redhat.com
Thu Jul 12 22:02:15 UTC 2012


On Wed, Jul 11, 2012 at 08:38:31AM -0600, Eric Blake wrote:
> On 07/11/2012 04:36 AM, Morgan Cox wrote:
> > 'ERROR    Clone onto existing storage volume is not supported:
> > '/dev/vgpool/test'
> 
> virt-clone is a separate package from libvirt, I'm hoping that someone
> on the virt-tools-list has more insight into whether this was an
> accidental regression.

I think an important thing to point out is that virt-clone is just a
fancy way of copying (ie. dd) the data, plus it makes a handful of
changes to the libvirt config.  You can do most of this by alternate
means.

> > Previously could just make a 20GB partition and use virt-resize to
> > expand into - using the above method I would have to increase the
> > LVM to the value I want minus the size of the template..  i.e I
> > have to specify - the amount to increase by, rather than the final
> > size I want.... The templates also change size (when I update
> > them, etc) which would mean re-writting the script after every
> > update.

So I'm not really clear why you don't just use virt-resize as before.
There's not much point in doing virt-clone + virt-resize, since
virt-resize itself does a copy.

Maybe you should explain exactly what overall goal you're trying to
achieve, instead of how you're currently trying to do it.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the virt-tools-list mailing list