M
MitchL
Guest
We have 2 server machines (Server1, Server2), they backup each other using keepalived. We have NFS servers (nfs-kernel-server) running on each of servers.
We have a client PC which mounts NFS share like this:
192.168.16.166 - is a keepalived interface for both servers.
When we shut down Server1 - NFS mounting breaks like this:
If we remount just after this - everything works ok, I can see files from Server2. Something breaks when keepalived switches servers.
Is there a way to fix that?
We have a client PC which mounts NFS share like this:
Code:
192.168.16.166:/var/acsd on /misc/acsd type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=1200,retrans=2,sec=sys,clientaddr=192.168.26.67,local_lock=none,addr=192.168.16.166)
When we shut down Server1 - NFS mounting breaks like this:
Code:
ls: cannot open directory .: Stale NFS file handle
Is there a way to fix that?