[Gluster-devel] Stale NFS file handle, then EINVAL

Emmanuel Dreyfus manu at netbsd.org
Wed Jul 20 09:59:16 UTC 2011

On Tue, Jul 19, 2011 at 08:05:07PM +0200, Emmanuel Dreyfus wrote:
> Another bug: first find complains of a stale NFS filehandle
> find: /gfs/usr/src/tools/binutils/../../gnu/dist/binutils/cpu/sh.opc: Stale
> NFS file handle

Increasing the log level helps: ESTALE happens here in client3_1_lookup_cbk()

        if ((!uuid_is_null (inode->gfid))  
            && (uuid_compare (stbuf.ia_gfid, inode->gfid) != 0)) {
                gf_log (frame->this->name, GF_LOG_DEBUG,
                        "gfid changed for %s", local->loc.path);
                rsp.op_ret = -1;    
                op_errno = ESTALE;  
                goto out;

But what does that mean, and how to fix it?

Emmanuel Dreyfus
manu at netbsd.org

More information about the Gluster-devel mailing list