[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount: unknown filesystem type 'nfs'



Sorry, wrong script.  On my system mountd is started in nfs-user-server.
(You may have a different one if you are using the kernel server.)   It
also starts nfsd, which also seems missing on your system.


Why would I need to run this script on the client?

Good question.  I've never tried to run a pure nfs client.  Unlike, say
ftp or telnet, I've always used (and seen) nfs hosts as being both
client and server.  Maybe this question would best be asked on an nfs
list or newsgroup, or even taken back to debian-user.  I see no reason
in principle why you could have just a pure server or pure client.

Sorry, didn't mean to take this off-list (forgot to change the "To:").

My /etc/exports on
host2 (the client) is empty, so I (understandably) get this:

host2:~# /etc/init.d/nfs-kernel-server start
Not starting NFS kernel daemon: No exports.


It doesn't make very much sense to me either.  :-)  Perhaps the package
maintainer would explain it to you, or (again) somebody in debian-user.

In the meantime you might just try "exporting" /tmp or something just
to see if the client starts working.

I tried that, and now when I start nfs-kernel-server, I get this:

host2:~# /etc/init.d/nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon...done.
Exporting directories for NFS kernel daemon...host1.domain.com:/tmp: Function not implemented
done.

So, it looks like the NFS server isn't working on this machine, either.

One other issue that you should be aware of, since we are talking about
nfs init scripts, is that they must be run in the correct order and it
depends on whether you are bring nfs up or shutting it down.  I keep
forgetting that order, so to make like simpler I put the following commands
in a script to restart all nfs-related daemons:

/etc/init.d/nfs-common stop
/etc/init.d/nfs-user-server stop
/etc/init.d/portmap stop
/etc/init.d/portmap start
sleep 1
/etc/init.d/nfs-user-server start
/etc/init.d/nfs-common start

This didn't work either. Note that I used nfs-kernel-server, instead of nfs-user-server.

--df



Reply to: