Results 1 to 6 of 6

Thread: mount.nfs: Connection timed out

  1. #1
    Join Date
    Oct 2008
    Location
    Sweden
    Beans
    84
    Distro
    Ubuntu 13.04 Raring Ringtail

    mount.nfs: Connection timed out

    Okay, so I just bought a ReadyNAS nv+ v2, installed an add-on so that I get root-access to it via ssh, and lo and behold, it was running something based on debian-squeeze (ARM).

    On my previous NAS (ubuntu server) I mounted stuff with sshfs, but before retiring that NAS, I tried NFS and it was way faster and more reliable.

    On the new NAS, I can mount via sshfs, but I'd really like to mount via NFS. I'm new to NFS, so I'd like some help.

    What I've done so far.

    Edited /etc/exports
    Code:
    /c/home/johan 10.10.1.190(rw,sync,no_subtree_check)
    /c/home/johan 10.10.1.196(rw,sync,no_subtree_check)
    Then I ran this
    Code:
    exportfs -r
    Yielded no errors


    Then I ran the following command
    Code:
    root@Amunet:/# /etc/init.d/portmap restart
    Stopping portmap daemon....
    Starting portmap daemon....
    root@Amunet:/# /etc/init.d/nfs-common restart
    Stopping NFS common utilities: idmapd statd.
    Starting NFS common utilities: statd idmapd.

    Then on my desktop machine (ubuntu 11.10) I ran
    Code:
    sudo mount 10.10.1.100:/c/home/johan /media/nellie
    and
    Code:
    sudo mount -t nfs 10.10.1.100:/c/home/johan /media/nellie
    which results in the error:
    Code:
    mount.nfs: Connection timed out
    10.10.1.100 is the NAS... YES! "/c/home/johan" is the correct path to the directory I want to share. I guess the "c" is to make windows users comfortable so that they don't have to deal with the unix filesystem.


    Another thing to mention is that, when I ordered this NAS, the shopping site listed it as having NFS support. But on Netgears site they have some pages that says it has NFS support and some that say it does not have NFS. The previous model had NFS. And clearly, the NFS software is there.

    So, it might need some tinkering!

    Anyone up for the challange?

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Beans
    84
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: mount.nfs: Connection timed out

    More info:


    Code:
    root@Amunet:/# rpcinfo -p
    program vers proto   port
    100000    2   tcp    111  portmapper
    100024    1   udp  45598  status
    100024    1   tcp  36736  status
    In another forum someone had...

    Code:
    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
    ...which I am missing. What to do?

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,536
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: mount.nfs: Connection timed out

    Usually the command to run the NFS server on Debian/Ubuntu is either "service nfs-kernel-server start" or "/etc/init.d/nfs-kernel-server start".

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Beans
    84
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: mount.nfs: Connection timed out

    Dude, I remembered trying that before (a couple of software-reinstalments ago), and it didn't work, it said the server was already running.

    For whatever reason, this time it said it started (tried it so I could hand you the same error-message). I tried mounting it... BAM!! it worked!

    You sir, have made me one happy man! Thank you, thank you, thank you!

  5. #5
    Join Date
    Jan 2012
    Beans
    2

    Re: mount.nfs: Connection timed out

    Would suggest you do a
    Code:
    vi /etc/default/services
    and set "NFS=1" (no quotes). This should mean that NFS is automatically started on each boot.

    The information on NetGear.com should be being corrected.

    ReadyNAS.com has a great community forum and a good comparison chart: http://www.readynas.com/?cat=49

  6. #6
    Join Date
    Jan 2012
    Beans
    2

    Re: mount.nfs: Connection timed out

    Some good news. NFS has been added as a feature in RAIDiator 5.3.5 (currently in beta: http://www.readynas.com/forum/viewto...?f=148&t=62728)

Tags for this Thread

Bookmarks

Posting Permissions

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