Skip to contentSkip to conversation

Stale NFS file handle

DISCUSSION Székelyi Szabolcs 3 participants 9 messages Feb 13, 2012 – Feb 24, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using Ceph 0.41 with the FUSE client. After a while I get stale NFS file errors when trying to read a file or list a directory. Logs and scrubbing doesn't show any errors or suspicious entries. After remounting the filesystem either by restarting the cluster thus forcing the clients to reconnect or umount+mount, files and directories either show up again or seem lost forever.

Can you give me any hint on what to check?

Thanks,

Signature · 1 line
cc
#1 lore raw
Quoted 7 lines · Székelyi Szabolcs

I'm using Ceph 0.41 with the FUSE client. After a while I get stale NFS file errors when trying to read a file or list a directory. Logs and scrubbing doesn't show any errors or suspicious entries. After remounting the filesystem either by restarting the cluster thus forcing the clients to reconnect or umount+mount, files and directories either show up again or seem lost forever.

Can you give me any hint on what to check?

Are you reexporting NFS, or are you getting ESTALE from the fuse mount itself?

sage

#2 lore raw
Quoted 8 lines · On 2012. February 13. 15:34:13 Sage Weil wrote:
Quoted 7 lines · Székelyi Szabolcs

I'm using Ceph 0.41 with the FUSE client. After a while I get stale NFS file errors when trying to read a file or list a directory. Logs and scrubbing doesn't show any errors or suspicious entries. After remounting the filesystem either by restarting the cluster thus forcing the clients to reconnect or umount+mount, files and directories either show up again or seem lost forever.

Quoted 4 lines
Quoted 1 line

Can you give me any hint on what to check?

Are you reexporting NFS, or are you getting ESTALE from the fuse mount itself?

No, there's no NFS in the picture. The OSDs' backend storage is on a local filesystem. I think it's the FUSE client telling me this.

Signature · 7 lines
cc


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 9 lines · Székelyi Szabolcs
Quoted 8 lines · On 2012. February 13. 15:34:13 Sage Weil wrote:
Quoted 7 lines · Székelyi Szabolcs

I'm using Ceph 0.41 with the FUSE client. After a while I get stale NFS file errors when trying to read a file or list a directory. Logs and scrubbing doesn't show any errors or suspicious entries. After remounting the filesystem either by restarting the cluster thus forcing the clients to reconnect or umount+mount, files and directories either show up again or seem lost forever.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Can you give me any hint on what to check?

Are you reexporting NFS, or are you getting ESTALE from the fuse mount itself?

No, there's no NFS in the picture. The OSDs' backend storage is on a local filesystem. I think it's the FUSE client telling me this.

Okay, that sounds like a bug then. The two interesting things would be a ceph-fuse log (--debug-client 10 --debug-ms 1 --log-file /path/to/log) and an mds log (debug mds = 20, debug ms = 1 in [mds] section of ceph.conf).

sage

#4 lore raw
Quoted 7 lines · On 2012. February 13. 15:54:39 Sage Weil wrote:
Quoted 2 lines · Székelyi Szabolcs

No, there's no NFS in the picture. The OSDs' backend storage is on a local filesystem. I think it's the FUSE client telling me this.

Okay, that sounds like a bug then. The two interesting things would be a ceph-fuse log (--debug-client 10 --debug-ms 1 --log-file /path/to/log) and an mds log (debug mds = 20, debug ms = 1 in [mds] section of ceph.conf).

Thanks, I've set it up, now waiting for it to break. ;)

Signature · 7 lines
cc


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#7 lore raw
In reply to Székelyi Szabolcs

2012/2/13 Székelyi Szabolcs <[email protected]>:

Quoted 7 lines

I'm using Ceph 0.41 with the FUSE client. After a while I get stale NFS file errors when trying to read a file or list a directory. Logs and scrubbing doesn't show any errors or suspicious entries. After remounting the filesystem either by restarting the cluster thus forcing the clients to reconnect or umount+mount, files and directories either show up again or seem lost forever.

Can you give me any hint on what to check?

Is this on a 32-bit machine, by any chance?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
Quoted 11 lines · On 2012. February 13. 17:04:27 Tommi Virtanen wrote:

2012/2/13 Székelyi Szabolcs <[email protected]>:

Quoted 8 lines

I'm using Ceph 0.41 with the FUSE client. After a while I get stale NFS file errors when trying to read a file or list a directory. Logs and scrubbing doesn't show any errors or suspicious entries. After remounting the filesystem either by restarting the cluster thus forcing the clients to reconnect or umount+mount, files and directories either show up again or seem lost forever.

Can you give me any hint on what to check?

Is this on a 32-bit machine, by any chance?

No, all machines run 64-bit kernel and 64-bit userspace.

Signature · 7 lines
cc


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
In reply to Székelyi Szabolcs

2012/2/13 Székelyi Szabolcs <[email protected]>:

Quoted 5 lines
Quoted 3 lines

Okay, that sounds like a bug then.  The two interesting things would be a ceph-fuse log (--debug-client 10 --debug-ms 1 --log-file /path/to/log) and an mds log (debug mds = 20, debug ms = 1 in [mds] section of ceph.conf).

Thanks, I've set it up, now waiting for it to break. ;)

Anything new here? Did you manage to capture logs of the problem? --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 8 lines · On 2012. February 23. 10:43:02 Tommi Virtanen wrote:

2012/2/13 Székelyi Szabolcs <[email protected]>:

Quoted 5 lines
Quoted 4 lines

Okay, that sounds like a bug then. The two interesting things would be a ceph-fuse log (--debug-client 10 --debug-ms 1 --log-file /path/to/log) and an mds log (debug mds = 20, debug ms = 1 in [mds] section of ceph.conf).>

Thanks, I've set it up, now waiting for it to break. ;)

Anything new here? Did you manage to capture logs of the problem?

No, not yet. I suspect that it was not a result of static operation, but was related to some cluster change (nodes going up & down), what hasn't happened since then. I'm still keeping an eye on it.

Signature · 7 lines
cc


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html