ZFS and NFS: changing handles between reboots

Zaphod Beeblebrox zbeeble at gmail.com
Mon Mar 30 11:08:10 PDT 2009


On Mon, Mar 30, 2009 at 7:38 AM, Pete French <petefrench at ticketswitch.com>wrote:

> > on any request to previously mounted FS. On UFS, mounted NFS file systems
> > survive server reboots...
>
> Are you sure anout that ? I have a lot of systems sharing files using UFS
> and I see the 'stale NFS file handle' thing if I reboot the server too.
> No ZFS involved there.


Hrnh?  I noticed that the NFS file handle was "stale" when I upgraded from
7.1 to 8.0 ... and I chalked that up to the upgrade changing the calculation
of the cookie that NFS uses for a ZFS share, but reboots of an NFS server
are meant to be transparent to the clients (save the downtime involved).

Typically, stale NFS file handle indicates that the mount the client
currently sees does not have the same hash as the mount it was using.

Seeing this on ZFS would be a bug.  Seeing this on UFS would just be
strange...


More information about the freebsd-stable mailing list