Configuring NFS server on F8 not working

Anoop Chandran anoopcj at gmail.com
Thu Dec 20 07:27:53 UTC 2007


On Dec 20, 2007 10:28 AM, Richard England <rlengland at verizon.net> wrote:

> Richard England wrote:
> > Anoop Chandran wrote:
> >>
> >>
> >> On Dec 19, 2007 12:55 PM, Richard England <rlengland at verizon.net
> >> <mailto:rlengland at verizon.net>> wrote:
> >>
> >>     I have a F7 (didius) and a F8 (poirot) machine that I am trying to
> >>     "cross mount" directories on.
> >>
> >>     I can mount F7 directories on the F8 machine using   mount -t nfs
> >>     didius:/home/foobar /mnt/foobar
> >>
> >>     But when I try the opposite, mounting the F8 directory on F7
> >> mount -t
> >>     nfs poirot:/home/rhombux /mnt/rhombux   it fails with the message
> >>
> >>        "mount: mount to NFS server 'poirot' failed: System Error: No
> >>     route
> >>     to host."
> >>
> >>     I have tried with SELINUX and the firewall both disabled but that
> >>     seems
> >>     to have no effect.  The set up on each machine seems to be the
> same.
> >>     I've set up /etc/exports on each machine
> >>
> >>     On the F7 machine (didius)
> >>     /home/foobar            poirot(rw,sync,no_root_squash)
> >>
> >>     On the F8 machine (poirot)
> >>     /home/rhombux        didius(rw,sync,no_root_squash)
> >>
> >>     exportfs -a returns no errors.  NFS seems to be enabled
> >>
> >>     [root at didius rengland]# /sbin/service nfs status
> >>     rpc.mountd (pid 2464) is running...
> >>     nfsd (pid 2461 2460 2459 2458 2457 2456 2455 2454) is running...
> >>     rpc.rquotad (pid 2446) is running...
> >>
> >>
> >>     [root at poirot rengland]# /sbin/service nfs status
> >>     rpc.mountd (pid 1990) is running...
> >>     nfsd (pid 1987 1986 1985 1984 1983 1982 1981 1980) is running...
> >>     rpc.rquotad (pid 1972) is running...
> >>
> >>     I can ping each machine from the other and I can use ssh to access
> >>     each
> >>     of the machines from the other.
> >>
> >>     Can anyone point me at some further diagnostics I can look at or
> >>     perhaps
> >>     give me some hints about other things I can try?  I had this
> working
> >>     when both machines were F7.  I'm beginning to suspect and F8 issue
> >>     but
> >>     I'm at the end of my ideas.
> >>
> >>
> >> Does `showmount` command list any exported mount points on FC8 server?
> >>
> >> didius$ showmount -e poirot
> >>
> >>
> >>     I'm going to be away from the machine for a while but this is
> >>     driving me
> >>     further nuts and I had to ask.
> >>
> >>
> >>     Thanks,
> >>
> >>     ~~Richard
> >>
> >>     --
> >>     fedora-list mailing list
> >>     fedora-list at redhat.com <mailto:fedora-list at redhat.com>
> >>     To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >>
> >>
> >>
> >>
> >> --
> >> - Anoop
> >>  <>_<>
> >
> >
> > [root at didius rengland]# /usr/sbin/showmount -e poirot
> > [root at didius rengland]#
> >
> >
> >
> By the way,  going the other way, I get:
>
> [root at poirot rengland]# /usr/sbin/showmount -e didius
> Export list for didius:
> /home/foobar poirot
>

- Try root at poirot rengland]# /usr/sbin/showmount -e localhost
   If it doesnt show anything meaningful, then may be you need to
   check your configs or try running
   # exportfs -ar
- Hope you've tried `iptables -F` on both the boxes.
- Make sure, you haven't blocked portmapper access through
  TCPWrappers - check /etc/hosts.allow and /etc/hosts.deny
- And perhaps, you might want to run tcpdump on your network
  interface and look for dropped packets or so.


> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>



-- 
- Anoop
 <>_<>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071220/4e62e16e/attachment-0001.htm>


More information about the fedora-list mailing list