<div dir="ltr">maybe it would be nice to see your volume info for affected volumes.<div><br></div><div>Also, on the server side, what happens if you mount the share using glusterfs instead of nfs ?</div><div><br></div><div>
any change the native nfs server is running on your server ?</div><div><br></div><div>Are there any auto-heal processes running ?</div><div><br></div><div>There are a few name resolution messages on your logs, that seem to refer to the nodes themselves. Any DNS conflicts ? Maybe add the names of servers to the hosts file ?&nbsp;</div>
<div><br></div><div>You MS client seems to be having issues with user/group translation. It seems to create files with gid 1003. (I could be wrong).</div><div><br></div><div>Again, is SElinux/ACLs/iptables disabled ?</div>
<div><br></div><div>All is very inconclusive os far.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 31, 2014 at 5:26 PM, VAN CAUSBROECK Wannes <span dir="ltr">&lt;<a href="mailto:Wannes.VANCAUSBROECK@onprvp.fgov.be" target="_blank">Wannes.VANCAUSBROECK@onprvp.fgov.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto">
<div>Well, with &#39;client&#39; i do actually mean the server itself.</div>
<div>i&#39;ve tried forcing linux and windows to nfs V3 and tcp, and on windows i played around with the uid and gid, but the result is always the same<br>
<br>
<div><br>
</div>
</div><div><div class="h5">
<div><br>
On 31 Mar 2014, at 17:22, &quot;Carlos Capriotti&quot; &lt;<a href="mailto:capriotti.carlos@gmail.com" target="_blank">capriotti.carlos@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Well, saying your client-side is &quot;linux&quot; does not help much. Distro, flavor, etc helps a lot, but I&#39;ll take a wild guess here.
<div><br>
</div>
<div>First, force your NFS mount (client) to use nfs version 3.&nbsp;</div>
<div><br>
</div>
<div>The same for Microsoft. (It is fair to say I have no idea if the MS client supports v4 or not).</div>
<div><br>
</div>
<div>Additionally, check that firewalls are disabled on both sides, just for testing. The same goes for SElinux.</div>
<div><br>
</div>
<div>Windows and ACL, and user mapping is something that might be in your way too. There is a Technet document that describes how to handle this mapping if I am not wrong.<br>
<br>
</div>
<div>Just for testing, mount your nfs share you your own server, using localhost:/nfs_share and see how it goes.</div>
<div><br>
</div>
<div>It is a good start.</div>
<div><br>
</div>
<div>Kr,</div>
<div><br>
</div>
<div>Carlos</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Mar 31, 2014 at 3:58 PM, VAN CAUSBROECK Wannes <span dir="ltr">
&lt;<a href="mailto:Wannes.VANCAUSBROECK@onprvp.fgov.be" target="_blank">Wannes.VANCAUSBROECK@onprvp.fgov.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR-BE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US">Hello all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I&rsquo;ve already tried to post this, but i&rsquo;m unsure it arrived to the mailing list.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have some issues regarding my nfs mounts. My setup is as follows:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Rhel 6.4, gluster 3.4.2-1 running on a vm (4 cores, 8GB ram) attached to a san. I have one disk on which are all the bricks (formatted ext4 in 64 bit mode) of 25TB.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">On the gluster side of things, everything works without issues. The trouble starts when I mount a volume as an nfs mount.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Lots of volumes work without issues, but others behave strangely. The volumes that act weird generally contain many files (can be accidental?).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The volumes in question mount without issues, but when I try to go into any subdirectory sometimes it works, sometimes I get errors.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">On windows with nfs client: access denied<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">In nfslog:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.771241] I [dht-layout.c:638:dht_layout_normalize] 0-caviar_data11-dht: found anomalies in &lt;gfid:c8d94120-6851-46ea-9f28-c629a44b1015&gt;. holes=1 overlaps=0<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.771348] E [nfs3-helpers.c:3595:nfs3_fh_resolve_inode_lookup_cbk] 0-nfs-nfsv3: Lookup failed: &lt;gfid:c8d94120-6851-46ea-9f28-c629a44b1015&gt;: Invalid argument<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.771380] E [nfs3.c:1380:nfs3_lookup_resume] 0-nfs-nfsv3: Unable to resolve FH: (<a href="http://192.168.148.46:984" target="_blank">192.168.148.46:984</a>) caviar_data11 : c8d94120-6851-46ea-9f28-c629a44b1015<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.771819] W [nfs3-helpers.c:3380:nfs3_log_common_res] 0-nfs-nfsv3: XID: 1ec28530, LOOKUP: NFS: 22(Invalid argument for operation), POSIX: 14(Bad address)<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.798967] I [dht-layout.c:638:dht_layout_normalize] 0-caviar_data11-dht: found anomalies in &lt;gfid:14972193-1039-4d7a-aed5-0d7e7eccf57b&gt;. holes=1 overlaps=0<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.799039] E [nfs3-helpers.c:3595:nfs3_fh_resolve_inode_lookup_cbk] 0-nfs-nfsv3: Lookup failed: &lt;gfid:14972193-1039-4d7a-aed5-0d7e7eccf57b&gt;: Invalid argument<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.799056] E [nfs3.c:1380:nfs3_lookup_resume] 0-nfs-nfsv3: Unable to resolve FH: (<a href="http://192.168.148.46:984" target="_blank">192.168.148.46:984</a>) caviar_data11 : 14972193-1039-4d7a-aed5-0d7e7eccf57b<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 13:57:58.799088] W [nfs3-helpers.c:3380:nfs3_log_common_res] 0-nfs-nfsv3: XID: 1ec28531, LOOKUP: NFS: 22(Invalid argument for operation), POSIX: 14(Bad address)<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">&hellip;.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">On linux:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@lpr-nas01 brick-xiv2]# ll /media/2011/201105/20110530/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">ls: /media/2011/201105/20110530/37: No such file or directory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">total 332<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&hellip;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">drwxrwsr-x 2 nfsnobody 1003 4096 Jun&nbsp; 6&nbsp; 2011 32<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">drwxrwsr-x 2 nfsnobody 1003 4096 Jun&nbsp; 6&nbsp; 2011 34<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">drwxrwsr-x 2 nfsnobody 1003 4096 Jun&nbsp; 6&nbsp; 2011 35<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">drwxrwsr-x 2 nfsnobody 1003 4096 Jun&nbsp; 6&nbsp; 2011 36<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">drwxrwsr-x 2 nfsnobody 1003 4096 Jun&nbsp; 6&nbsp; 2011 37<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&hellip;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@lpr-nas01 brick-xiv2]# ll /media/2011/201105/20110530/37<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">ls: /media/2011/201105/20110530/37/NN.0000073824357.00001.tif: No such file or directory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">ls: /media/2011/201105/20110530/37/NN.0000073824357.00003.tif: No such file or directory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">total 54<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">-rwxrwxr-x 0 nfsnobody 1003&nbsp; 9340 Jun&nbsp; 6&nbsp; 2011 NN.0000073824357.00001.tif<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">-rwxrwxr-x 1 nfsnobody 1003 35312 Jun&nbsp; 6&nbsp; 2011 NN.0000073824357.00002.tif<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">-rwxrwxr-x 0 nfsnobody 1003&nbsp; 9340 Jun&nbsp; 6&nbsp; 2011 NN.0000073824357.00003.tif<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I see in the nfslog:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&hellip;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[2014-03-31 12:44:18.941083] I [dht-layout.c:638:dht_layout_normalize] 0-caviar_data11-dht: found anomalies in /2011/201107/20110716/55. holes=1 overlaps=0<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 12:44:18.958078] I [dht-layout.c:638:dht_layout_normalize] 0-caviar_data11-dht: found anomalies in /2011/201107/20110716/30. holes=1 overlaps=0<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 12:44:18.959980] I [dht-layout.c:638:dht_layout_normalize] 0-caviar_data11-dht: found anomalies in /2011/201107/20110716/90. holes=1 overlaps=0<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 12:44:18.961094] E [dht-helper.c:429:dht_subvol_get_hashed] (--&gt;/usr/lib64/glusterfs/3.4.2/xlator/debug/io-stats.so(io_stats_lookup+0x157) [0x7fd6a61282e7] (--&gt;/usr/lib64/libglusterfs.so.0(default_lookup+0x6d)
 [0x3dfe01c03d] (--&gt;/usr/lib64/glusterfs/3.4.2/xlator/cluster/distribute.so(dht_lookup+0xa7e) [0x7fd6a656af2e]))) 0-caviar_data11-dht: invalid argument: loc-&gt;parent<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[2014-03-31 12:44:18.961283] W [client-rpc-fops.c:2624:client3_3_lookup_cbk] 0-caviar_data11-client-0: remote operation failed: Invalid argument. Path: &lt;gfid:00000000-0000-0000-0000-000000000000&gt; (00000000-0000-0000-0000-000000000000)<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 12:44:18.961319] E [acl3.c:334:acl3_getacl_resume] 0-nfs-ACL: Unable to resolve FH: (<a href="http://192.168.151.21:740" target="_blank">192.168.151.21:740</a>) caviar_data11 : 00000000-0000-0000-0000-000000000000<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">[2014-03-31 12:44:18.961338] E [acl3.c:342:acl3_getacl_resume] 0-nfs-ACL: unable to open_and_resume<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">&hellip;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The weirdest thing is it changes from time to time which files and directories work and which don&rsquo;t
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Any ideas?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks!<u></u><u></u></span></p>
</div>
</div>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div></div></div>

</blockquote></div><br></div>