Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am working on a NFS server embedded on a PowerPC plateform (4650EX, 512Ram, 1 GB Ethernet) but i can't mount my exports folders from my client. Here are ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    [SOLVED] NFS server on embedded plateform


    Hi,

    I am working on a NFS server embedded on a PowerPC plateform (4650EX, 512Ram, 1 GB Ethernet)

    but i can't mount my exports folders from my client. Here are messages :

    -- server side :


    $ tail /var/log/message

    Dec 11 23:35:45 canyonlands mountd[1345]: authenticated mount request from 147.138.27.17:620 for /mnt/ssd (/mnt/ssd)

    Dec 11 23:35:45 canyonlands mountd[1345]: Cannot export /mnt/ssd, possibly unsupported filesystem or fsid= required



    -- client side :

    $ moutn -t nfs 147.138.27.20:/mnt/ssd /mnt/nfs
    mount: 147.138.27.20:/mnt/ssd failed, reason given by server: Permission denied




    -- Lunch of the NFS services
    $ /etc/init.d/nfs start

    Starting NFS services: [ OK ]

    Starting NFS daemon: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory

    [ OK ]

    Starting NFS mountd: [ OK ]




    --------------------------
    Here some files conf :


    $ cat /etc/exports

    /mnt/ssd 147.138.0.0/16(rw,fsid=0,no_root_squash)



    $ showmount -e 147.138.27.20

    Export list for 147.138.27.20:

    /mnt/ssd 147.138.0.0/16



    $ rpcinfo -p

    program vers proto port

    100000 4 tcp 111 portmapper

    100000 3 tcp 111 portmapper

    100000 2 tcp 111 portmapper

    100000 4 udp 111 portmapper

    100000 3 udp 111 portmapper

    100000 2 udp 111 portmapper

    100000 4 0 111 portmapper

    100000 3 0 111 portmapper

    100000 2 0 111 portmapper

    100024 1 udp 48852 status

    100024 1 tcp 39361 status

    100021 1 udp 44444 nlockmgr

    100021 3 udp 44444 nlockmgr

    100021 4 udp 44444 nlockmgr

    100021 1 tcp 53401 nlockmgr

    100021 3 tcp 53401 nlockmgr

    100021 4 tcp 53401 nlockmgr

    100003 2 udp 2049 nfs

    100003 3 udp 2049 nfs

    100003 4 udp 2049 nfs

    100003 2 tcp 2049 nfs

    100003 3 tcp 2049 nfs

    100003 4 tcp 2049 nfs

    100005 1 udp 50855 mountd

    100005 1 tcp 34396 mountd

    100005 2 udp 50855 mountd

    100005 2 tcp 34396 mountd

    100005 3 udp 50855 mountd

    100005 3 tcp 34396 mountd



    $ mount

    /dev/nfs on / type nfs (rw)

    none on /proc type proc (rw)

    sysfs on /sys type sysfs (rw)

    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

    nfsd on /proc/fs/nfsd type nfsd (rw)

    147.138.27.17:/LOCAL/tftp/nas on /mnt/nfs type nfs (rw,nfsvers=3,addr=147.138.27.17)

    /dev/sda1 on /mnt/ssd type ext2 (rw)



    $ cat /var/lib/nfs/rmtab

    147.138.0.0/16:/mnt/ssd:0x00000001



    $ cat /var/lib/nfs/etab

    /mnt/ssd 147.138.0.0/16(rw,sync,wdelay,hide,nocrossmnt,secure,no_root_s quash,no_all_squash,no_subtree_check,secure_locks, acl,fsid=0,anonuid=65534,anongid=)



    $ cat /var/lib/nfs/xtab

    empty



    $ cat /proc/fs/nfs/exports

    # Version 1.1

    # Path Client(Flags) # IPs

    Some informations
    ---------------
    * OS : ELDK 2.2
    * Kernel version :

    Linux canyonlands 2.6.33.1 #5 Thu Jun 24 16:00:50 CEST 2010 ppc ppc ppc GNU/Linux


    * NFS server is activated in the kernel.

    * Both v4 and v3 don't work


    ------------
    Thanks a lot !

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2
    Ok i have found...

    Very stupid but not easy :

    My clock was not set (just set to the epoch time). So i made the command :

    $ date 072011512010
    $ /etc/init.d/nfs restart

    And it work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •