*BSD News Article 71281


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.msfc.nasa.gov!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can't see files on NFS mounted FS
Date: 17 Jun 1996 23:22:24 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 35
Message-ID: <4q4pbg$ll9@sol.ctr.columbia.edu>
References: <31C5CA37.446B9B3D@enetis.net>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Justin England
(jengland@enetis.net) had the courage to say:

: I have a users direvtory (/u1) exported from my SPARC 5 (SunOS 4.1.4)
: and I have mounted it on my FreeBSD box (2.1.0-RELEASE) which mounts
: without problems.  When I CD to that directory, I can see all user dirs
: underneath it, but if I CD to one of the user directories, I can't see
: any files.  I KNOW that there are files are there, but they do not show
: up with the ls command.

: Anybody know what I can do to fix this?

Strictly speaking, it isn't broken.

You need to use the resvport option when mounting the filesystem, as in:

# mount -o resvport sparc:/u1 /u1

You also need to use the resvport option in /etc/fstab if you add the
filesystem there:

start:/u1	/u1	nfs	rw,resvport	0 0

Same rule also applied for automounter maps.

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you."
=============================================================================