MX-760HD MountNFSShares

From MvixCommunity

Jump to: navigation, search

Most of the what you need to mount NFS shares on your Mvix is already in place. There is no portmapper running, so the actual mount will take several minutes to perform but it works. Here is what you do:

  • Locate a suitable mount point somewhere that the GUI will see. The easiest way of doing this is having an internal disk and creating a directory on that. Mine is ext3 formatted, so I can do this while logged in.
   way:/tmp/ide/part1# df
   Filesystem                             1k-blocks      Used Available Use% Mounted on
   /dev/root                                   6986      6986         0 100% /
   /dev/ide/host0/bus0/target0/lun0/part1 283855840    215820 268988340   0% /tmp/ide/part1
  • Create the mount point:
   way:/tmp/ide/part1# mkdir /tmp/ide/part1/data
  • Verify that it's been created
   way:/tmp/ide/part1# ls /tmp/ide/part1/data
  • Mount a remote share. Note the extra option to avoid timeouts due to missing local daemons.
   way:/tmp/ide/part1# mount 10.0.0.2:/data /tmp/ide/part1/data -o nolock
   way:/tmp/ide/part1# df
   Filesystem                             1k-blocks      Used Available Use% Mounted on
   /dev/root                                   6986      6986         0 100% /
   /dev/ide/host0/bus0/target0/lun0/part1 283855840    215820 268988340   0% /tmp/ide/part1
   10.0.0.2:/data                           1730627   1581398    149228  91% /tmp/ide/part1/data
  • Now Refresh in the GUI and browse the internal HDD. You will see your data directory and have access to all the files that are in this NFS share. And it's much faster than fetching files over CIFS, so watching 720p material for example will be much smoother than before.

Hopefully they'll include the proper daemons in some future firmware, so that the mount doesn't take five minutes. Then it will be worth hacking the firmware to automount your disks at boot. ( with the -o nolock option passed to mount it will bypass the portmapper and the mount will not take five minutes. )

Personal tools