From owner-freebsd-fs@FreeBSD.ORG Tue Dec 13 15:41:54 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3163D1065679 for ; Tue, 13 Dec 2011 15:41:54 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id E11C78FC16 for ; Tue, 13 Dec 2011 15:41:53 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAPZx506DaFvO/2dsb2JhbABDFoRxpyCBcgEBAQQBAQEgKyALGw4KAgINGQIpAQkmBggHBAEcBIdjpC6RVIEvgkSGX4EWBIgwihyCJZJH X-IronPort-AV: E=Sophos;i="4.71,345,1320642000"; d="scan'208";a="148305194" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 13 Dec 2011 10:41:52 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id DAB92B3FB5; Tue, 13 Dec 2011 10:41:52 -0500 (EST) Date: Tue, 13 Dec 2011 10:41:52 -0500 (EST) From: Rick Macklem To: Johan Hendriks Message-ID: <1888801930.136947.1323790912860.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <4EE73135.2080702@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.202] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org Subject: Re: FreeBSD 9.0 and NFS async X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 15:41:54 -0000 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"