i&#39;m having difficulty running KVM virtual machines off of a glusterFS volume mounted using the glusterFS client. i am running centOS 6, 64-bit.  <br><br>i am using virt-install to create my images but encountering the following error:<br>
<br>qemu: could not open disk image /mnt/myreplicatestvolume/testvm.img: Invalid argument<br>(see below for a more lengthy version of the error)<br><br>i have found an example of someone else having this issue as well but no solution was offered (<a href="http://gluster.org/pipermail/gluster-users/2011-February/006731.html">http://gluster.org/pipermail/gluster-users/2011-February/006731.html</a>). i also found the following FAQ entry that states that NFS should be used to store VM images (<a href="http://www.gluster.org/faq/index.php?sid=36929&amp;lang=en&amp;action=artikel&amp;cat=3&amp;id=5&amp;artlang=en">http://www.gluster.org/faq/index.php?sid=36929&amp;lang=en&amp;action=artikel&amp;cat=3&amp;id=5&amp;artlang=en</a>)<br>
<br>i would prefer to use the glusterFS client for the automatic fail-over that it offers. is this possible? <br><br>i am creating the VM as follows:<br><br>sudo virt-install --name testvm --ram 4096 --os-type=&#39;linux&#39; --os-variant=rhel5.4 --disk path=/mnt/myreplicatestvolume/testvm.img,size=50 --network bridge:br0 --accelerate --vnc --mac=54:52:00:A1:B2:C3 --location <a href="http://server/centos/5.4/os/x86_64/">http://server/centos/5.4/os/x86_64/</a> -x &quot;ks=<a href="http://server/kscfg/testvm.cfg">http://server/kscfg/testvm.cfg</a>&quot; --uuid=00000000-0000-0000-0000-000000000001 --vcpus=4<br>
<br>full text of error:<br><br>Starting install...<br>Retrieving file vmlinuz...                                                                                                                                                              | 3.7 MB     00:00 ...<br>
Retrieving file initrd.img...                                                                                                                                                           |  14 MB     00:00 ...<br>ERROR    internal error process exited while connecting to monitor: char device redirected to /dev/pts/5<br>
qemu: could not open disk image /mnt/myreplicatestvolume/testvm.img: Invalid argument<br><br>Domain installation does not appear to have been<br> successful.  If it was, you can restart your domain<br> by running &#39;virsh start testvm&#39;; otherwise, please<br>
 restart your installation.<br>ERROR    internal error process exited while connecting to monitor: char device redirected to /dev/pts/5<br>qemu: could not open disk image /mnt/myreplicatestvolume/testvm.img: Invalid argument<br>
Traceback (most recent call last):<br>  File &quot;/usr/bin/virt-install&quot;, line 1054, in &lt;module&gt;<br>    main()<br>  File &quot;/usr/bin/virt-install&quot;, line 936, in main<br>    start_time, guest.start_install)<br>
  File &quot;/usr/bin/virt-install&quot;, line 978, in do_install<br>    dom = install_func(conscb, progresscb, wait=(not wait))<br>  File &quot;/usr/lib/python2.6/site-packages/virtinst/Guest.py&quot;, line 973, in start_install<br>
    return self._do_install(consolecb, meter, removeOld, wait)<br>  File &quot;/usr/lib/python2.6/site-packages/virtinst/Guest.py&quot;, line 1038, in _do_install<br>    &quot;install&quot;)<br>  File &quot;/usr/lib/python2.6/site-packages/virtinst/Guest.py&quot;, line 1009, in _create_guest<br>
    dom = self.conn.createLinux(start_xml, 0)<br>  File &quot;/usr/lib64/python2.6/site-packages/libvirt.py&quot;, line 1270, in createLinux<br>    if ret is None:raise libvirtError(&#39;virDomainCreateLinux() failed&#39;, conn=self)<br>
libvirtError: internal error process exited while connecting to monitor: char device redirected to /dev/pts/5<br>qemu: could not open disk image /mnt/myreplicatestvolume/testvm.img: Invalid argument<br><br>