From owner-freebsd-current@FreeBSD.ORG Tue Jul 22 15:28:33 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1860106568E for ; Tue, 22 Jul 2008 15:28:33 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDD28FC17 for ; Tue, 22 Jul 2008 15:28:33 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from [172.17.2.20] (rrcs-74-218-226-253.se.biz.rr.com [74.218.226.253]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id m6MFSVJP025402; Tue, 22 Jul 2008 11:28:32 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: current@freebsd.org, fs@freebsd.org Date: Tue, 22 Jul 2008 11:28:27 -0400 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807221128.27592.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Subject: NFS writes and ZFS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 15:28:33 -0000 I have a FreeBSD server (which I use as a NAS device, among other things)=20 and a FreeBSD deskop. The desktop is running 7-STABLE from a couple days=20 ago and the server is running 8-CURRENT from yesterday. The server has=20 several NFS-exported ZFS'es which I mount from the desktop. Since moving=20 the shares to ZFS I've been having trouble writing to them from the=20 desktop--the mount hangs after the first or second attempt. This is=20 similar if not identical to what's described in the thread=20 (from -current) I partially copied below. Today I discovered that the problem seems to go away if I change the NFS=20 mount options on the desktop. The following is a summary/timeline of what=20 I've tried: 7-STABLE client, no NFS options (defaults); 7-STABLE server, UFS; works 7-STABLE client, no NFS options (defaults); 7-STABLE server, ZFS; broken 7-STABLE client, no NFS options (defaults); 8-CURRENT server, ZFS; broken 7-STABLE client, tcp,nfsv3,-r32768,-w32768; 8-CURRENT server, ZFS, works My litmus test is to run fetch in the NFS directory a couple times since=20 in my typical usage the failure is most apparent when fetching distfiles=20 to the shared ports tree. I didn't do a thorough search but I don't see any open PR's about this=20 issue (though I remember the thread below and other discussions about the=20 same time). Should I submit one? Other than that I just wanted to report that 1) this is apparently (still)= =20 an issue and 2) the NFS flags above seem like a good workaround so far. Thanks, JN > Newsgroups: muc.lists.freebsd.current > From: d...@des.no (Dag-Erling Sm=F8rgrav) > Date: Sun, 07 Oct 2007 10:48:49 +0200 > Local: Sun, Oct 7 2007 4:48 am > Subject: Re: ZFS & NFS integration... >=20 > Darren Reed writes: > > Dag-Erling Sm=F8rgrav wrote: > > > Darren Reed writes: > > > > Whats the planned status for ZFS+NFS with 7.0? > > > Don't Do It, basically. > > This sounds like a "shoot yourself in the foot" comment. >=20 > > Why? >=20 > I haven't figured out the exact details yet, but apparently when the > client closes a file that was opened read / write, the server stops > responding to that client. >=20 > DES