<div dir="ltr"><div>unionfs sounds like it may work.  <br><br></div>Not sure what you mean by &quot;tree&quot;?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 6:56 PM, Robert Hajime Lanning <span dir="ltr">&lt;<a href="mailto:lanning@lanning.cc" target="_blank">lanning@lanning.cc</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 04/05/13 15:33, Jay Vyas wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi guys:<br>
<br>
BTW thanks for the insights regarding locality .  Now I have a new<br>
stupid question for you:<br>
<br>
Namespace federation !<br>
<br>
Say I have two gluster volumes, and I want to access both volumes from<br>
the same mount point.<br>
<br>
It would be cool if there was a &quot;gluster volume federate volA volB<br>
supervol&quot;, which created a new volume that read/wrote to supervol/volA<br>
super/volB transparently.<br>
<br>
But in the absence of such a command, could I just federate two gluster<br>
namespaces using the mount command? Would there be nasty hidden overhead<br>
and costs to this?<br>
<br>
i.e. something like:<br>
<br>
mount -o /tmp/supermount/subA /submount/a<br>
mount -o /tmp/supermount/subB /submount/b<br>
<br>
Or maybe you could do the equivalent with symlinks?<br>
</blockquote>
<br></div></div>
Are you wanting to mix namespaces or make a tree?<br>
<br>
A tree is easy:<br>
/mnt/vola<br>
/mnt/volb<br>
<br>
If you want to mix namespaces (i.e. have the roots mingle so an ls show files from both), that is not possible.<br>
<br>
In linux you might be able to hack something with unionfs, but I am not sure.<br>
<br>
You won&#39;t be able to have a server mount both, then us them as bricks in a &quot;super volume&quot;, as the xattrs will clash.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Mr. Flibble<br>
King of the Potato People<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Jay Vyas<br><a href="http://jayunit100.blogspot.com" target="_blank">http://jayunit100.blogspot.com</a>
</div>