Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th December 2006, 10:13 AM
dcmbrown Offline
Registered User
 
Join Date: Sep 2005
Posts: 9
NFS4 on FC4

So I've been trying to get NFSv4 (or even just NFSv3 for that matter) working on a FC4 box.
My configs look like this:

#exports
/opt/mnt/data/clients *.csync2(rw,no_all_squash,sync) localhost(rw,no_all_squash,sync)
/home *.csync2(rw,no_all_squash,sync) localhost(rw,no_all_squash,sync)


#hosts.allow
portmap: *.csync2,localhost : allow
lockd: *.csync2,localhost : allow
mountd: *.csync2,localhost : allow
rquotad: *.csync2,localhost : allow
statd: *.csync2,localhost : allow
nfs: *.csync2,localhost : allow


#hosts.deny
portmap: ALL
lockd: ALL
mountd: ALL
rquotad: ALL
statd: ALL
nfs: ALL

I cannot see any services via rpcinfo -p from client hosts. The server logs say this:

Dec 4 03:40:57 seahawk portmap[12983]: connect from 10.0.0.1 to getport(mountd): request from unauthorized host

I do however authorize the host (see the hosts file I've got below).

I can on the server and I can also telnet into the nfs server port 111. More locally, I've been testing it on the server and cannot mount any of the shares either. I thought it may have been an NFSv4 problem initially (btw NFSv4 error/verbosity sucks) but NFSv3 protocols have the same problem.

So if I try to mount a share I get this.
# mount -vvvt nfs lvsnfs:/home/ /imports -o rw
mount: lvsnfs:/home/ failed, reason given by server: Permission denied

However, /var/log/messages says this:

Dec 4 04:01:46 seahawk rpc.mountd: authenticated mount request from lvsnfs:831 for /home (/home)

So it appears that portmap authorises the connection, but then it gets refused later on. The exports file looks ok to me and the servers are all in /etc/hosts
10.0.0.1 nitehawk nitehawk.csync2
10.0.0.2 seahawk seahawk.csync2
10.0.0.3 lvsnfs lvsnfs.csync2


Anyways, at this point I'm kinda lost as to why I cannot mount anything even locally on the nfs server itself. The only thing I can think of off the top of my head is that the server has bound all traffic to eth0, and traffic for some reason passes through (logically) eth0 before being served through the gigabit interface dedicated for nfs traffic (eth2).
Reply With Quote
  #2  
Old 4th December 2006, 03:34 PM
dcmbrown Offline
Registered User
 
Join Date: Sep 2005
Posts: 9
doh. Sorry, I was originally in Networking but popped into this forum for a quick check. Could someone move this over there?
Reply With Quote
Reply

Tags
fc4, nfs4

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs4 - mount.nfs4: Protocol not supported flokip Servers & Networking 0 19th June 2009 11:51 PM
NFS4 and idmapd GML3G0 Servers & Networking 5 29th December 2004 03:00 PM


Current GMT-time: 01:52 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat