I am trying to setup a shared folder from a i.MX6 device and mounting it to a i.MX28 device, but it just ends up with the following error:
mount: RPC: Unable to receive; errno = Connection reset by peer
mount: mounting 192.168.0.140:/mnt/nfs on /mnt/nfsshare failed: Bad file descriptor
This is the mount command that I use
mount -t nfs 192.168.0.140:/mnt/nfs /mnt/nfsshare
I even tried, testing it by mounting it on the same board. I get the same error.
Commands [exportfs] and [showmount] show that it seems to work well.
Also below is the [/etc/exports] file content
NFS related Kernel config file look like below:
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_SWAP is not set
# CONFIG_NFSD is not set
Any idea as to what is causing this error?
Am I missing any other configurations?