GeeXboX

[ Solved ] Automount NFS shares

April 17th, 2014

Home Forums GeeXboX on ARM SoCs [ Solved ] Automount NFS shares

This topic contains 6 replies, has 2 voices, and was last updated by tomlohave 1 day, 10 hours ago.

Viewing 7 posts – 1 through 7 (of 7 total)
  • Author
    Posts
  • #7940

    spacedog
    Member

    On the RaspberryPi we have found that mounting NFS shares automatically into the filesystem and using UDP has significantly improved streaming performance. I personally saw a big boost in stream performance.

    I’d like to employ this same method on Geexbox for my new cubox-i4.

    Does anyone have any guidance on how to achieve this? Do I need to enable any NFS services in Geexbox. Also, what file would I be editing to add the NFS mount? Would it be /etc/fstab or should I be using /etc/mtab

    Or something else?

    • This topic was modified 1 day, 10 hours ago by tomlohave. Reason: closed
    #7941

    tomlohave
    Moderator

    you can use package automounter-nfs
    (not yet included for arm) I can enable it in the day for next snapshot
    you can test it using right now this one : http://download.openbricks.org/cuboxi/automounter-nfs_2.0-1_armv7.opk
    then edit /etc/nfs file

    #7944

    spacedog
    Member

    I must be missing some subtle aspect of setting this up.

    I installed that package and edited /etc/nfs with this:

    192.168.1.x:/m/ArchivedVideo/ /media/nfs-foo nfs _netdev,nfsvers=3,proto=udp,defaults,user,auto,noatime,intr 0 0

    I also did
    mkdir /media/nfs-foo

    After a reboot I noticed that /media/nfs-foo has disappeared and nothing seems to have mounted.

    I’ve probably just given away the fact that my linux skills are pretty n00bish…

    #7945

    spacedog
    Member

    OK. I think I understand it now. Automounter is creating the mount points in /mnt/nfs automatically and I have it working.

    However, it seems that I can’t pass any options via /etc/nfs? Or do I need to parse it differently because it doesn’t seem to follow how mount.nfs works?

    How can I set options for Automounter (like rsize, proto=udp, etc…)?

    #7946

    tomlohave
    Moderator

    all mount options are loacated in /usr/bin/automounter_nfs
    (ro,udp,rsize=32768,soft,noatime,nolock)
    edit this file if you want to modify mount options

    #7947

    spacedog
    Member

    ah! thank you so much!!!!

    #7950

    tomlohave
    Moderator

    closing

Viewing 7 posts – 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Comments are closed.