LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-26-2013, 02:25 PM   #1
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
exports works for NFS3 but not NFS4


I have the following exports file:

Code:
/srv/nfs -fsid=0,ro,async,root_squash,no_subtree_check,crossmnt \
        172.20.66.0/25 \
        172.21.64.0/25

/srv/nfs/images -ro,async,root_squash,no_subtree_check \
        172.20.66.0/25 \
        172.21.64.0/25

/srv/nfs/homes -rw,async,root_squash,no_subtree_check \
        172.20.66.0/25 \
        172.21.64.0/25
I can mount server:images no problem on NFSv4, but not NFSv3 clients. /srv/nfs is a regular directory, images and homes are bind mounted from elsewhere.

What's causing the problem? Thanks!
 
Old 07-26-2013, 02:39 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Original Poster
Rep: Reputation: 67
Of couse I solved it immediately:

Mount server:/images/<whatever> on NFSv4 clients (or server:images...)
Mount server:/srv/nfs/images/<whatever> on NFSv3 clients
 
  


Reply


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
nfs 4 / nfs3 back porting problems.. spoofed Linux - Newbie 3 04-04-2012 11:51 AM
nfs4 - mount.nfs4: access denied by server while mounting edwin11 Linux - Networking 1 12-07-2010 10:06 AM
[SOLVED] NFS exports do not show up in /proc/fs/nfs/exports Gerard_2009 Linux - Server 2 09-07-2010 03:06 PM
/etc/exports ajeetraina Linux - Newbie 1 01-30-2008 03:59 AM
Exports Walter Sobchek AIX 13 06-16-2004 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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