Date: Tue, 21 Aug 2007 14:16:54 -0400 (EDT) From: "Glenn Sieb" <ges+lists@wingfoot.org> To: freebsd-questions@freebsd.org Subject: NFS /etc/exports question.. Message-ID: <41081.135.245.152.33.1187720214.squirrel@www.wingfoot.org>
next in thread | raw e-mail | index | archive | help
I've recently reclaimed a Gentoo server and turned it into a FreeBSD 6.2-RELEASE system (::sounds of cheering::). This is our file server, using NFS, and I had a question about /etc/exports: We have two subnets we export to--let's call them 127.0.1.0/255 and 10.0.5.0/255: # /etc/exports: NFS file systems being exported. See exports(5). /u2 -alldirs -maproot=root important1.domain.com important2.domain.com /u2/opt/portage -maproot=root -alldirs -network 127.0.0.0 -mask 255.255.255.0 /u2/opt/portage -maproot=root -alldirs -network 10.0.5.0 -mask 255.255.255.0 /u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0 /u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0 /usr -network 127.0.0.0 -mask 255.255.255.0 /usr -network 10.0.5.0 -mask 255.255.255.0 Now, this configuration does not work. I'm curious how to fix it--the logs say: Aug 21 12:29:33 nfsserver mountd[725]: can't change attributes for /u2 Aug 21 12:29:33 nfsserver mountd[725]: bad exports list line /u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0 Aug 21 12:29:33 nfsserver mountd[725]: can't change attributes for /u2 Aug 21 12:29:33 nfsserver mountd[725]: bad exports list line /u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0 One thing to note is that important1.domain.com and important2.domain.com are within the scope of 127.0.0.0/255. Granted, this wasn't an issue in Linux--I used to have machines listed by name (*.sub.olddomain.com), and had the exceptions listed with the no_root_squash parameter. So, basically.. what am I missing? :-/ Any help would be greatly appreciated. Google & man 5 exports have not been my friends today :-/ Thanks in advance! Best, --Glenn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41081.135.245.152.33.1187720214.squirrel>