public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Poor NFSv4 first impressions
@ 2006-11-06  6:15 Jeff Garzik
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2006-11-06  6:15 UTC (permalink / raw)
  To: Linux Kernel

Being a big user of NFS at home, and a big fan of NFSv4, it was high 
time that I converted my home network from NFSv3 to NFSv4.

Unfortunately applications started breaking left and right.  vim 
noticeably malfunctioned, trying repeatedly to create a swapfile (sorta 
like a lockfile).  Mozilla Thunderbird would crash reproducibly whenever 
it tried anything remotely major with a mailbox, such as compressing 
folders (removing deleted messages).

Both NFSv4 server and NFSv4 client were x86-64 Linux boxes, running 
hyper-recent kernel 2.6.19-rc4-g10b1fbdb 
(10b1fbdb0a0ca91847a534ad26d0bc250c25b74f).  FC5 userland on the server, 
FC6 userland on the client.  There were no other clients connected to 
the NFS server, much less using my NFS homedir.  This data was not being 
accessed on the server directly, either.

/etc/exports contains:
/g 
10.10.10.0/255.255.255.0(rw,fsid=0,insecure,no_subtree_check,no_root_squash)

NFSv4 /etc/fstab line:
pretzel:/       /g      nfs4    defaults,proto=tcp,hard,intr    0 0

NFSv3 (previous) /etc/fstab line for same file server:
pretzel:/g              /g              nfs     defaults,tcp    0 0


I hope this is just a temporary problem, but as it looks right now, 
NFSv4 isn't ready for prime time, with all these apps breaking :/

	Jeff



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Poor NFSv4 first impressions
@ 2006-11-06 12:03 Daniel J Blueman
  2006-11-06 16:07 ` Bill Davidsen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Daniel J Blueman @ 2006-11-06 12:03 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linux Kernel, nfsv4

Jeff Garzik wrote:
> Being a big user of NFS at home, and a big fan of NFSv4, it was high
> time that I converted my home network from NFSv3 to NFSv4.
>
> Unfortunately applications started breaking left and right.  vim
> noticeably malfunctioned, trying repeatedly to create a swapfile (sorta
> like a lockfile).  Mozilla Thunderbird would crash reproducibly whenever
> it tried anything remotely major with a mailbox, such as compressing
> folders (removing deleted messages).
[snip]

This has all the symptoms to an open EACCES NFSv4 bug in 2.6.18/19.
This is fixed in:

http://www.citi.umich.edu/projects/nfsv4/linux/kernel-patches/2.6.19-rc3-2/linux-2.6.19-rc3-CITI_NFS4_ALL-2.diff
(see http://www.citi.umich.edu/projects/nfsv4/linux/).

With this patch, I can run just great with NFSv4 home dir (etc)
mounts; without, I get the symptom of many 0-byte temporary/lock files
being created and often the inability to create files (!). Be sure to
allow callback delegation connections in through your firewall for the
extra performance ;-) .

Maybe it's too late for these fixes 2.6.19, but they should certainly
make 2.6.19.1 IMHO.
-- 
Daniel J Blueman

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-07  7:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06  6:15 Poor NFSv4 first impressions Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2006-11-06 12:03 Daniel J Blueman
2006-11-06 16:07 ` Bill Davidsen
2006-11-06 16:17 ` J. Bruce Fields
2006-11-07  7:20 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox