LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 12-17-2003, 12:13 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 on redhat 8.0


Hi,

I'm trying to export a directory (via NFS) from a box running redhat 8.0 to another box running redhat 8.0 (both have kernel 2.4.20-24.8smp) . Both boxes are currently receiving exported directories from two other machines, both running rehat 7.1. The two 8.0 boxes mount the exported directories using autofs. All the machines are connected via a LAN ethernet. I would like to use the same kind (autofs) of mount between the two 8.0 boxes. Right now the server (8.0 box) has nfs, nfslock, and portmap turned on, while the client (second 8.0 box) has only nfslock and portmap turned on. I've tried to configure all the necessary files, here's what they look like:

/etc/exports on the server:

/home/updates 128.135.92.0/255.255.255.0(no_root_squash,ro,async)

However, the strange thing about this is that when I run exportfs -arv, /proc/fs/nfs/exports stays empty (except for the commented out lines that are always there), but on many of the websites detailing how to set up an NFS server, this file should be changed to match what is in /etc/exports. I believe this could be a problem, but have no idea how to fix it.

Anyway the setup on the client is as follows:

/etc/auto.updates:
updates -ro,hard,intr,bg,rsize=16384,wsize=16384,tcp,notco,actimeo=90 128.135.92.48:/home/updates

and /etc/auto.master

# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
# /misc /etc/auto.misc --timeout=60
/nfs/raidzone /etc/auto.raidzone --timeout=60
/nfs/updates /etc/auto.updates --timeout=60

I've tried re-exporting everything, as well as restarting the nfs services on both the client and the server but still I can't get the client to mount the, theorectially, exported directory. Also, I have made sure that /nfs/updates does exist locally on the client. I've read places that turning the firewall and ipchains off will help this situation, however that is not an option for me, I need to keep those protection devices in place. It might be possible for me to take them down for a very short bit, but they must stay on in general. Thanks so much, in advance.


-nifflerX
 
Old 01-16-2004, 02:09 AM   #2
Nappa
Member
 
Registered: Nov 2003
Posts: 42

Rep: Reputation: 15
Can't anyone HELP? I'm having the same exact problem. exportfs -ra acts like it works, but when I go to /proc/fs/nfs/exports there is nothing there. I know that this is the problem. I then use this command iptables -F to turn off any firewalls, but still the same thing. I have included no_root_squash in my /etc/exports file as well.
 
  


Reply



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 directories via NFS nifflerX Linux - Networking 3 07-07-2005 01:21 AM
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
local access of NFS export joeljensen Linux - Networking 1 04-29-2003 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration