[ Solved ] Automount NFS shares
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.
-
AuthorPosts
-
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
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 fileI 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 0I also did
mkdir /media/nfs-fooAfter 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…
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…)?
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 optionsah! thank you so much!!!!
closing
-
This topic was modified 1 day, 10 hours ago by
-
AuthorPosts
You must be logged in to reply to this topic.