snip... > > throwing "stale nfs file handle" errors. My assumption is > that these are the > > result of ESTALE being returned by the server and that the > system doesn't > > understand how to handle this gracefully and reopen the files. > >
What you need to do is mount the nfs state directory from shared storage. nfs1:~# ls -la /var/lib/nfs lrwxrwxrwx 1 root root 14 2006-07-24 08:22 /var/lib/nfs -> /mnt/state/nfs nfs1:~# You'll also want to use the -n option to statd, putting the virtual hostname as a parameter. This way the state will work from either host. When the failover nfs server comes online, it uses this state data and common hostname, and it will pick up the task without so much as a hiccup. I'm doing this currently on Debian GNU/Linux, but the concept is exactly the same and should be very similar on OBSD. -C

