Date: Wed, 5 May 1999 09:30:15 +0400 (MSD) From: "Sergey Ayukov (mailing lists)" <asv1@crydee.sai.msu.ru> To: questions@FreeBSD.ORG Subject: Re: NFSD limitations? Message-ID: <Pine.BSF.4.05.9905050918330.25620-100000@crydee.sai.msu.ru> In-Reply-To: <Pine.BSF.4.03.9905041502130.28350-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 May 1999, Doug White wrote: > > > > 1) I can't export directories which are not local mount point. E.g., I > > > > have disk mounted on /vol1 and want to export only /vol1/ftp . Is this > > > > possible (if I try to export /vol1/ftp/.1, mountd complains about wrong > > > > mount point)? Even worse, I need to export /var/spool for pcnsfd printing, > > > > but don't want to export entire /var. In my case, /var is on separate > > > > partition. > > > > > > It can be done. Try using the '-alldirs' flag first; this will let you > > > mount /vol1 and any subtree, including /vol1/ftp. > > > > No, my point was to limit the export. In other words, I don't want to > > export entire /var or /vol1, just parts of them (which are not > > mountpoints). > > I think there is a way to do this using overlapping specifications (/usr > then /usr/local), but I'm not sure. It does not work. I have tried /var c.room44.net /var/spool -alldirs -network 195.208.220 (room44.net is 10.0.0.0 network, on crossover cable) and mountd complains: could not remount /var/spool: Invalid argument bad exports list line /var/spool -alldirs -network 195.208.220 There were no more references to /var in the /etc/exports. It is possible to do the following: /var /var/spool -network 195.208.220 but then my /var gets exported to the entire network and it is not what I want! > > > > 2) NFS mount does not seem to go through local filesystems. E.g., I have > > > > another disk mounted on /vol1/ftp/.1 and want export of /vol1/ftp to > > > > transparently "bleed" through to /vol1/ftp/.1 ? > > > > > > NFS mounts do not cross mountpoints. You'll have to mount that yourself. > > > > Pity. That results in two additional drive letters :-( Ugly. > > This isn't to say you can't mount an NFS partition on top of a > mountpoint on another NFS mount. I'd have to test this. Fortunately, I don't need this functionality under Unix (DOS and OS/2 apparently cannot mount anything on directories, only on new drive letters). --------------------------------------------------------------------------- Dr. Sergey Ayukov Sternberg Astronomical Institute http://www.ayukov.com Moscow, Russia http://crydee.sai.msu.ru/index-asv.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905050918330.25620-100000>