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 07-01-2006, 04:44 PM   #1
nbcohen
Member
 
Registered: Mar 2003
Location: Northern Virginia
Distribution: RH Enterprise, Fedora
Posts: 96

Rep: Reputation: 17
Need help getting NFS running properly...


I'm running FC5 on 2 machines at home. Would like to mount /home from 'luna' onto /home on 'jupiter'. I used webmin to set up the exportfs file on luna. Made sure nfsd, mountd etc. are running on luna. When I go over to jupiter and try:

mount -t nfs4 luna:/home /home

(running as root) I get this:

[root@jupiter ~]# mount -t nfs4 luna:/home /home
mount: permission denied


I'm guessing I'm missing something simple. I added an entry in both firewalls to allow traffic on eth0 since this is an internal home network (I have a third machine running as a firewall to the outside world).

Here is the output of a couple of commands from 'luna' - the server side.

nbc@luna 101: cat /etc/exports
/home jupiter(insecure,rw,nohide)
jupiter(ro,fsid=0)
nbc@luna 102: ps -ef |grep nfs
root 2201 11 0 Jun30 ? 00:00:00 [nfsd4]
root 2202 1 0 Jun30 ? 00:00:00 [nfsd]
root 2203 1 0 Jun30 ? 00:00:00 [nfsd]
root 2204 1 0 Jun30 ? 00:00:00 [nfsd]
root 2205 1 0 Jun30 ? 00:00:00 [nfsd]
root 2206 1 0 Jun30 ? 00:00:00 [nfsd]
root 2207 1 0 Jun30 ? 00:00:00 [nfsd]
root 2208 1 0 Jun30 ? 00:00:00 [nfsd]
root 2209 1 0 Jun30 ? 00:00:00 [nfsd]
nbc 12661 12624 0 17:36 pts/2 00:00:00 grep nfs
nbc@luna 103: ps -ef |grep mountd
root 2215 1 0 Jun30 ? 00:00:00 rpc.mountd
nbc 12663 12624 0 17:36 pts/2 00:00:00 grep mountd

Can someone give me a hint as to what I'm missing? I'm guessing it is something simple...

thanks in advance. You can email me directly at nbc@acm.org

nbc
 
Old 07-02-2006, 04:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
does the end of /var/log/messages on either machine report anythign about a denial? can your server resolve the "jupiter" client name? what if you put an ip address there instead?

and *never* ask for private direct replies.. why would anyone ever want to do that??
 
Old 07-03-2006, 08:16 AM   #3
nbcohen
Member
 
Registered: Mar 2003
Location: Northern Virginia
Distribution: RH Enterprise, Fedora
Posts: 96

Original Poster
Rep: Reputation: 17
NFS problem solved - but I'm not sure how...

I can ssh to jupiter without any problem. I had tried an IP address with no luck. This morning I put a 'tail -f' on /var/log/messages, tried the mount command and it worked.... Nothing has changed in the system that I'm aware of. But it worked.... I'm still confused. But it worked... I have not touched the machine in 2 days - was busy all day yesterday... but thanks for the suggestions. I had not checked the log file - I will make sure I do that first next time.

And I'm sorry about the 'direct reply' line - I do that sort of automatically on some forums we have at work - saves bandwidth sometimes... In this environment, it probably doesn't make sense tho...

thanks for the pointers,

nbc
 
  


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
ET not running properly, freezing etc edM Linux - Games 7 10-20-2005 02:48 PM
Permission denied on client when running install script residing on NFS server dstotz Linux - Newbie 2 12-11-2004 02:10 PM
Can't get NFS working properly Scruff Linux - Networking 8 02-08-2004 10:55 PM
linux install nfs not running wombatz Linux - Newbie 4 10-02-2003 10:43 PM
samaba server is not running properly puru_09 Linux - Networking 1 08-06-2002 07:17 PM

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

All times are GMT -5. The time now is 12:22 AM.

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