<font size=3 color=blue face="Times New Roman">Hello,</font>
<br>
<br><font size=3 color=blue face="Times New Roman">After upgrading from
3.4.2 to 3.5.3, I noticed that all my NFS clients (mounted over tcp) on
remote nodes turned stale. I investigated this and got the following recurrent
logs from the NFS server:</font>
<br>
<br><font size=2 face="Courier New">[2015-02-23 20:40:25.834071] W [nfs3-helpers.c:3401:nfs3_log_common_res]
0-nfs-nfsv3: XID: 7ead95cb, GETATTR: NFS: 10001(Illegal NFS file handle),
POSIX: 14(Bad address)</font>
<br><font size=2 face="Courier New">[2015-02-23 20:40:25.834167] E [nfs3.c:301:__nfs3_get_volume_id]
(--&gt;/usr/lib64/glusterfs/3.5.3/xlator/nfs/server.so(nfs3_getattr+0x4cb)
[0x7fc728b3631a] (--&gt;/usr/lib64/glusterfs/3.5.3/xlator/nfs/server.so(nfs3_getattr_reply+0x37)
[0x7fc728b35873] (--&gt;/usr/lib64/glusterfs/3.5.3/xlator/nfs/server.so(nfs3_request_xlator_deviceid+0xb0)
[0x7fc728b357ba]))) 0-nfs-nfsv3: invalid argument: xl</font>
<br><font size=2 face="Courier New">[2015-02-23 20:40:25.834801] E [nfs3.c:840:nfs3_getattr]
0-nfs-nfsv3: </font><font size=2 color=#c20000 face="Courier New"><b>Bad
Handle</b></font>
<br>
<br><font size=3 color=blue face="Times New Roman">Upon investigation,
it seems to me that the trouble is with procedure nfs3_fh_validate(). In
3.4.2, the validation is against the following identifiers:</font>
<br>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT0 &nbsp; &nbsp;
&nbsp; &nbsp; ':'</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT1 &nbsp; &nbsp;
&nbsp; &nbsp; 'O'</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT_SIZE &nbsp;
&nbsp; (sizeof(char) * 2)</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_STATIC_SIZE &nbsp;
&nbsp;(GF_NFSFH_IDENT_SIZE + (2*sizeof (uuid_t)))</font>
<br>
<br><font size=3 color=blue face="Times New Roman">While, on 3.5.3, this
has expanded to</font>
<br>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT0 &nbsp; &nbsp;
&nbsp; &nbsp; ':'</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT1 &nbsp; &nbsp;
&nbsp; &nbsp; 'O'</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT2 &nbsp; &nbsp;
&nbsp; &nbsp; 'G'</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT3 &nbsp; &nbsp;
&nbsp; &nbsp; 'L'</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_IDENT_SIZE &nbsp;
&nbsp; (sizeof(char) * 4)</font>
<br><font size=2 face="Courier New">#define GF_NFSFH_STATIC_SIZE &nbsp;
&nbsp;(GF_NFSFH_IDENT_SIZE + (2*sizeof (uuid_t)))</font>
<br>
<br><font size=3 color=blue face="Times New Roman">Due to this, I have
to unmount+mount all my nfs clients to get them back into service. Could
somebody help me understand why this change was introduced (maybe a reference
of the bug ID)? Also, any chance that there's a way to get around this?
</font>
<br>
<br><font size=3 color=blue face="Times New Roman">Thank you in advance
for your suggestions.</font>
<br>
<br><font size=3 color=blue face="Times New Roman">Anirban</font>
<br><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p>