From owner-freebsd-questions@FreeBSD.ORG Sun Mar 25 15:33:08 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 E39571065672 for ; Sun, 25 Mar 2012 15:33:08 +0000 (UTC) (envelope-from christoph@christoph-egger.org) Received: from 1und1.siccegge.de (cl-1281.dus-01.de.sixxs.net [IPv6:2a01:198:200:500::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5538FC16 for ; Sun, 25 Mar 2012 15:33:08 +0000 (UTC) Received: from dsl01.212.114.250.149.ip-pool.nefkom.net ([212.114.250.149] helo=localhost) by 1und1.siccegge.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1SBpRL-0008LY-Fd for freebsd-questions@freebsd.org; Sun, 25 Mar 2012 17:33:07 +0200 From: Christoph Egger To: freebsd-questions@freebsd.org Organization: Privat References: <87zkb4lr1y.fsf@hepworth.siccegge.de> <4F6F347E.4020707@herveybayaustralia.com.au> Date: Sun, 25 Mar 2012 17:34:08 +0200 In-Reply-To: <4F6F347E.4020707@herveybayaustralia.com.au> (sfid-20120325_170659_867119_15FE72BD) (Da Rock's message of "Mon, 26 Mar 2012 01:06:38 +1000") Message-ID: <87aa34lmof.fsf@hepworth.siccegge.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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:33:09 -0000 Hi! Da Rock writes: > 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? NFSv3 on both sides Regards Christoph -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer