Date: Tue, 5 Jan 1999 15:20:41 +0300 From: Alexander Dubinin <alex@nstl.nnov.ru> To: Freebsd-net@FreeBSD.ORG, Serge Krashakov <sakr@Chg.RU> Subject: Re[2]: NFS? Message-ID: <15639.990105@nstl.nnov.ru> References: <199901051010.NAA11819@netserv1.chg.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15639.990105>