Subject: Re: NFS problem
To: Mats <netbsd@comhem.se>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-users
Date: 10/06/2006 23:45:06
--WkHPBKJ2pKcVUM5H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Oct 06, 2006 at 10:20:21PM +0200, Mats wrote:
> Hi
> I have some trouble setting up an nfs-server under NetBSD 3.0.1.
> It works fine with this in my /etc/exports
> /usr -ro myclient
>=20
> But with this ...
> /usr/local/export -maproot=3Droot -alldirs myclient
> ...I get a wrong-message that says :
> mountd [510]: "/usr/local/export -maproot", line;: Could not
> remount /usr/local/export: Invalid argument.
>=20
> It works if I set up a partition with the name /usr/local/export,
> but I know it should work without that.
No. NFS export options are per-mount point. Mount point of a
local file-system that is.
> I have tried changing the chmod, chgrp and chown but that doesn't
> change anything. Must there be something in my fstab?
=20
No. The solution is to use null mounts.
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.
--WkHPBKJ2pKcVUM5H
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBRSbOYtgoQloHrPnoAQIJSwgAmHf+eKkQAIZuX+qBVTWFE6kPXxdYLoqZ
5w6fodw2tXeTvoLsCutHt5XpfD41/4zE0FFzRVIAvdbO66bFb2f0V7395oVII8IU
MQ2FeqHPXg45ABNvRNxSo4t/27JufUdn/EzjFTyJyQM+6WZZ8YEpRzyJaVmN0KlC
BbTwVuc9Gdf/hJugeMlXP0thpPG1i1OPk0YGFpP0GlMKqC5yOj0E4GMEScH9mJFy
u6I9tLjsY3Mv7qUWw919whmV4Xy5Zfl1cL1WatuTN7C3h3uwosUni6Y0GEc6XyUh
jNWXzho0Y39jTdbbxvTCzk69yLviRrBv5znRyQbwO2lHmgMXPSjPcg==
=jD8t
-----END PGP SIGNATURE-----
--WkHPBKJ2pKcVUM5H--