From owner-freebsd-questions@FreeBSD.ORG Wed Nov 15 12:58:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF31D16A4C2 for ; Wed, 15 Nov 2006 12:58:16 +0000 (UTC) (envelope-from ihsan@dogan.ch) Received: from mail.blastwave.org (mail.blastwave.org [147.87.98.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6376943D53 for ; Wed, 15 Nov 2006 12:58:16 +0000 (GMT) (envelope-from ihsan@dogan.ch) Received: from localhost (localhost [127.0.0.1]) by mail.blastwave.org (Postfix) with ESMTP id EBD8AF8BE for ; Wed, 15 Nov 2006 13:58:14 +0100 (MET) X-Virus-Scanned: amavisd-new at blastwave.org Received: from mail.blastwave.org ([127.0.0.1]) by localhost (enterprise.blastwave.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WTNUrguY86-f for ; Wed, 15 Nov 2006 13:58:12 +0100 (MET) Received: from [192.168.10.171] (unknown [62.12.145.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.blastwave.org (Postfix) with ESMTP id 1D799F8AD for ; Wed, 15 Nov 2006 13:58:11 +0100 (MET) Message-ID: <455B0EEA.8070001@dogan.ch> Date: Wed, 15 Nov 2006 13:58:18 +0100 From: Ihsan Dogan User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: NFS file locking problems on 6.1 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: Wed, 15 Nov 2006 12:58:17 -0000 Hello, I'm running an NFS server and a client on 6.1. On the client the the /home is mounted through /etc/fstab from the nfs server. rc.conf on the server: rpcbind_enable="YES" # Run the portmapper service (YES/NO). mountd_enable="YES" # Run mountd (or NO). nfs_server_enable="YES" # This host is an NFS server (or NO). nfs_server_flags="-u -t -n 8" # Flags to nfsd (if enabled). nfs_client_enable="YES" # This host is an NFS client (or NO). rpc_lockd_enable="YES" # Run NFS rpc.lockd needed for client/server. rpc_statd_enable="YES" # Run NFS rpc.statd needed for client/server. rc.conf on the client: nfs_client_enable="YES" # This host is an NFS client (or NO). rpcbind_enable="YES" # Run the portmapper service (YES/NO). rpc_lockd_enable="YES" # Run NFS rpc.lockd needed for client/server. rpc_statd_enable="YES" # Run NFS rpc.statd needed for client/server. fstab on the client: defiant.lan.dogan.ch:/export/storage0/home /home nfs noinet6,tcp,rw 0 0 My problem is, that after a reboot of the client the file locking is working fine. When the applications are starting to lock files, it's impossible to lock files from the client anymore. I'm wondering now if I have a configuration mistake or a if I'm running into a bug. Ihsan -- ihsan@dogan.ch http://ihsan.dogan.ch/