Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 1998 01:04:08 -0500 (CDT)
From:      7e9aedd97b5ec4590edb8281ff12b168 <zen@reno.sdsc.org>
To:        questions@FreeBSD.ORG
Subject:   mountd problem (?)
Message-ID:  <Pine.LNX.3.96.980521004657.26134A-100000@reno.sdsc.org>

next in thread | raw e-mail | index | archive | help
Hello, I am having a bit of trouble with /etc/exports and mountd. I tried
searching for this subject in the mailing list archives, but I have yet to
find the solution to this problem (I have seen similar/same problems, but 
no solution), so I apologize if this has already been answered.

Right now, FreeBSD (2.2.6R) is installed on one big root filesystem,
instead of different filesystems such as /, /usr, /var, and such. I'm not
sure if this may be causing problems. Also, this (FreeBSD) machine that
I'm having trouble with is 'ariel' (192.168.1.2), if this helps any.

My /etc/exports looks like this:
/usr/local	-alldirs	192.168.1.1
/usr/src	-alldirs	192.168.1.1
/u	-alldirs	192.168.1.1

I have tried the above with tabs and spaces, both giving same errors.

Errors:

May 21 00:50:57 ariel mountd[1921]: Could not remount /usr/local: Invalid
argument
May 21 00:50:57 ariel mountd[1921]: Bad exports list line /usr/local
-alldirs 192.168.1.1
May 21 00:50:57 ariel mountd[1921]: Could not remount /usr/src: Invalid
argument
May 21 00:50:57 ariel mountd[1921]: Bad exports list line /usr/src
-alldirs 192.168.1.1
May 21 00:50:57 ariel mountd[1921]: Could not remount /u: Invalid argument
May 21 00:50:57 ariel mountd[1921]: Bad exports list line /u -alldirs
192.168.1.1

All of the directories exist and have subdirectories. It is mounted with
the 'async' option (as well as 'rw') in /etc/fstab, but I do not think
this would matter.

Also, I tried the same /etc/exports file, but without -alldirs, and I get
the following errors:
May 21 00:56:06 ariel mountd[2061]: Can't change attributes for /usr/src.
May 21 00:56:06 ariel mountd[2061]: Bad exports list line /usr/src
192.168.1.1
May 21 00:56:06 ariel mountd[2061]: Can't change attributes for /u.
May 21 00:56:06 ariel mountd[2061]: Bad exports list line /u 192.168.1.1

For some reason, the first line always works, but 2nd and down does not.
For example, if I put the /usr/src line as the first line, and the
/usr/local as the second line, it would accept the /usr/src line, yet not
the /usr/local line.

Thank you for your help.

-Adam

--
 ___ ___  ___  ___
/ __|   \/ __|/ __|   Zork! <zen@reno.sdsc.org>
\__ \ |) \__ \ (__    http://reno.sdsc.org/
|___/___/|___/\___|   finger zen@reno.sdsc.org for PGP key

"It's Fabulous!  We haven't seen anything like it in the last half an
hour!"
		-- Macy's


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.LNX.3.96.980521004657.26134A-100000>