Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Is it possible to mount nfs share on mk808b finless 1.7?
Collapse
X
-
DLNA?
Question: would a DLNA not be more appropriate and simpler? I don't know the current state of NFS, but I remember way back when having two linux boxes connected to each other through NFS, and then when one server went down, the other server refused to unmount and I could not even kill any process to get things to release. It's like it frantically insisted on that server coming back as if its life depended on it. I literally had to reboot to get it to stop. And that was highly unusual for Linux, because normally I reboot maybe once a year.
Comment
-
Originally posted by Andromoid View PostI remember way back when having two linux boxes connected to each other through NFS, and then when one server went down, the other server refused to unmount and I could not even kill any process to get things to release. It's like it frantically insisted on that server coming back as if its life depended on it. I literally had to reboot to get it to stop. And that was highly unusual for Linux, because normally I reboot maybe once a year.
from linux man page:
These options are valid to use with any NFS version.soft / hardDetermines the recovery behavior of the NFS client after an NFS request times out. If neither option is specified (or if the hard option is specified), NFS requests are retried indefinitely. If the soft option is specified, then the NFS client fails an NFS request after retrans retransmissions have been sent, causing the NFS client to return an error to the calling application.
Any news for the nfs module?
Thank you
Pietro
Comment
-
I got nfs shares working on a MK808 but it wasn't simple. It involved compiling my own kernel based on the omegamoon kernel but with the kernel config changed to build nfs support into the kernel.
Struggled with modules that were floating around. None worked. As I'd decided to compile my own kernel it made sense to build the support in.
MK808B does not have kernel source for RK903 so if you compile your own then no wifi or bt.
In my experience none of the modules in the MK808b firmwares actually work. In theory the cifs module supports nfs so if you can find one that will insert into the kernel then you can still have wifi and bt.
To actually mount the nfs share I found it simpler to mount from the command line. I am at work at the moment but will try to update later with a mount command which worked for me.
Another couple of things to bear in mind.
The exports need to be set up right on the nfs server. (read http://wiki.xbmc.org/?title=NFS)
You need to mount with a busybox which has nfs support, not normal mount. And some apps (sshdroid is one) install their own busybox (no nfs support) version, then put it at the start of the $PATH stopping the mount command working. You can find out which busybox is active by typing
Code:which busybox
I think you must start mount command asCode:busybox mount
Code:mount
Update
The command I use isCode:busybox mount -o nolock,ro,hard,intr,vers=3 192.168.1.172:/media/raid2/Data/movies/ /sdcard/nfs/Movies/
192.168.1.172 is the IP of the nfs server
:/media/raid2/Data/movies/ is the exported nfs share (colon needed)
/sdcard/nfs/Movies/ is the folder on the mk808 where the nfs will be mounted (must exist)
The options might not all needed (-o nolock,ro,hard,intr,vers=3) but it worked so I've left it alone
Comment
What's Going On
Collapse
There are currently 1697 users online. 2 members and 1695 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment