[Fedora-xen] virt-clone/Fedora 8/Xen3.1 ... ERROR: Disk size must be an int or a float.

Daniel P. Berrange berrange at redhat.com
Tue Feb 12 17:52:40 UTC 2008


On Tue, Feb 12, 2008 at 10:47:40PM +0500, Asrai khn wrote:
> On Feb 12, 2008 10:35 PM, Daniel P. Berrange <berrange at redhat.com> wrote:
> 
> >
> > It won't care what type of storage the original VM is using - it'll
> > simply read the data off the original disk whether its a file or
> > block device or LVM vol.
> >
> > If you want to use LVM volumes in the destination VM, then you currently
> > need to manually create the LVM volume ahead of time - virt-clone itself
> > will not create new LVM volumes for you. This is in the future feature
> > list though, once libvirt storage management APIs are merged.
> >
> >
> thanks, one more question what will be the virt-clone command to clone
> existing vm which FS is based on loop back files and using more then one
> file for root. var, and swap eg here is the entry from /etc/xen/vm.cfg which
> we are using

Yes it is quite happy dealing with multiple disks, and doesn't care what
driver is being used (phy:, file:, tap:aio: - this only affects guest,
not the way you access files).  Just use the '-f' flag multiple times
if you have many disks.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the Fedora-xen mailing list