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

Re: mount: unknown filesystem type 'nfs'



Dan Fulbright wrote:
When I try to mount an NFS filesystem, I get this error:

mount: unknown filesystem type 'nfs'

Something must not be loaded.  What do you get by running "rpcinfo -p"?

For comparison, here's what I get:

marty@algernon:~$ rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100021    1   udp   1024  nlockmgr
    100021    3   udp   1024  nlockmgr
    391002    2   tcp    605  sgi_fam
    100024    1   udp    676  status
    100024    1   tcp    679  status
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100005    1   udp   2048  mountd
    100005    2   udp   2048  mountd
    100005    1   tcp   2048  mountd
    100005    2   tcp   2048  mountd

On host1 (the server), I get:
    program vers proto   port
     100000    2   tcp    111  portmapper
     100000    2   udp    111  portmapper
     100024    1   udp    876  status
     100024    1   tcp    879  status
     100003    2   udp   2049  nfs
     100021    1   udp  47040  nlockmgr
     100021    3   udp  47040  nlockmgr
     100005    1   udp    868  mountd
     100005    1   tcp    871  mountd
     100005    2   udp    868  mountd
     100005    2   tcp    871  mountd

On host2 (the client), I get:
    program vers proto   port
     100000    2   tcp    111  portmapper
     100000    2   udp    111  portmapper
     100024    1   udp    704  status
     100024    1   tcp    707  status

Lack of mountd here is suspicious, because its mount that's not
recognizing nfs (apparently, not that I'm any nfs expert.)  You
can try to manually start its init script in /etc/init.d/.   (I've
got one file there called mountnfs.sh, which may be the one you need.)


So, it looks like you might be right. The two machines are nearly identical. I didn't do the actual install of Debian, and I just noticed that they are running different kernel versions:

host1:~# uname -a
Linux host1.domain.com 2.4.23 #5 SMP Tue Feb 10 08:06:33 CST 2004 i686 GNU/Linux

host2:~# uname -a
Linux host2.domain.com 2.4.26-bf2.4 #1 SMP Wed May 26 08:34:11 PDT 2004 i686 GNU/Linux





Reply to: