From owner-freebsd-questions@FreeBSD.ORG Sun Sep 18 04:29:56 2005 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 BEACA16A420 for ; Sun, 18 Sep 2005 04:29:56 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB3643D49 for ; Sun, 18 Sep 2005 04:29:56 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id B3DE85D99; Sun, 18 Sep 2005 00:29:55 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97130-02; Sun, 18 Sep 2005 00:29:54 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-68-11.ny325.east.verizon.net [68.161.68.11]) by pi.codefab.com (Postfix) with ESMTP id 239875C5D; Sun, 18 Sep 2005 00:29:51 -0400 (EDT) Message-ID: <432CED42.2060709@mac.com> Date: Sun, 18 Sep 2005 00:29:54 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Holmes References: <20050918031022.GA18032@blackguy.unixtechs.org> In-Reply-To: <20050918031022.GA18032@blackguy.unixtechs.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: NFS help 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, 18 Sep 2005 04:29:56 -0000 Tim Holmes wrote: > Trying to move a NFS share to another NFS server and having a bit > of trouble with it. I moved all the files and and I edited exports. > > /etc/exports > /home/install/fbsd -network 192.168.2.0 -mask 255.255.255.0 > /home/install/mdk -network 192.168.2.0 -mask 255.255.255.0 > > Now the 1st one works just fine. I can mount /home/install/fbsd > across my network, but I can't mount the /home/install/mdk. I've > restarted the nfs server several times, but I still can't get that > second share to become available. Am I missing something? NFS exports filesystems, not directory trees. NFS permits you to mount a subdirectory of an export/share, but you cannot mount two child directories of a share if those directories are ancestors of one another on the same filesystem. Please refer to _Managing NFS and NIS_, O'Reilly, p92: "2. You cannot export any subdirectory of an exported filesystem unless the subdirectory is on a different physical device. 3. You cannot export any parent directory of an exported filesystem unless the parent is on a different physical device." Some of these restrictions can be mitigated with the -alldirs flag, but look at "showmount" to see what you are actually exporting. -- -Chuck