NFS

Taylor, ForrestX forrestx.taylor at intel.com
Fri Aug 20 18:38:41 UTC 2004


On Fri, 2004-08-20 at 11:28, Michael Sullivan wrote:
> I have two PC's:  bullet.espersunited.com and baby.espersunited.com  I
> would like to mount some of bullet's directories on baby.  I started the
> NFS service on bullet and ran redhat-config-nfs.  I set up /backup on
> bullet to be the directory exported and to only export it to
> baby.espersunited.com .  bullet doesn't have a monitor hooked up to it;
> I always access it through ssd.  I logged out of bullet and returned to
> baby and issued the mount command:
> 
> [root at baby root]# mount bullet.espersunited.com:/backup /backup/bullet
> mount: RPC: Remote system error - No route to host
> 
> I know there's a route to bullet because I just ssh'd over there.  I
> thought maybe it was because the NFS daemon on baby wasn't running.  I
> entered "service nfs start":
> 
> [root at baby root]# service nfs start
> Starting NFS services:                                     [  OK  ]
> Starting NFS quotas: Cannot register service: RPC: Unable to receive;
> errno = Connection refused

This is most likely a firewall issue.  Open up ports 111 (TCP & UDP),
2049 (TCP & UDP), and 4002 (UDP) on both machines.  If you firewall
REJECTs these ports, remove those lines.

On the NFS server side, add this line to /etc/sysconfig/nfs:
MOUNTD_PORT=4002

Restart nfs and iptables, and verify that it works.  Also, update the
nfs-utils on both machines using up2date.

Forrest






More information about the fedora-list mailing list