<p dir="ltr"></p>
<p dir="ltr">-Atin<br>
Sent from one plus one<br>
On Nov 27, 2015 11:01 PM, &quot;Mountrakis, Michael&quot; &lt;<a href="mailto:michael.mountrakis@sap.com">michael.mountrakis@sap.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi team<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; I have a special case here: I am trying to create a glusterFS volume from NFS mounts offered by third party.<br>
&gt;<br>
&gt; But it fails. The long story has as follows:<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; I have two 50 GB NFS volumes offered from two data centres:<br>
&gt;<br>
&gt; In DC1:<br>
&gt;<br>
&gt; sbox1.mydomain:/q_files<br>
&gt;<br>
&gt; IN DC2:<br>
&gt;<br>
&gt; sbox2.mydomain:/q_files<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; I dont have even ssh access to those sboxes so I cannot install or do anything, but I am allowed to mount their directories with r/w over tcp.<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; I have setup  a pair of VM nodes running glusterFs. One node on DC1, one on DC2.<br>
&gt;<br>
&gt; On each of MY nodes, I mount the offered NFS partitions:<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; The node in DC1  mybox1.mydomain.corp mounts the partition from DC1 machine:<br>
&gt;<br>
&gt; mount -t nfs sbox1.mydomain:/q_files   /nfs<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; The node in DC2 mybox2.mydomain.corp mounts the partition from DC2 machine:<br>
&gt;<br>
&gt; mount -t nfs sbox2.mydomain:/q_files   /nfs<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; I do the peering normally…<br>
&gt;<br>
&gt; root@ mybox1:~ # gluster peer probe mybox2.mydomain<br>
&gt;<br>
&gt; peer probe: success. Host mybox2.mydomain port 24007 already in peer list<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; ok so far – no problem.<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; Then I try to create a glusterFS volume from those mounts:<br>
&gt;<br>
&gt; root@ mybox1:~ # gluster volume create mynfs replica 2 mybox1.mydomain:/nfs mybox2.mydomain:/nfs force<br>
&gt;<br>
&gt; volume create: contentstore_nfs: failed: Glusterfs is not supported on brick: mybox1.mydomain:/nfs.<br>
&gt;<br>
&gt; Setting extended attributes failed, reason: Operation not supported.<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; I get this message: Operation not supported.<br>
Underlying file system of gluster bricks need extended attribute support and hence this failure.<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; The question is obvious:<br>
&gt;<br>
&gt; Does GlusterFS supports such an operation? In other words, can I create a glusterFS volume from bricks created from NFS mounts?<br>
&gt;<br>
&gt; If it is feasible, can you please specify what am I doing wrong?<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; Best Regards<br>
&gt;<br>
&gt; mike<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</p>