NFS writes and ZFS
- From: John Nielsen <lists@xxxxxxxxxxxx>
- Date: Tue, 22 Jul 2008 11:28:27 -0400
I have a FreeBSD server (which I use as a NAS device, among other things)
and a FreeBSD deskop. The desktop is running 7-STABLE from a couple days
ago and the server is running 8-CURRENT from yesterday. The server has
several NFS-exported ZFS'es which I mount from the desktop. Since moving
the shares to ZFS I've been having trouble writing to them from the
desktop--the mount hangs after the first or second attempt. This is
similar if not identical to what's described in the thread
(from -current) I partially copied below.
Today I discovered that the problem seems to go away if I change the NFS
mount options on the desktop. The following is a summary/timeline of what
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
in my typical usage the failure is most apparent when fetching distfiles
to the shared ports tree.
I didn't do a thorough search but I don't see any open PR's about this
issue (though I remember the thread below and other discussions about the
same time). Should I submit one?
Other than that I just wanted to report that 1) this is apparently (still)
an issue and 2) the NFS flags above seem like a good workaround so far.
From: d...@xxxxxx (Dag-Erling Smørgrav)
Date: Sun, 07 Oct 2007 10:48:49 +0200
Local: Sun, Oct 7 2007 4:48 am
Subject: Re: ZFS & NFS integration...
Darren Reed <darr...@xxxxxxxxxxx> writes:
Dag-Erling Smørgrav wrote:
Darren Reed <darr...@xxxxxxxxxxx> writes:This sounds like a "shoot yourself in the foot" comment.
Whats the planned status for ZFS+NFS with 7.0?Don't Do It, basically.
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.
freebsd-current@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Re: NFS writes and ZFS
- From: Pawel Jakub Dawidek
- Re: NFS writes and ZFS
- Prev by Date: ath vap - second hostap _almost_ works
- Next by Date: Re: ath vap - second hostap _almost_ works
- Previous by thread: ath vap - second hostap _almost_ works
- Next by thread: Re: NFS writes and ZFS