From owner-freebsd-questions Wed Jan 23 6:51:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.27in.tv (roc-66-24-112-7.rochester.rr.com [66.24.112.7]) by hub.freebsd.org (Postfix) with ESMTP id 5FA3737B402 for ; Wed, 23 Jan 2002 06:51:47 -0800 (PST) Received: (from root@localhost) by mail.27in.tv (8.11.6/8.11.6) id g0NEpjd45966; Wed, 23 Jan 2002 09:51:45 -0500 (EST) (envelope-from cjm2@earthling.net) Received: from 27in.tv (roc-66-24-112-7.rochester.rr.com [66.24.112.7]) by mail.27in.tv (8.11.6/8.11.6av) with SMTP id g0NEphU45945; Wed, 23 Jan 2002 09:51:43 -0500 (EST) (envelope-from cjm2@earthling.net) Received: from 216.153.202.2 (SquirrelMail authenticated user cjm2) by www1.27in.tv with HTTP; Wed, 23 Jan 2002 09:51:44 -0500 (EST) Message-ID: <1689.216.153.202.2.1011797504.squirrel@www1.27in.tv> Date: Wed, 23 Jan 2002 09:51:44 -0500 (EST) Subject: Re: NFS exports file From: "C J Michaels" To: In-Reply-To: <20020123141659.63622.qmail@web20001.mail.yahoo.com> References: <20020123141659.63622.qmail@web20001.mail.yahoo.com> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.4 [cvs]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gavin Kenny said: > Thanks, I've changed my exports line to: > > /usr -alldirs -maproot=0 -network 123.456.789.123 ^^^^^ That's not a network ID, that's a host. If you want the whole network use: /usr -alldirs -maproot=0 -network 123.456.789 -mask 255.255.255.0 If you want just the host use, /usr -alldirs -maproot=0 123.456.789.123 > > and this loads ok. showmount -e now gives: > > /usr 123.456.789.123 > > however I am still getting permision denied when I try > to mount it from the client. > > I am trying to mount it as root. Is this a permissions > error? I've tried adding the client to the hosts.equiv > file but that does not seem to make any difference. > > Any more clues? > > Gavin > > --- C J Michaels wrote: > You > can only export mount points. Not >> subdirectory's of mount points. >> >> Despite the lack of df output here, I would assume >> you have a situation >> where /home is a symlink to /usr/home and /usr is >> the mount point. >> >> In this case you need to export /usr >> >> --Chris >> >> Gavin Kenny said: >> > Hi Guys, >> > >> > I'm trying my hand at setting up NFS. I have >> followed >> > the handbook and all the deamons seem to startup >> OK >> > >> > but when I edit my /etc/exports file and load it >> via: >> > kill -HUP `cat /var/run/mountd.pid` >> > >> > I get the following message: >> > "bad exports list line /home " >> > >> > I have one line in my exports file and have tried >> the >> > following combinations without success; (Note I >> don't >> > have DNS so I am using IP addresses) >> > >> > /home -alldirs 123.456.789.123 >> > or >> > /home 123.456.789.123 >> > or >> > /home -alldirs -network 123.456.789.123 >> > or >> > /usr/home -network 123.456.789.123 >> > >> > and all stations south. >> > >> > When I try to mount from the client I get >> "Permission >> > denied", which I am assuming is because the >> exports >> > list is not loading. >> > >> > so what am I doing wrong? >> > >> > cheers >> > >> > Gavin >> > >> > __________________________________________________ >> > Do You Yahoo!? >> > Everything you'll ever need on one web page >> > from News and Sport to Email and Music Charts >> > http://uk.my.yahoo.com >> > >> > To Unsubscribe: send mail to majordomo@FreeBSD.org >> > with "unsubscribe freebsd-questions" in the body >> of the message >> >> >> -- >> Chris >> >> "I'll defend to the death your right to say that, >> but I never said I'd >> listen to it!" >> -- Tom Galloway with apologies to Voltaire >> >> > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com -- Chris "I'll defend to the death your right to say that, but I never said I'd listen to it!" -- Tom Galloway with apologies to Voltaire To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message