LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-01-2005, 03:48 PM   #1
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
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:

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

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.

-NifflerX
 
Old 07-01-2005, 04:14 PM   #2
peter72
Member
 
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
Code:
exportfs
as root. It will verify that the /etc/exports file is being read properly.

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

Original Poster
Rep: Reputation: 16
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.

-NifflerX
 
Old 07-07-2005, 01:21 AM   #4
Dommy
Member
 
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
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export NFS behind firewall nifflerX Linux - Networking 2 07-06-2005 02:41 PM
smb mount -> nfs export wie20345 Linux - Networking 3 02-12-2005 02:09 PM
NFS doesn't export everything ejoftheweb Linux - Networking 5 09-03-2004 03:29 AM
export directories via NFS on redhat 8.0 nifflerX Linux - Networking 1 01-16-2004 02:09 AM
local access of NFS export joeljensen Linux - Networking 1 04-29-2003 12:08 PM


All times are GMT -5. The time now is 02:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration