
On Mon, Feb 11, 2013 at 04:14:38PM +0100, Nicolas Ecarnot wrote:
Hi,
I find it hard to find any information about the way I have to follow to convert/import a vmdk/qcow/raw/etc... single disk into an oVirt disks list.
I know how to use virt-v2v to import complete VMs (disk AND config), but don't know how to handle a single data disk.
Assuming it's a data disk with no operating system on it, then it's very likely the internal filesystem requires no conversion at all, so it's outside the scope of virt-v2v. However the disk format might need to be converted, eg. from VMDK to qcow2. You can do this using 'qemu-img convert' or VMware's vdiskmanager program. I'm not sure about how you would import a disk into oVirt. I guess that copying it onto the Export Storage Domain won't work because oVirt will expect a full guest config. Do you intend to attach this data disk to some existing VM? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v