-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Michel,
nice to hear from you again :)
Regarding the quiet and alldirs options, I'd read somewhere that one
might want to use this combination in a case such as this.
Because in the case where the filesystem is not mounted, nfsd wouldn't
complain, one could always mount the filesystem later... or something
like that :)
However, I'd already located the problem. Without knowing the solution
to it though. It turns out that nfsd doesn't like ext2 filesystems as
exports. Hence, removing the quiet option (which I now recon to be
misleading) syslog says:
Jan 22 22:48:43 lusitania mountd[413]: could not remount /mnt/music:
Operation not supported
Jan 22 22:48:43 lusitania mountd[413]: bad exports list line
/mnt/music -mapall
I guess it has something to do with ext3 filesystems (actually they're
ext3 but as there's no journaling on FreeBSD...) and the permissions.
I cannot mount an ext2fs as regular user either.
I tried to export another directory (/usr/ports) which worked fine...
so the question remains: What is the solution?
D.
Kohl, Michel wrote:
AW: [Fwd: Re: [Lilux-help] FreeBSD: NFS trouble]
Hello,
first, you should not set the quiet option. If the option quiet is
defined, nfsd does not write error messages regarding errors in
your export definition. Perhaps it would then write in your syslog
the explanation, why it doesn't work.
Second, you must know, that the option -alldirs can only be used,
if the directory you have used as first argument is a mounted
file-system. -alldirs allows clients to mount all directories
behind the filesystem defined. Example: If you say: /mnt/u1
-alldirs localhost Then localhost is allowed to mount /mnt/u1,
/mnt/u1/dir1, /mnt/u1/dir2 and so on. But if /mnt/u1 is not a
mounted filesystem, nfsd will refuse the export.
Try to omit -quiet and -alldirs and try again.
Regards,
MichelKohl.de
Kontakt: Michel Kohl Schönblick 28 76275 Ettlingen
Tel: 07243-219747 Fax: 07243-769776 Mobil: 0160-91866923
-----Ursprüngliche Nachricht----- Von: lilux-help-bounces(a)lilux.lu
im Auftrag von David Raison Gesendet: So 22.01.2006 19:26 An:
Patrick Useldinger Cc: lilux-help(a)lilux.lu Betreff: Re: [Fwd: Re:
[Lilux-help] FreeBSD: NFS trouble]
been there, done that :(
Patrick Useldinger wrote:
David Raison wrote:
> And as I wrote before, even such a simple
example as
>
> /mnt/music -ro
>
> is not shown in ~ # showmount -e lusitania or ~ # showmount -a
>
> so I guess it'd be a problem with mountd
Whenever you change /etc/exports, you need to
"killall -HUP
mountd" in order to make mountd reread the file.
HTH, -pu
_______________________________________________
Lilux-help mailing list
Lilux-help(a)lilux.lu
http://lilux.lu/mailman/listinfo/lilux-help
!DSPAM:43d3f834474831234514069!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://enigmail.mozdev.org
iD8DBQFD0/5t/sLffsMilEkRAqqtAKCli2MFSQj42evDtUfttBj6DjraCgCeIUW0
xfabcexlZFeXvFpF5bKx5Tc=
=veq9
-----END PGP SIGNATURE-----