Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-29-2007, 05:23 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
NFSv4 Mount Problems on RHEL 5.1

Hi There,

I am working to export a directory on dom0 that can be used by the virtual machines that run on this machine. I would like to use NFSv4 so only one port needs to be open on the firewall (and allows for a SSH client to encrypt the data in the future).

Server side ( we have:

[root@dom0 ~]# cat /etc/exports
[root@dom0 ~]# exportfs -rv
[root@dom0 ~]# exportfs -v
[root@dom0 ~]#

Client side ( we have:

[root@orr01 ~]# mount -t nfs4 /home/greg/dom0share
mount.nfs4: failed, reason given by server: No such file or directory
[root@orr01 ~]# mount -t nfs /home/greg/dom0share
[root@orr01 ~]#

It seems that the mount works if we don't use file system type nfs4. When we try to use nfs4, we see this "No such file or directory" error message from the server. This error is very strange as we know the mount works using nfs. By the way, the firewall on both systems are disabled for this test.

Are we seeing a defect in nfs4 or is there a simpler answer to this problem?

Thanks, Greg
Old 01-05-2008, 08:42 AM   #2
LQ Newbie
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Hi Greg,
I believe you need at least 2 lines in /etc/exports with NFSv4, one for the "Virtual Base Dir" or what it's called (with fsid=0) and then the actual folder exports beneath that (without the fsid).


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
mount ntfs partition in RHEL 4 karthik2fun Linux - Distributions 1 12-20-2007 05:07 AM
uable to mount cdrom in rhel-5 jagadeesh.nagireddy Linux - Enterprise 9 12-19-2007 03:36 PM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
How to make 4 RHEL CDs into ISO and Mount? guest Linux - Newbie 3 03-18-2005 08:35 PM
how to mount usb flash memory on RHEL 3.0 Owen_Townsend Red Hat 2 12-19-2004 01:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 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
Open Source Consulting | Domain Registration