From owner-freebsd-questions@FreeBSD.ORG Sun Mar 25 15:06:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB936106566C for ; Sun, 25 Mar 2012 15:06:40 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 611328FC27 for ; Sun, 25 Mar 2012 15:06:40 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.182]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 1AAF65C29 for ; Mon, 26 Mar 2012 01:20:13 +1000 (EST) Message-ID: <4F6F347E.4020707@herveybayaustralia.com.au> Date: Mon, 26 Mar 2012 01:06:38 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <87zkb4lr1y.fsf@hepworth.siccegge.de> In-Reply-To: <87zkb4lr1y.fsf@hepworth.siccegge.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: NFS locking and linux NFS server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 15:06:40 -0000 On 03/25/12 23:59, Christoph Egger wrote: > Hi all! > > I have a Linux Host (2.6.32 kernel, Debian stable) providong NFS > shares. Locking files on that share works fine for linux clients [0] > while it fails on a freebsd 9.0-STABLE system. The interwebs indicate > there have been problems witha buggy linux implementation back in 2006 > but no more hits for that problem in recent times so I assume it's > fixed? > > root@freebsd /mnt/ > 11:27 0 # kldstat -v | grep nfs > 341 nfscommon > 386 nfslockd > 344 nfsd > 385 nfssvc > 342 nfs > 343 nfscl > 384 nfslock > > root@freebsd /mnt/ > 11:28 0 # flock test -c ls > flock: test: Operation not supported > > root@freebsd /mnt/ > 11:31 0 # mount | grep nfs > 10.70.255.8:/home/ on /mnt/ (nfs) This may or may not be helpful, but I can't think of anything else at this time: what version NFS on both sides?