From owner-freebsd-stable@FreeBSD.ORG Mon Apr 14 11:28:08 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C79106566C for ; Mon, 14 Apr 2008 11:28:08 +0000 (UTC) (envelope-from nawfal@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3F48FC29 for ; Mon, 14 Apr 2008 11:28:08 +0000 (UTC) (envelope-from nawfal@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so697144rvf.43 for ; Mon, 14 Apr 2008 04:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:reply-to:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:from; bh=ItyZ0PeoG8qqQKRmn5put0CysAXDd2zd9JO4e8Dkq+Y=; b=iVpsb5ioO9fwxyb74XZsUN1vg0YrRip4pTOknc093c+ziXa6JhfG/hZLT83Kl3WcJ3RS/iU8iJ5XLT3VVZ/modkgJiP3tASFd/o4aBIM38NmPn/mI/Cmlai19RM2mz7Z0oa54Ohm0Fw4/2N0ru1FIEZBBkgDtM0kuc/H66iKicI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:reply-to:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:from; b=pTv4j2guNcMIPN78/li1x8XwBPhgNzGezhcmbyMfej8dkSryUn1quMOtLtldjKHiyqj4JlBTV6oNvhIHfggu6Dd33MSeedwyltY1tjYzyzGZMRdQhTHNovDRWITP0B+W7wXRsFhtATMHPf6AhRdyKWxEUbg/GGpK6egY2MpWyJw= Received: by 10.140.126.14 with SMTP id y14mr3257111rvc.59.1208170939123; Mon, 14 Apr 2008 04:02:19 -0700 (PDT) Received: from ?10.101.8.78? ( [203.106.65.8]) by mx.google.com with ESMTPS id f42sm9674038rvb.9.2008.04.14.04.02.15 (version=SSLv3 cipher=RC4-MD5); Mon, 14 Apr 2008 04:02:18 -0700 (PDT) To: freebsd-stable@freebsd.org Content-Type: text/plain Date: Mon, 14 Apr 2008 19:02:06 +0800 Message-Id: <1208170926.12349.20.camel@nawfal-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit From: Nawfal bin Mohmad Rouyan Subject: NFS and /etc/exports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nawfal@googlemail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 11:28:08 -0000 Hi Everyone, I have an issue with NFS /etc/exports file. The entry in my exports file is as below: /usr -alldirs -maproot=0:0 zerg hulk protoss terran I can't mount the directory from the first host listed which according to above entry is 'zerg'. Any other hosts after the first host can mount the directory. I get "Permission Denied" everytime I try to mount the directory. zerg# mount /usr/src [tcp] build:/usr/src: Permission denied ^C If I move 'zerg' to become the last host in the list, I can mount the directory on 'zerg' but then 'hulk' would not be able to mount the directory. I'm using TCP and the entry in /etc/fstab on all clients is as below: build:/usr/ports /usr/ports nfs tcp,intr,nfsv3,-w=32768,-r=32768,rw,noauto 0 0 build:/usr/src /usr/src nfs tcp,intr,nfsv3,-w=32768,-r=32768,rw,noauto 0 0 build:/usr/obj /usr/obj nfs tcp,intr,nfsv3,-w=32768,-r=32768,rw,noauto 0 0 All the machines have the options below in /etc/rc.conf file: nfs_server_enable="YES" nfs_client_enable="YES" nfs_server_flags="-t -n 6" nfs_reserved_port_only="YES" rpcbind_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" and all machines are FreeBSD 7.0-STABLE #0: Fri Apr 11 13:18:25 MYT 2008 OK just tested again, this only happens right after freshly booting 'build'. If I do kill -s HUP `cat /var/run/mountd.pid` to reread the /etc/exports fileon 'build', then I have no problem mounting the shared directory from the first host in the list. Is this a bug or is the entry in the /etc/exports file is wrong? Thanks! -- Nawfal bin Mohmad Rouyan