[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS lock problem



On Tue, 2007-03-27 at 16:59 +0200, Michelle Konzack wrote:
> Am 2007-03-11 21:08:11, schrieb Dean Allen Provins:
> > Any ideas for a solution?
> 
> I am mounting my shares with:
> 
> samba3:/home /home    nfs rw,bg,hard,intr,tcp,vers=4,rsize=8192,wsize=8192 0 0
> samba2:/home /home_mm nfs rw,bg,hard,intr,tcp,vers=4,wsize=8192,rsize=8192 0 0
> samba1:/home /usr/src nfs rw,bg,hard,intr,tcp,vers=4,wsize=8192,rsize=8192 0 0
> 
> and it works without any problems using Sid, Etch, Sarge and Woody plus
> NetBSD and Solaris.
> 
> Note:  I have changed "vers=3" to "vers=4" with the newer Kernel.

Since you have vers=4, you should really really increase the rsize and
wsize to a value much larger than 8192, like 32768. nfsv4 DOES handle
that very well. But you need v4 support on both ends to accomplish this.

The server end just says "okay", so this is a client side config. If the
server doesn't support v4, it'll just say OK anyway. If you have v4
support on both ends, you will notice a big increase in speed,
especially with small files.
-- 
greg, greg@gregfolkert.net

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup



Reply to: