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.

nfs filesystem mounting problem

Hi

I have Mistral EVM with DM37XX on board.

I have booted the board using bootloader, kernel and  root filesystem on MMC card.

When It try to mount nfs filesystem from command line it doesnt allow me mount nfs filesystem.

mount command I tried is this,

mount   192.168.0.168:/home/demo/rootfs /mnt

mount -t nfs -o nolock 192.168.0.168:/home/demo/rootfs /mnt

mount -t nfs -o nolock,rw 192.168.0.168:/home/demo/rootfs /mnt

It says invalid argument.

Can anybody suggest  what can be the issue.

Please note that,

There are absolutely no issues related to networking and nfs filesystem on nfs server.

My Board's kernel /proc/filesystems shows support for nfs filesystem.

Reagrds,

Prashant.

 

  • Are you able to ping 192.168.0.168 ok?

    Can you share the contents of the hosts /etc/exports file? I know that you said the host settings are fine, but always good to get the full picture.

    Probably not a problem but the only thing that looks odd is mounting the nfs directly on /mnt. Typically, I would create something like /mnt/tmp and mount there so you can have multiple mount points. However, not sure if this would be an issue.

    Jon