<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Another invocation of this issue:<br>
    <br>
    E138: Can't write viminfo file /home/aorth/.viminfo!<br>
    <br>
    This happened after using vim on several machines which share the
    same networked /home directory.&nbsp; Usage wasn't concurrent, but within
    10 seconds or so of each other.&nbsp; The client's volume log looks like
    this:<br>
    <br>
    [2014-03-13 07:31:59.961040] W
    [client-rpc-fops.c:526:client3_3_stat_cbk] 0-homes-client-0: remote
    operation failed: No such file or directory<br>
    [2014-03-13 07:31:59.963245] W
    [client-rpc-fops.c:471:client3_3_open_cbk] 0-homes-client-0: remote
    operation failed: No such file or directory. Path: /aorth/.viminfo
    (0f674308-6948-4383-bce7-9598a153d837)<br>
    [2014-03-13 07:31:59.963450] W
    [client-rpc-fops.c:471:client3_3_open_cbk] 0-homes-client-1: remote
    operation failed: No such file or directory. Path: /aorth/.viminfo
    (0f674308-6948-4383-bce7-9598a153d837)<br>
    [2014-03-13 07:31:59.964873] W [fuse-bridge.c:915:fuse_fd_cbk]
    0-glusterfs-fuse: 72528783: OPEN() /aorth/.viminfo =&gt; -1 (No such
    file or directory)<br>
    <br>
    But of course the file exists:<br>
    <br>
    $ ls -l .viminfo <br>
    -rw-------. 1 aorth aorth 12002 Mar 13 10:29 .viminfo<br>
    <br>
    Any help would be appreciated!<br>
    <br>
    Alan<br>
    <br>
    <div class="moz-cite-prefix">On 03/12/2014 02:38 PM, Alan Orth
      wrote:<br>
    </div>
    <blockquote cite="mid:53204720.8080808@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      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.&nbsp;
      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 =&gt; -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.&nbsp;
      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>&nbsp;</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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:alan.orth@gmail.com">alan.orth@gmail.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://alaninkenya.org">http://alaninkenya.org</a>
<a moz-do-not-send="true" 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>
    </blockquote>
    <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>