<div dir="ltr">Nevermind. Its proxmox and qemu mounting issue.<div>If someone can help, please, write here:</div><div>Need to implement </div><div><a href="http://forum.proxmox.com/threads/19287-GlusterFS-mount-via-web-GUI-and-fstab-what-the-difference?p=99156#post99156">http://forum.proxmox.com/threads/19287-GlusterFS-mount-via-web-GUI-and-fstab-what-the-difference?p=99156#post99156</a><br>
</div><div><br></div><div><br></div><div><span style="color:rgb(51,51,51);font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;font-size:13px;background-color:rgb(250,250,250)">just reading /usr/include/glusterfs/api/glfs.h, function glfs_set_volfile_server():</span><br style="color:rgb(51,51,51);font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;font-size:13px;background-color:rgb(250,250,250)">
<br style="color:rgb(51,51,51);font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;font-size:13px;background-color:rgb(250,250,250)"><div class="" style="margin:5px 20px 20px;padding:0px;color:rgb(51,51,51);font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;font-size:13px;background-color:rgb(250,250,250)">
<div class="" style="margin:0px 10px 10px;padding:0px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border:1px solid rgb(65,115,148);font-style:italic;font-family:Tahoma,Calibri,Verdana,Geneva,sans-serif;background:none rgb(242,246,248)">
<div class="" style="margin:0px;padding:5px 10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px"><div class="" style="margin:0px;padding:0px;width:9px;height:13px;background:url(http://forum.proxmox.com/images/misc/quote-left.png) 0% 50% no-repeat transparent">
</div>NOTE: This API is special, multiple calls to this function with different<br>volfile servers, port or transport-type would create a list of volfile<br>servers which would be polled during `volfile_fetch_attempts()`</div>
</div></div><span style="color:rgb(51,51,51);font-family:Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;font-size:13px;background-color:rgb(250,250,250)">So it should be possible to pass 2 servers - someone just needs to implement that with qemu ...</span><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-26 9:49 GMT+03:00 Roman <span dir="ltr">&lt;<a href="mailto:romeo.r@gmail.com" target="_blank">romeo.r@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I&#39;m using Proxmox for qemu hosts. I&#39;m in situation, where I don&#39;t understand something :)</div><div>when I add gluster storage from Proxmox web GUI, I can install qemu guests without any caching. The mount -l shows me this output:</div>

<div><br></div><div><div>stor1:HA-MED-PVE1-1T on /mnt/pve/HA-MED-PVE1-1T type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)</div><div><br></div><div><br></div><div><br>
</div>
<div>But in this case, if 1 server is down (in case with HA brick), proxmox won&#39;t be able to read configuration from the 1st nor second server (Proxmox only knows about where it should failover for current running guests) and does not able to create new machines using this kind of mount.</div>

<div><br></div><div>If I add mount line like this in fstab:</div><div><div>stor1:HA-MED-PVE1-1T /mnt/pve/HA-MED-PVE1-1T glusterfs defaults,default_permissions,backupvolfile-server=stor2,direct-io-mode=enable,allow_other,max_read=131072         0 0</div>

</div><div><br></div><div>with mount -l now:</div><div><div>stor1:HA-MED-PVE1-1T on /mnt/pve/HA-MED-PVE1-1T type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)</div></div>

<div><br></div><div><br></div><div> I&#39;m getting this error, when trying to start guests:</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:tahoma,arial,verdana,sans-serif;font-size:11px;line-height:16px;white-space:pre-wrap">kvm: -drive file=/mnt/pve/HA-MED-PVE1-1T/images/125/vm-125-disk-1.qcow2,if=none,id=drive-virtio0,format=qcow2,aio=native,cache=none: file system may not support O_DIRECT</span><br>

</div><div>What could be the difference?</div><span class="HOEnZb"><font color="#888888">-- <br>Best regards,<br>Roman.</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>Roman.
</div>