<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, all.<br>
<br>
I am having a problem on my replicated setup where files which are
commonly accessed from different clients (such as ~/.Xauthority) are
returning "Stale file handle" warning and subsequent errors. Access
isn't necessarily concurrent, but within a minute or two.<br>
<br>
In this case, trying to log in with `ssh -X` to a few compute nodes
in our cluster, after the second or third time I see these in the
client's log file:<br>
<br>
<tt>[2014-03-07 09:19:04.187240] W
[client-rpc-fops.c:2624:client3_3_lookup_cbk] 0-homes-client-0:
remote operation failed: Stale file handle. Path:
/aorth/.Xauthority (79f4688e-da1b-4c0e-ae45-ac339f09d581)</tt><tt><br>
</tt><tt>[2014-03-07 09:19:04.187585] W
[client-rpc-fops.c:2624:client3_3_lookup_cbk] 0-homes-client-1:
remote operation failed: Stale file handle. Path:
/aorth/.Xauthority (79f4688e-da1b-4c0e-ae45-ac339f09d581)</tt><tt><br>
</tt><tt>[2014-03-07 09:19:21.820247] W
[client-rpc-fops.c:2624:client3_3_lookup_cbk] 0-homes-client-0:
remote operation failed: Stale file handle. Path:
/aorth/.Xauthority (d5bfeb33-786f-45ca-a533-a23cf0c54216)</tt><tt><br>
</tt><tt>[2014-03-07 09:19:21.820410] W
[client-rpc-fops.c:2624:client3_3_lookup_cbk] 0-homes-client-1:
remote operation failed: Stale file handle. Path:
/aorth/.Xauthority (d5bfeb33-786f-45ca-a533-a23cf0c54216)</tt><tt><br>
</tt><tt>[2014-03-07 09:27:02.426186] W
[client-rpc-fops.c:471:client3_3_open_cbk] 0-homes-client-0:
remote operation failed: No such file or directory. Path:
/aorth/.Xauthority (323ef093-1e18-463b-8544-0faf8b631985)</tt><tt><br>
</tt><tt>[2014-03-07 09:27:02.426517] W
[client-rpc-fops.c:471:client3_3_open_cbk] 0-homes-client-1:
remote operation failed: No such file or directory. Path:
/aorth/.Xauthority (323ef093-1e18-463b-8544-0faf8b631985)</tt><tt><br>
</tt><tt>[2014-03-07 09:27:02.428410] W
[fuse-bridge.c:915:fuse_fd_cbk] 0-glusterfs-fuse: 69684128: OPEN()
/aorth/.Xauthority => -1 (No such file or directory)</tt><br>
<br>
And I've seen the issue happen also when accessing other shared
files within small time spans, like ~/.cpan/CPAN/MyConfig.pm. Other
times I don't see any entries in the log file at all...<br>
<br>
The volume in question (homes) is configured like this:<br>
<blockquote><tt># gluster volume info homes</tt><tt><br>
</tt><tt> </tt><tt><br>
</tt><tt>Volume Name: homes</tt><tt><br>
</tt><tt>Type: Replicate</tt><tt><br>
</tt><tt>Volume ID: 38637fa1-7ef3-4e8d-ace9-8ff81bc8bed9</tt><tt><br>
</tt><tt>Status: Started</tt><tt><br>
</tt><tt>Number of Bricks: 1 x 2 = 2</tt><tt><br>
</tt><tt>Transport-type: tcp</tt><tt><br>
</tt><tt>Bricks:</tt><tt><br>
</tt><tt>Brick1: storage0:/mnt/gfs/storage0/sda1/homes</tt><tt><br>
</tt><tt>Brick2: storage1:/mnt/gfs/storage1/sdb1/homes</tt><tt><br>
</tt><tt>Options Reconfigured:</tt><tt><br>
</tt><tt>nfs.disable: on</tt><tt><br>
</tt></blockquote>
Clients and servers are all running GlusterFS 3.4.2 on CentOS 6.4/5.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Alan Orth
<a class="moz-txt-link-abbreviated" href="mailto:alan.orth@gmail.com">alan.orth@gmail.com</a>
<a class="moz-txt-link-freetext" href="http://alaninkenya.org">http://alaninkenya.org</a>
<a class="moz-txt-link-freetext" href="http://mjanja.co.ke">http://mjanja.co.ke</a>
"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -Bjarne Stroustrup, inventor of C++
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
</pre>
</body>
</html>