Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 10:41:52 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Johan Hendriks <joh.hendriks@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: FreeBSD 9.0 and NFS async
Message-ID:  <1888801930.136947.1323790912860.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <4EE73135.2080702@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Johan Hendriks wrote:
> Hello all.
> 
> I used to use async on my 8.x nfs servers!
> On the FreeBSD 9.0 server i can not do it through the old 8.x sysctl.
> 
> Is there an other way to set async on FreeBSD 9.x
> 
You have two choices:
1 - Apply this patch to your NFS server's kernel sources and then set
    vfs.nfsd.async=1
    http://people.freebsd.org/~rmacklem/async.patch

2 - switch to using the old server by setting
    oldnfs_server_enable="YES"
    in your /etc/rc.conf and then setting the sysctl.

I'll assume that you realize that doing this violates the NFS RFCs because
it runs your server in a way where there is a risk of data loss (that the
client won't know to re-write) when the server crashes.

rick
> regards,
> Johan Hendriks
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1888801930.136947.1323790912860.JavaMail.root>