Date: Fri, 30 Oct 2009 15:06:17 -0700 From: Chuck Swiger <cswiger@mac.com> To: yuri@rawbw.com Cc: freebsd-questions@freebsd.org Subject: Re: Why do I get errors from mountd (can't change attributes for ... bad exports list line ...) ? Message-ID: <1CBF5D4E-1FAD-4340-9754-D7BD5BFE08C7@mac.com> In-Reply-To: <4AEB5F7B.1060202@rawbw.com> References: <4AEB5F7B.1060202@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi-- On Oct 30, 2009, at 2:49 PM, Yuri wrote: > I am getting these errors in messages: > Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/ > local > Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/local > -maproot > Oct 30 14:37:20 eagle mountd[4243]: can't change attributes for /usr/ > home > Oct 30 14:37:20 eagle mountd[4243]: bad exports list line /usr/home - > network > > Here is my /etc/exports: > /usr/diskless -alldirs -maproot=root -ro -network=10.0.0 - > mask=255.0.0.0 > /usr/local -maproot=root -ro -network=10.0.0 -mask=255.0.0.0 > /usr/home -maproot=root -network=10.0.0 -mask=255.0.0.0 > > What's wrong? > > Also why messages are so cryptic? Which attributes? Why "bad exports > list line"? > If it would explain in messages what's wrong I wouldn't even be > asking question here. For one thing, the second line should be: /usr/local -maproot=root,ro -network=10.0.0 -mask=255.0.0.0 For another, you are only supposed to export a given filesystem once; the notion of exporting it multiple times means you are changing the values of the previous export, and that's not supported. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=109911 ...or your friendly documentation on NFS. Regards, -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CBF5D4E-1FAD-4340-9754-D7BD5BFE08C7>