Find the answer to your Linux question:
Results 1 to 2 of 2
I have two machines directly connected vi network cable. One setup as 10.0.0.1 (server, running OpenSuSE) and another as 10.0.0.2 (client, running Ubuntu). Each machine can ping each other. I ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    4

    nfs mount error

    I have two machines directly connected vi network cable. One setup as 10.0.0.1 (server, running OpenSuSE) and another as 10.0.0.2 (client, running Ubuntu). Each machine can ping each other.
    I ran fs service o the client machine:
    $ /etc/init.d/nfs-kernel-server start

    Then, from client, I tried to mount the server mount point (/media/target).

    $ mount -t nfs 10.0.0.1:/media/target /mnt/foo
    mount.nfs: mount to NFS server 'rpcbind' failed: RPC Error: Program not registered
    mount.nfs: internal error

    I created the mount point (/media/target) in the server and addd '/media/target' in /etc/hosts on the client machine.

    Any idea on the error message?
    Many thanks in advance.

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    6
    Hi,

    I guess the firewall is making some issues while you are trying to connect the NFS Share.... Please try the below commands in your NFS Server... This might fix your prob...

    # service iptables stop
    # chkconfig iptables off
    # iptables -F
    # iptables -L (to check if any rules exists)
    # exportfs -a
    # service portmap restart
    # service nfs restart
    #chkconfig portmap on
    #chkconfig nfs on

    Client side:

    #showmount -e 10.0.0.1 (shows you the exported files)
    If you can see the exported files after executing the above command... Try with to mount the share
    #mount -t nfs 10.0.0.1:/media/target /mnt/foo

    Let me know if it worked or not

Posting Permissions

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