Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-26-2009, 06:28 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 29

Rep: Reputation: 15
NFSv4 on Client does not work

CentOS 5.3

I am trying to setup an NFSv4 Server/Client setup & running into lots of problem. Please HELP. I am pretty much a newbie.

My setup is very simple:

An application Server (apsv) connects to a Storage Server (stor). From the ‘apsv’, I can ping the ‘stor’ server.

(Application Server)
stor (Server)

I set up NFS Server on the ‘stor’ machine. I have one mount point on ‘stor’. This line is in the ‘/etc/exports’ file:

/var/www/html (rw,sync)

1. When I try to mount this folder on the NFS CLIENT (apsv),

%> mount –t nsf4 stor:/var/www/html /var/www/html

I get the error:

mount.nfs4: Operation not permitted.

2. So I DISABLE the ‘FIREWAL’ on the ‘stor’ Server & run the same command:

%> mount –t nsf4 stor:/var/www/html /var/www/html

I get the same error.

3. Now I RUN the following command:

%> mount –t nsf stor:/var/www/html /var/www/html

WALLA… Success… The files are mounted….

I have researched the Internet & found lots of information on this subject. Most of the information is about updating the ‘iptables’.

Can somebody guide me as to what is going on and how to mount using nfs4 this problem?

Is this something to file a BUG report so it is fixed in future releases?

THANKS a bunch.
Old 04-26-2009, 12:27 PM   #2
LQ Newbie
Registered: Apr 2009
Posts: 29

Original Poster
Rep: Reputation: 15
Wink NFSv4 on Client does not work - SOLVED

I fiddled around &the problem is solved. It seems that NFS4 does not work with full path. I changed the following line:

%> mount –t nsf4 stor:/var/www/html /var/www/html


%> mount –t nsf4 stor:/ /var/www/html

and it worked. So simple but took almost 3 days to figure out.


nfs, permitted

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
nfsv4 in RHEL 5 Fernandoch Red Hat 1 07-17-2008 04:31 PM
Slackware 12 NFSv4 directory error onebuck Slackware 0 07-09-2007 09:44 AM
NFSv4 replication and migration PhillipHuang Linux - Software 0 04-12-2007 12:07 AM
NFSv4 + autofs technomancer Linux - Networking 1 11-06-2006 12:10 PM
Tweaking NFSv4 Performance fortezza Linux - Newbie 2 08-14-2005 09:20 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:16 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