转发: file operation is interruptedwhenusing ctdb+nfs
Martin Schwenke
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 <<
> 40:1099511633885
> >> NODE: 192.168.1.12 <<
> 40:1099511633885
>
> [root at ceph ctdb]# /home/libnfs/examples/nfs-fh nfs://192.168.1.11//nfs-test-1.iso
> 43000be210dd17000000010000feffffffffffffff000000
> [root at ceph ctdb]# /home/libnfs/examples/nfs-fh nfs://192.168.1.12//nfs-test-1.iso
> 43000be210dd17000000010000feffffffffffffff000000
>
> 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
clean failover?
Thanks...
peace & happiness,
martin
More information about the samba-technical
mailing list