Review your favorite Linux distribution.
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 07-01-2005, 04:48 PM   #1
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
Export directories via NFS


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:

/mnt/raid/raidc/dailyscan XXX.XXX.XXX.0/,no_root_squash)
/mnt/raid/raidc/data XXX.XXX.XXX.0/,no_root_squash)

and then I try to mount the given directories on another linux box on the same subnet:

sudo mount -vv 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 '' 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.

Old 07-01-2005, 05:14 PM   #2
Registered: Oct 2002
Location: Charlottesville, VA
Distribution: Ubuntu (home), SLES (work)
Posts: 196
Blog Entries: 1

Rep: Reputation: 30
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
as root. It will verify that the /etc/exports file is being read properly.

Old 07-01-2005, 06:01 PM   #3
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16

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.

Old 07-07-2005, 02:21 AM   #4
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Try using Guarddog , if its available for RH, its a nice GUI for stting up iptable based firewalls


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
Export NFS behind firewall nifflerX Linux - Networking 2 07-06-2005 03:41 PM
smb mount -> nfs export wie20345 Linux - Networking 3 02-12-2005 03:09 PM
NFS doesn't export everything ejoftheweb Linux - Networking 5 09-03-2004 04:29 AM
export directories via NFS on redhat 8.0 nifflerX Linux - Networking 1 01-16-2004 03:09 AM
local access of NFS export joeljensen Linux - Networking 1 04-29-2003 01:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration