nfs server

Michael P. Soulier msoulier at digitaltorque.ca
Fri Jan 6 08:33:04 PST 2006


On 1/6/06, Michael Landin Hostbaek <mich at freebsd.org> wrote:
> Look alright.
> After adding the line to /etc/exports - mountd(8) needs to re-read the
> file. So do:
>
> # kill -s HUP `cat /var/run/mountd.pid`
>
> You can also use 'showmount -e' to see the configured exports list.

Hmm. I restarted nfsd, but apparently that wasn't enough.

[msoulier at kanga ~]$ showmount -e
Exports list on localhost:
[msoulier at kanga ~]$ sudo kill -s HUP `cat /var/run/mountd.pid`
Password:
[msoulier at kanga ~]$ showmount -e
Exports list on localhost:
/usr/local/www                     192.168.1.0

Now it shows up. Lets try the client.

[msoulier at tigger ~]$ sudo mount /mnt/kangawww
Password:

Aha. That worked.

Thanks muchly.

Mike
--
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


More information about the freebsd-questions mailing list