From owner-freebsd-net Tue Jan 5 04:22:16 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA08176 for freebsd-net-outgoing; Tue, 5 Jan 1999 04:22:16 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from host.nstl.nnov.ru (host.nstl.nnov.ru [195.98.49.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08167 for ; Tue, 5 Jan 1999 04:22:13 -0800 (PST) (envelope-from alex@nstl.nnov.ru) Received: from nstl.nstl.nnov.ru (root@nstl.nstl.nnov.ru [195.98.58.2]) by host.nstl.nnov.ru (8.8.8/8.8.7) with ESMTP id PAA02491; Tue, 5 Jan 1999 15:21:06 +0300 (MSK) (envelope-from alex@nstl.nnov.ru) Received: from nstl.nstl.nnov.ru (adm.nstl.nnov.ru [195.98.58.5]) by nstl.nstl.nnov.ru (8.8.5/8.8.5) with SMTP id PAA25636; Tue, 5 Jan 1999 15:21:06 +0300 (MSK/MSD) Date: Tue, 5 Jan 1999 15:20:41 +0300 From: Alexander Dubinin X-Mailer: The Bat! (v1.18 Christmas Edition) UNREG Reply-To: Alexander Dubinin Organization: NSTL X-Priority: 3 (Normal) Message-ID: <15639.990105@nstl.nnov.ru> To: Freebsd-net@FreeBSD.ORG, Serge Krashakov Subject: Re[2]: NFS? References: <199901051010.NAA11819@netserv1.chg.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Serge! Tuesday, January 05, 1999 Serge Krashakov wrote: >> I try to set up NFS between my boxes, but it doesn't work... >> >> at box1: >> /etc/exports contain: >> /usr/shared -mapall=root box1 box2 SK> Try to use: SK> /usr/shared -maproot=0 box2 I used it later. >> nfsd started. SK> Are you sure that 'mountd -r' is running? Yeah, sure :) Because /etc/exports reloading done by sending SIGHUP to mountd. I try to leave only one line in /etc/exports - and all works fine. Then I try to add another line, like: /etc/exports: > /usr/shared -maproot=root:wheel box2 > /usr/shared1 -maproot=root:wheel box2 I see errors in /var/log/mountd (all mountd output redirected by syslogd) >.... box1 mountd[128] Can't change attributes for /usr/shared1 >.... box1 mountd[128] Bad exports list line /usr/ports -maproot And first mountpoint working correctly. In case there is default mount point for filesystem: /etc/exports: > /usr -ro -mapall=nobody > /usr/shared -maproot=root:wheel box2 > /usr/shared1 -maproot=root:wheel box2 I see same strings: >.... box1 mountd[128] Can't change attributes for /usr/shared1 >.... box1 mountd[128] Bad exports list line /usr/ports -maproot Then I try to mount another filesystem: /etc/exports: > /usr -ro -mapall=nobody > /usr/shared -maproot=root:wheel box2 > /var/shared -maproot=root:wheel box2 all works fine. But if I want to mount anything else on /var or /usr - I'll see same errors. What's wrong? SK> Serge Krashakov Bye! Alexander Dubinin, Nizhny Novgorod Software Technology Lab Support Engineer E-mail: AlexanderX_Dubinin@nstl.ims.intel.com, alex@nstl.nnov.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message