NFS safety in 6.1-RELEASE

Dmitry Marakasov amdmi3 at mail.ru
Sun May 21 16:36:55 UTC 2006


* Scott Long (scottl at samsco.org) wrote:
> >So I wanted to ask what's status of NFS for release - was that issue
> >fixed and is it safe to use client and server NFS on 6.1 RELEASE?
> >If there's still data corruption possible, how do I turn off the
> >attribute cache?
> 
> Dang, I meant to document that before the release, sorry.  There are two 
> variants
> that I've seen with 6.1.  One is between a Linux client and a FreeBSD 
> server.  This
> seems to be effectively fixed by using a 2.6.12 or later Linux kernel. 
My cases are 6.0 server - 6.1 client and 6.1 - 6.1

> The other is
> due to any client or server disagreeing on the precision of the 
> timestamps that are
> passed in the attributes.  This disagreement can lead to the attribue 
> cache getting
> confused and returning incorrect data to the caller.  It can be turned 
> off by either
> changing the default timeouts to 0 that are defined in the nfsclient 
> code, or by setting
> the appropriate mount options in mount_nfs as per the man page.
Thanks a lot for the help. Do I get it right that only file attributes may
be currupted, not the data itself?

-- 
Best regards,
 Dmitry                          mailto:amdmi3 at mail.ru


More information about the freebsd-fs mailing list