From owner-freebsd-questions@FreeBSD.ORG Sun Mar 25 13:58:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D78B1065674 for ; Sun, 25 Mar 2012 13:58:44 +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 1C3688FC1C for ; Sun, 25 Mar 2012 13:58:43 +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 1SBnxx-00055h-Q6 for freebsd-questions@freebsd.org; Sun, 25 Mar 2012 15:58:42 +0200 From: Christoph Egger To: freebsd-questions@freebsd.org Organization: Privat Date: Sun, 25 Mar 2012 15:59:37 +0200 Message-ID: <87zkb4lr1y.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: 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 13:58:44 -0000 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) Regards Christoph [0] flock test -c ls -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer