hello all

when trying to create a VM using a RAW image on a zfs filesystem, i get an 
"invalid argument" error.

has anyone made this work? is it a known issue and/or is there a workaround?




more detail:

- i can create the VM on a ext4 filesystem
- i can create the VM on a ZFS zvol ("raw" device - too slow, however)
- linux is centos 6 (2.6.32-71.el6.x86_64 )
- zfsonlinux is v0.6.0 (http://zfsonlinux.org)
- qemu-kvm is v0.12.1.2 ; release  2.113.el6_0.8
- copying the VM disk from ext4fs to zfs & then running it results in a similar 
error


disk creation line was:

# qemu-img create -f raw elveros_001.raw 15G


full error was:
Unable to complete install '<class 'libvirt.libvirtError'> internal error 
Process exited while reading console log output: char device redirected to 
/dev/pts/3
qemu: could not open disk image /space/vm_store/elveros_001.raw: Invalid 
argument

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1561, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 973, in 
start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1038, in 
_do_install
    "install")
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1009, in 
_create_guest
    dom = self.conn.createLinux(start_xml, 0)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1270, in 
createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)



any suggestions in getting ZFS as the vm_store, working with decent performance 
?

tia

p

--
peter lees

 --
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to