Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Rep:
Export directories via NFS
Hi,
I'm runing Redhat Enterprise Workstation v.4 and I'm trying to export a directory via NFS. The directory in question is one where I've mounted a SCSI raid5 box. Basicallly what I'm trying to do is export this raid5 box to my network. I've setup my /etc/exports on my linux box like this:
and then I try to mount the given directories on another linux box on the same subnet:
sudo mount -vv server.host.name:/mnt/raid/raidc/dailyscan dir/
But when I do that I get the following errors:
mount: no type was given - I'll assume nfs because of the colon
mount to NFS server 'server.host.name' failed: server is down.
RPC Error: 12 ( Remote system error )
System Error: 113 (No route to host)
I've checked on my server box that NFS is running but still nothing. Does anyone kow what I'm missing? Maybe I've got some security thing that's keeping me from exporting these directories? Thanks so much.
I'd check to make sure the portmon service is running ( responsible for RPC ). Also, make sure time is reasonable close, as servers out of sync a great deal in time will not establish a RPC port. Check your firewall on the nfs server also. You may want to try typing
Code:
exportfs
as root. It will verify that the /etc/exports file is being read properly.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
Hi,
Thank you for the reply. As it turned out the problem was with the firewall. My firewall on my server was too restrictive. I am trying to fine tune it now. Basically I only want to allow ssh connections from a small group of people and NFS mounts from the computers I exported too. Do you know of a good way to set up these limitations? I think I've restricted outside acccess with the hosts.allow and hosts.deny files, but I don't know much about this type of stuff so any ideas would be greatly appreciated. Thanks so much.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.