Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-20-2015, 02:28 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 6

Rep: Reputation: Disabled
Samba server is working but NFS only gets error


I have i.MX6 device as server and i.MX28 as client.
server ip:
client ip:
I use the following codes to mount the shared folder with these errors
mount -t nfs /mnt/nfs
mount: RPC: Unable to receive; errno = Connection reset by peer
mount: mounting on /mnt/nfs failed: Bad file descriptor
/etc/export file
Displaying mounted folders on the client
root@freescale /mnt/wlan$ showmount -e
Export list for
RPC related output
root@imx6q-myboard:~# rpcinfo
   program version netid     address                service    owner
    100000    4    local     /var/run/rpcbind.sock  portmapper superuser
    100000    3    local     /var/run/rpcbind.sock  portmapper superuser
    100003    3    tcp            nfs        superuser
    100003    4    tcp            nfs        superuser
    100227    3    tcp            -          superuser
    100003    3    udp            nfs        superuser
    100003    4    udp            nfs        superuser
    100227    3    udp            -          superuser
    100021    1    udp        nlockmgr   superuser
    100021    3    udp        nlockmgr   superuser
    100021    4    udp        nlockmgr   superuser
    100021    1    tcp        nlockmgr   superuser
    100021    3    tcp        nlockmgr   superuser
    100021    4    tcp        nlockmgr   superuser
root@imx6q-myboard:~# rpcinfo -p
No remote programs registered.
root@imx6q-myboard:~# rpcinfo -p
   program vers proto   port  service
    100000    2   tcp    111  portmapper
    100024    1   udp  35734  status
    100024    1   tcp  42242  status
    100005    1   udp  37386  mountd
    100005    1   tcp  55494  mountd
    100005    2   udp  37386  mountd
    100005    2   tcp  55494  mountd
    100005    3   udp  37386  mountd
    100005    3   tcp  55494  mountd
root@imx6q-myboard:~# rpc
rpc.idmapd  rpc.nfsd    rpcbind     rpcinfo
rpc.mountd  rpc.statd   rpcclient
I don't know what lese I am missing, I can't seem to make the nfsserver work. It is always the same error [RPC: Unable to receive; errno = Connection reset by peer]
Although [rpcinfo -p] does not show anything and [rpcinfo -p <server ip>] does not list nfs in it. Is that perhaps the problem?

Best Regards
Old 03-20-2015, 02:32 AM   #2
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 178

Rep: Reputation: 13
Is port 1024 open in firewall
Old 03-20-2015, 02:56 AM   #3
LQ Newbie
Registered: Jun 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Originally Posted by zafar_dandoti View Post
Is port 1024 open in firewall
I believe I have not installed any firewalls on the device. ip_tables does not even work on the system.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS vs Samba for home server srunni Linux - Server 5 08-10-2008 11:37 PM
NFS Error during PXE Boot from NFS server JatMan Linux - Enterprise 0 10-16-2006 05:48 PM
NFS and Samba shares not working on MDK10, kernel 2.6.6 server DaneM Linux - Software 1 05-29-2004 08:42 PM
NFS and Samba on the same server? Baldur5018 Linux - General 3 02-06-2003 01:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration