This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mount nfs under dm368 dvr

Hello,

Would you please help about my problem.

  I configured the u-boot of dm368 dvr for nfs booting and succedeed to boot from ubuntu nfs share.

 I am using mount nfs under dm368  mount to another linux system . It have error.   

. Here is the output of the mount command:

 # mount -t nfs 140.96.112.103:/home/targetfs  -o nolock mount: wrong fs type, bad option, bad superblock on 140.96.112.103:/home/target,

 missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so

BestRegard,

weng

  • Hi,

    Ubuntu seems to have nfs-package pre-installed. Does you other linux system have it installed.

    1. use nfsstat command to see if nfs is running

    2. if not installed, install nfs package. for reference have a look at below websites

     http://www.cyberciti.biz/faq/how-to-ubuntu-nfs-server-configuration-howto/  (works for other linux platforms also)

    http://www.linux-noob.com/forums/index.php?/topic/1782-setting-up-a-simple-nfs-server/


    regards

    Gururaja

     

     

  • Hi,Gururaja

    Thanks you answer.

    >>1. use nfsstat command to see if nfs is running

    >>2. if not installed, install nfs package. for reference have a look at below websites

    I had installed the nfs server on ubuntu linux.

    My DM368 DVR can booting from ubuntu linux using nfs method.

    It can running well. My require is mount to ubuntu linux another directory(using NFS) form running DM368 DVR.

    It can not work. The Error message show in my first post. whether I missing some thing?

    BestRegard,

    weng

  • Hi,

    >>>>2. if not installed, install nfs package. for reference have a look at below websites

    >>I had installed the nfs server on ubuntu linux.

    >>My DM368 DVR can booting from ubuntu linux using nfs method.

    >>It can running well. My require is mount to ubuntu linux another directory(using NFS) form running DM368 DVR.

     

    earlier you mentioned that " I am using mount nfs under dm368  mount to another linux system . It have error.  "

    So, kindly clarify whether you want DM368 DVR

    1. to mount NFS share from an Entirely different system

    or

    2. to mount NFS share from same Ubuntu system but from different directory.

     

    if 1. is what you want follow, by initial suggestion.

    if 2. then edit /etc/exports file and change the directory to be exported and the users as

    <export-directory> <host1>(<options>) <hostN>(<options>)
    Save and close the file. Just restart nfs-server:
    $ sudo /etc/init.d/nfs-kernel-server restart

    http://www.cyberciti.biz/faq/how-to-ubuntu-nfs-server-configuration-howto/

    Regards
    Gururaja
  • Hi,

    Can you please confirm that you are able to mount that particular NFS exported directory on any other standard linux PC? If yes, then we need to look at the DVR specific file system.

    Regards,

    Anshuman

  • Dear Anshuman,

    I still can not mount NFS exported directory on any other standard linux PC.

     I using DM368 DVR reference design  software build  uImage and filesystem.

    I can using another embedd device mount to linux PC is OK, But DM368 DVR not mount nfs.

    In build filesystem I have missing somthiing ?  

    BestRegars,

    weng

  • Dear Anshuman,

             I  complier busybox and replace file system mount command.

    It's runing OK .

    BestRegard,

    weng