Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 1999 22:30:30 +0400 (MSD)
From:      "Sergey Ayukov (mailing lists)" <asv1@crydee.sai.msu.ru>
To:        John Baldwin <jobaldwi@vt.edu>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: NFS question..
Message-ID:  <Pine.BSF.4.05.9905092147020.569-100000@crydee.sai.msu.ru>
In-Reply-To: <XFMail.990509142452.jobaldwi@vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 May 1999, John Baldwin wrote:

> >> Looks like you already have /var or a subdirectory under it in another
> >> exports
> >> line that contains a host from 195.208.220
> > 
> > No. Here's /etc/exports which causes the above error:
> > 
> >#
> ># This file contains a list of all directories exported to other computers.
> ># It is used by rpc.nfsd and rpc.mountd.
> > 
> > /vol1/ftp/pub/.1      -ro             -network 195.208.220 -mask 255.255.255.0
> > /vol1/ftp/pub/.2      -ro             -network 195.208.220 -mask 255.255.255.0
> > 
> > /var/spool/pcnfs                      -alldirs        -network 195.208.220
> -mask 255.255.255.0
> > /var/spool/pcnfs                      -alldirs        -network 158.250.29 
> -mask 255.255.255.0
> > 
> > /vol1/ftp/pub/.1      -ro             -network 158.250.29 -mask 255.255.255.0
> > /vol1/ftp/pub/.2      -ro             -network 158.250.29 -mask 255.255.255.0
> > 
> > /vol1                                 lab
> > /vol1/ftp/pub/.1                      lab
> > /vol1/ftp/pub/.2                      lab
> > /home                 -alldirs        lab
> > /tmp1                                 lab
> 
> Does it still give an error if you take the "-alldirs" option out of the
> /var/spool/pcnfs lines?

Surprisingly, no. This looks quite interesting. The reason I was putting
-alldirs flag is in stupid pcnfs printing which mounts directories like
/var/spool/pcnfs/machine-name. The solution I have settled on is rather
ugly but seems to work:

/var/spool/pcnfs/fine \
 /var/spool/pcnfs/fine2 \
 /var/spool/pcnfs/lyambda \
 /var/spool/pcnfs/solar \
 /var/spool/pcnfs/universe \
 /var/spool/pcnfs/silden \
 /var/spool/pcnfs/rillanon
 /var/spool/pcnfs/practic \
 /var/spool/pcnfs/prof \
 /var/spool/pcnfs/spiral \
 lab friends

(lab and friends are netgroups; this BSD feature I quite like). At least
one problem with NFS seems to go away... Thank you very much, John!

---------------------------------------------------------------------------
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-stable" 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.9905092147020.569-100000>