Fedora Linux Support Community & Resources Center
  #1  
Old 23rd January 2010, 02:28 AM
shylock Offline
Registered User
 
Join Date: Jan 2010
Posts: 21
linuxfedorafirefox
mount.nfs: mount system call failed


Setting of my NFS as following and I am failed to mount client and get connected the both computer using Fedora 11; server ~(tower) and client (note book)

****** NFS Server setting .... ******

root@tomcat shylock_1]# cat /etc/sysconfig/iptables

# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT


[root@tomcat shylock_1]# cat /etc/exports
/home/shylock_1/tuxbox 192.168.1.105(rw,sync,no_root_squash)
/home/shylock_1/Pictures 192.168.1.105(rw)
/home/shylock_1/Public 192.168.1.105(rw)


[root@tomcat shylock_1]# cat /etc/hosts.allow

#
# hosts.allow This file contains access rules which are used to
portmap: 192.168.1.0/255.255.255.0
lockd: 192.168.1.0/255.255.255.0
rquotad: 192.168.1.0/255.255.255.0
mountd: 192.168.1.0/255.255.255.0
statd: 192.168.1.0/255.255.255.0


[root@tomcat shylock_1]# cat /etc/hosts.deny

#
portmap: ALL
mountd: ALL
rquotad: ALL
lockd: ALL

CHECKING .... ON NFS SERVER i.e. 192.168.1.105

1)

[root@tomcat shylock_1]# service rpcbind status
rpcbind (pid 2886) is running...


2)
[root@tomcat shylock_1]# service nfs status

rpc.mountd (pid 15437) is running...
nfsd (pid 15434 15433 15432 15431 15430 15429 15428 15427) is running...
rpc.rquotad (pid 15422) is running..


**** Please make note selinux demon has been disabled ********


*************** ON CLIENT SIDE ***************


file : /etc/exports EMPTY
file : /etc/hosts.allow EMPTY
file :/etc/hosts.deny EMPTY


[root@eagle shylock_1]# cat /etc/sysconfig/iptables
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT

After making several attempt I cannot mount share on client. What I am missing here? OR is there problem with F11 with NFS server ?

While throwing everything including sink... I ran tcpdump on server while issuing mount command from client; I got following tcp dump.

01:14:57.142977 IP eagle.xxxxx.co.uk.38684 > tomcat.xxxx.co.uk.sunrpc: S 593790635:593790635(0) win 5840 <mss 1460,sackOK,timestamp 38407834 0,nop,wscale 6>
01:14:57.143033 IP tomcat.xxxxx.co.uk > eagle.xxxxx.co.uk: ICMP host tomcat.xxxxx.co.uk unreachable - admin prohibited, length 68
01:15:02.142293 arp who-has eagle.xxxxx.co.uk tell tomcat.xxxxx.co.uk
01:15:02.142431 arp reply eagle.xxxxx.co.uk is-at 00:10:a7:04:d0:0d (oui Unknown)

Which reflect that client (computer - eagle) trying to make call on Server - tomcat but failing.
We have a router which also server DHCP Server and issue IP but server has static IPs

I hope some one may have similar problem I read all the NFS related answer on the forum but I couldn't figure out why my client set up failing to connect may be something I overlooked?
Please any one could shed light on this problem. Thank you in advance.

Shy


Reply With Quote
  #2  
Old 23rd January 2010, 02:38 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,896
linuxfedorafirefox
What do you get on your client by running

rpcinfo -p <server>
Reply With Quote
  #3  
Old 23rd January 2010, 10:02 PM
CiaW Offline
Registered User
 
Join Date: May 2009
Location: eastern Washington (state) USA
Posts: 489
linuxfedorafirefox
1 thing I noticed is on the firewall you only have port 22 open (I think?), and NFS needs port 111 and 2049 open at the least. I also have the ports I assigned in /etc/sysconfig/nfs file.

You'll probably also want to have the host IP and names (with alias if you want) for your subnet in /etc/hosts -- it may not be a requirement but that's what I have.

Along with jpollard's question...
Reply With Quote
Reply

Tags
failed, mount, mountnfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: mount to NFS server '192.168.8.15' failed: RPC Error: Program not registered. laksh Servers & Networking 0 2nd November 2009 03:24 PM
Problem mounting NFS drive: "mount.nfs: mount system call failed" Mr tim esquire Servers & Networking 7 7th October 2009 12:43 AM
mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. fakie_flip Servers & Networking 0 8th April 2008 09:51 AM
mount fuse control file system failed lauwers Using Fedora 3 15th March 2008 10:50 AM
Failed to mount Root file system from diskless computer binay Servers & Networking 4 15th November 2007 08:22 AM


Current GMT-time: 23:51 (Thursday, 18-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Creek Side - Stockholm-Arlanda Airport (ARN) Travel Photos on Instagram - Marina of Koper Travel Photos - Te Whiti Park Instagram Photos - Texas State Fair Photos on Instagram