From owner-freebsd-questions@FreeBSD.ORG Wed Mar 31 06:31:34 2004 Return-Path: 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 69DA616A4CE for ; Wed, 31 Mar 2004 06:31:34 -0800 (PST) Received: from simmts8-srv.bellnexxia.net (simmts8.bellnexxia.net [206.47.199.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id E057843D1D for ; Wed, 31 Mar 2004 06:31:33 -0800 (PST) (envelope-from techservices@onlinehobbyist.com) Received: from freebie2.perlnerd.com ([67.71.98.84]) by simmts8-srv.bellnexxia.netESMTP <20040331143132.TJJY21833.simmts8-srv.bellnexxia.net@freebie2.perlnerd.com>; Wed, 31 Mar 2004 09:31:32 -0500 Received: from onlinehobbyist.com (monster [192.168.1.181]) i2VFdrCe017755; Wed, 31 Mar 2004 10:39:53 -0500 (EST) (envelope-from techservices@onlinehobbyist.com) Message-ID: <406AD644.5070905@onlinehobbyist.com> Date: Wed, 31 Mar 2004 09:31:32 -0500 From: Clint Gilders Organization: OnlineHobbyist.com, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en, fr-ca, de, en-us MIME-Version: 1.0 To: Supote Leelasupphakorn , freebsd-questions@freebsd.org References: <20040331093945.91750.qmail@web40608.mail.yahoo.com> In-Reply-To: <20040331093945.91750.qmail@web40608.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Why can't I mount NFS ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 14:31:34 -0000 Supote Leelasupphakorn wrote: > Hi all, > > I want to export > 1. /mnt/xx/aa > 2. /mnt/xx/bb > 3. /mnt/xx/cc > > from machine:A to machine:B. On B I can mount /mnt/xx/aa and > /mnt/xx/bb successful except /mnt/xx/cc, why or I missed > something ? Below is some information may be useful. > > --- /etc/export on machine:A --- > /mnt/xx/aa -ro,quiet B > /mnt/xx/bb -ro,quiet B > /mnt/xx/cc -ro,quiet B > > --- output of `df -lh` on machine:A --- > /dev/ad1s1e 110G 29G 73G 28% /mnt/xx/aa > /dev/ad2s1e 110G 29G 72G 29% /mnt/xx/bb What do your logs say when you try to mount cc or restart mountd and nfsd? Looks like aa and bb are seperate drives. Is cc on the same partition as aa or bb (it's not in your df output)? If so, I think you'll need to specify it and the other on the same line in /etc/exports. `man exports` says: "In a mount entry, the first field(s) specify the directory path(s) within a server filesystem that can be mounted on by the corresponding client(s). There are two forms of this specification. The first is to list all mount points as absolute directory paths separated by whitespace. The second is to specify the pathname of the root of the filesystem followed by the -alldirs flag;" I had to put an entry like this when I wanted to update several machines from one set of src and ports: /usr/src /usr/obj /usr/ports -maproot=0 So, you might need something like: /mnt/x/bb /mnt/x/cc -ro,quiet B -- Clint Gilders Director of Technology Services OnlineHobbyist.com, Inc.