> shell> echo 10.1.1.2 > /proc/fs/nfsd/unlock_ip > shell> echo /mnt/sfs1 > /proc/fs/nfsd/unlock_filesystem > > The expected sequence of events can be: > 1. Tear down the IP address
You might consider using iptables at this point for dropping outgoing packets with that source IP address to catch any packet still in flight. It fixed ESTALE problems for me IIRC (NFSv3, UDP). > 2. Unexport the path > 3. Write IP to /proc/fs/nfsd/unlock_ip to unlock files > 4. If unmount required, write path name to > /proc/fs/nfsd/unlock_filesystem, then unmount. > 5. Signal peer to begin take-over. > -- Frank