Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 1999 13:12:34 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Sergey Ayukov (mailing lists)" <asv1@crydee.sai.msu.ru>
Cc:        questions@FreeBSD.ORG
Subject:   Re: NFSD limitations?
Message-ID:  <Pine.BSF.4.03.9905031310460.20321-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.05.9905031056420.4069-100000@crydee.sai.msu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 May 1999, Sergey Ayukov (mailing lists) wrote:

> 
> Hello,
> 
> I am migrating my server from Slackware Linux to FreeBSD (decided to try).
> Unfortunately, I chose to install 3.1-RELEASE (now I see that 2.2.8 might
> be better). I have couple of questions related to NFS server.
> 
> 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.

> 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.

> 2) On Linux, I was able to re-export NFS-mounted directories. E.g., in the
> above example I mount via NFS /vol1/ftp/pub/zeus from zeus:/sai2 and want
> it to be seen via NFS export (/vol1) as well. Is this possible?

I don't think so, no.

> I thought it might be possible to get it if I bypass kernel NFSD and
> install different NFS server, but mountd coredumps if I disable NFS in
> kernel on 3.1-RELEASE...

No clue there.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



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.03.9905031310460.20321-100000>