Kolbu

Computers, Gadgets and Beyond!
Subscribe


Mounting NFS shares on the Mvix

Requirements for this feat includes a modified firmware that has telnetd support and some locally attached storage, either an internal drive or an USB drive. The standard uClinux kernel used by firmware 1.1.25 (and hopefully above) has NFS support compiled in by default. So really all we have to do is be a bit smart with respect to mount points and we can access all our NFS shares from the Mvix GUI. 

0. NFS export a file system to your Mvix. Exercise left to the reader.

1. 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, since the GUI will let you traverse all such disks. 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 nolock option, since the device does not have relevant supporting daemons running. Mounting using IP-numbers instead of hostname like I use here is perfectly fine.

way:/tmp/ide/part1# mount home:/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/part1283855840    215820 268988340   0% /tmp/ide/part1

home:/data       1730627 1581398 149228  91% /tmp/ide/part1/data

Now press 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 NFS disks at boot.

1 Comments to “Mounting NFS shares on the Mvix”


  1. Reading the above, sounds all confusing to a non Unix/Linux user.

    No offence taken, but using Microsoft Vista and MVIX760 HD with firmware 2.0.3.1. and wireless enabled with “success”.

    I use Windows Commander to ftp to the MVIX with success over a wireless access point. However, I experience problems copying files from PC to the MVIX and receive an FTP error 553.

    Config: MVIX – internall HDD – 500GB reformatted as FAT32 (since FTP can not write to NTFS).

    Is there a way to NFS mount to the MVIX rather, hence to share directories on the MVIX so that one can mount to it from XP.

    Maybe it can;t be done, mayb e it can be done…..

    1

2 Trackbacks/Pingbacks

  1. The high level view of your very own video on demand system | JBCobb.net 12 04 08
  2. JBCobb.net » The high level view of your very own video on demand system 31 08 08

Leave a Reply

  • Hit me

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Default test

    • CNN analyst: Barr's decision won't impact potential impeachment
      CNN legal analyst Elie Honig says Attorney General William Barr's decision not to charge President Donald Trump with obstruction does not make the President immune from impeachment by Congress.
    • European election results come in
      Europe's voters have spoken, but not with a single voice. In what is set to be one of the highest turnouts ever in European elections, the only clear message for Brussels is that Europe must reform if it is to survive. CNN's Hala Gorani reports.
    • Trump: We've made progress on a lot of subjects
      After a day of casual diplomatic male bonding, President Donald Trump entered the more stately portion of his visit to Japan, honoring the country's newly enthroned Emperor and sitting for trade- and security-focused talks with Prime Minister Shinzo Abe.
    • CNN analyst: Barr's decision won't impact potential impeachment
      CNN legal analyst Elie Honig says Attorney General William Barr's decision not to charge President Donald Trump with obstruction does not make the President immune from impeachment by Congress.
    • CNN analyst: Kim Jong Un acting like Trump's surrogate
      North Korean state media launched a stinging attack on the former United States vice president and current presidential candidate, Joe Biden, mocking him as a "fool of low IQ."