On Thu, Nov 20, 2008 at 10:57 PM, Martin Fick <span dir="ltr">&lt;<a href="mailto:mogulguy@yahoo.com">mogulguy@yahoo.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am trying to get glusterfs to work with vservers and I have not yet been successful.<br>
<br>
What I would like to do is export a share from a glusterfs daemon running inside a vserver guest and mount it using the vserver fstab (or fstab.remote) inside another vserver guest on the same host. &nbsp;This does not seem to work, it seems like the mount never reaches the server. &nbsp;I have messed with various other ways (using vserver commands such as vnamespace and secure-mount) to mount it also unsuccessfully.<br>

<br>
Has anyone had success with a similar scenario?<br>
<br>
I know that some people have succeeded in mounting the share from withing a guest itself, but I do not want to do that. &nbsp;I want to make the share available to many guests and I do not want to have to install glusterfs inside each guest. &nbsp;Also there are security implications about this that I do not like.<br>

<br>
Note: I have successfully mounted the share which is exported from a vserver guest on its host. &nbsp;However, I have noticed that the server thinks that the client mounting it is itself, i.e. the logs mention the client by the server IP. &nbsp;Is there a way to force the glusterfs mount to come from a specific IP when a machine potentially has several IPs?<br>

<br>
Thanks,<br>
<br>
-Martin<br>
<br>
I am using glusterfs--mainline--2.5--patch-797 in all cases (clients &amp; servers).<br>
<br>
</blockquote></div><br>Martin,<br><br>it doesn&#39;t matter if you use virtual servers or not. That&#39;s the point with virtual servers. If the network linking them is working GlusterFS will work as it would with real servers. Try to separate where the problem is first. If you think the problem is at GlusterFS please provide more details. What are your config files? What are you doing? What commands are you using? What are you seeing? Otherwise there is no way one can guess what you are doing wrong...<br>
<br>Best regards,<br>Daniel<br>