OE2.0 - NFS Server not fully working

  • Hi, installed today " dreambox-image-dm8000-20131014.nfi " on my dm8000 and wanted to set up nfsserver but I am unable to connect to it from my linux clients after executing following commands on my dm8000 ( see below ). Can one hint me so this will work again. TiA!



    opkg update
    opkg install nfs-utils


    vi /etc/exports contains " /media/hdd *(rw,async,nohide,fsid=0,no_subtree_check,no_root_squash) "


    /etc/init.d/nfsserver restart


    stopping mountd: done
    stopping statd: done
    starting mountd: done
    starting statd: /usr/sbin/rpc.statd is already running
    654
    done


    /etc/init.d/portmap restart
    /etc/init.d/portmap: line 56: pmap_dump: not found
    Stopping portmap daemon...
    Starting portmap daemon...
    /etc/init.d/portmap: line 56: pmap_set: not found


    exportfs -ra


    ps ax | grep -e nfsd -e portmap -e mountd
    20927 ? Ss 0:00 /usr/sbin/rpc.mountd -f /etc/exports
    21137 ? Ss 0:00 /sbin/portmap
    21360 pts/0 R+ 0:00 grep -e nfsd -e portmap -e mountd


    showmount -e
    Export list for dm8000:
    /media/hdd *



    Clients say:


    :~# mount -a
    mount: 192.168.10.11:/media/hdd failed, reason given by server: Permission denied
    mount: RPC: Remote system error - No route to host

    Einmal editiert, zuletzt von dolphs ()

  • Shouldn't you add a proper IP or an IP-range or network names in /etc/exports, instead than a *?


    And please, post code or Telnet output


    Code
    like this.

    How can we win, when fools can be kings?

  • Hmm I assume there is no firewall active as localhost gives same headache ?


    1/ * or 192.168.10.0/24 did not solve


    2/


    on dm8000:

    Code
    root@dm8000:/media/hdd/dm8000# telnet localhost 4045
    telnet: can't connect to remote host (127.0.0.1): Connection refused
    root@dm8000:/media/hdd/dm8000# telnet localhost 2049
    telnet: can't connect to remote host (127.0.0.1): Connection refused
    root@dm8000:/media/hdd/dm8000# telnet localhost 1110
    telnet: can't connect to remote host (127.0.0.1): Connection refused
    root@dm8000:/media/hdd/dm8000# telnet localhost 111

    2 Mal editiert, zuletzt von dolphs ()

  • of course I can telnet and ssh - no problem -


    Code
    ~ $ telnet 192.168.10.11 22
    Trying 192.168.10.11...
    Connected to 192.168.10.11.
    Escape character is '^]'.
    SSH-2.0-dropbear_2012.55
    ^]q
    
    
    telnet> q
    Connection closed.





    now nfs:

    Code
    :~# mount -t nfs 192.168.10.11:/media/hdd /media/lan/wd
    mount: 192.168.10.11:/media/hdd failed, reason given by server: Permission denied
    mount: mounting 192.168.10.11:/media/hdd on /media/lan/wd failed: Bad file descriptor
    
    
    :~# mount -t nfs4 192.168.10.11:/media/hdd /media/lan/wd
    mount: 192.168.10.11:/media/hdd failed, reason given by server: Permission denied
    mount: mounting 192.168.10.11:/media/hdd on /media/lan/wd failed: Bad file descriptor


    And finally:

    3 Mal editiert, zuletzt von dolphs ()

  • ok this shows some interesting thoughts as module " kernel-module-nfsd " is not being downloaded automatically when you execute :


    Code
    opkg update
    opkg install nfs-utils


    Guess this is something to add as a dependency for our convenience
    After adding the kernel module things start to move finally ...


    Case closed