转发: file operation is interruptedwhenusing ctdb+nfs
martin at meltin.net
Mon Jan 8 05:58:31 UTC 2018
On Sat, 6 Jan 2018 18:01:24 +0800 (CST), "zhu.shangzhong--- via
samba-technical" <samba-technical at lists.samba.org> wrote:
> I try to remove the node 192.168.1.10, and use two nodes to test it.
> The "stale file handle" message will be output also.
> [root at ceph ctdb]# onnode all stat -c '%d:%i' /tmp/test/nfs-test-1.iso
> >> NODE: 192.168.1.11 <<
> >> NODE: 192.168.1.12 <<
> [root at ceph ctdb]# /home/libnfs/examples/nfs-fh nfs://192.168.1.11//nfs-test-1.iso
> [root at ceph ctdb]# /home/libnfs/examples/nfs-fh nfs://192.168.1.12//nfs-test-1.iso
> Now the file handle is identical.
> Because the nfsv4 isn't supported by the CTDB, the mount option nfsvers=3 was used
> when mount the nfs export on the client.
So the problem occurs even with consistent file handles? Hmmm...
* Does the partial file exist in the cluster fileystem when the "stale
file handle" message is printed?
* Is the filesystem mounted after the failover? Can you use "ls" to
list a directory on the client?
* What happens if you disable a node with "ctdb disable"? Do you get a
peace & happiness,
More information about the samba-technical