Thanks for the reply Adam, but I've tried also Raw and it had the exact same error when trying to Power On the machine. Does it make any diference if it's IDE or VirtIO and if cache is None or Writethrough ? Regards, Fernando ________________________________________ From: Adam Tygart [mozes at k-state.edu] Sent: 24 June 2012 00:14 To: Fernando Frediani (Qube) Cc: gluster-users at gluster.org Subject: Re: Can't run KVM Virtual Machines on a Gluster volume Fernando, The qcow2 disk format requires the file to be opened with O_DIRECT. This is unsupported in FUSE with a linux kernel below 3.4. You can use the raw disk format, or use https://github.com/avati/liboindirect to catch opens with O_DIRECT and change them to O_SYNC. -- Adam Tygart On Sat, Jun 23, 2012 at 3:16 PM, Fernando Frediani (Qube) <fernando.frediani at qubenet.net> wrote: > I just built a 2 node(4 bricks), Distributed-Replicated and everything > mounts fine. > > Each node mounts using GlusterFS client on its hostname (mount ?t glusterfs > hostname:VOLUME /virtual-machines) > > When creating a new Virtual Machine using virt-manager it creates the file > on the storage, but when trying to power it On, it doesn?t work and gives > back an error message.(See below. Yes the folder has full permission to All > to write.) > > > > Has anyone actually was able to run it fine on Gluster 3.3 ? I get the same > results on VMware ESXi, but I thought that as for KVM using GlusterFS client > that would work fine and better. If I mount the volume as NFS the exact same > thing happens. > > Quiet frustrating !!! > > > > Fernando > > > > Unable to complete install: 'internal error Process exited while reading > console log output: char device redirected to /dev/pts/1 > > qemu-kvm: -drive > file=/virtual-machines/Ubuntu_12.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: > could not open disk image /virtual-machines/Ubuntu_12.img: Permission denied > > ' > > > > Traceback (most recent call last): > > File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in > cb_wrapper > > callback(asyncjob, *args, **kwargs) > > File "/usr/share/virt-manager/virtManager/create.py", line 1903, in > do_install > > guest.start_install(False, meter=meter) > > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1223, in > start_install > > noboot) > > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1291, in > _create_guest > > dom = self.conn.createLinux(start_xml or final_xml, 0) > > File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2064, in > createLinux > > if ret is None:raise libvirtError('virDomainCreateLinux() failed', > conn=self) > > libvirtError: internal error Process exited while reading console log > output: char device redirected to /dev/pts/1 > > qemu-kvm: -drive > file=/virtual-machines/Ubuntu_12.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: > could not open disk image /virtual-machines/Ubuntu_12.img: Permission denied > > > > > > Regards, > > > > Fernando Frediani > > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >