Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 12-19-2007, 06:54 AM   #1
Registered: Sep 2006
Location: India
Distribution: Redhat and Suse
Posts: 75

Rep: Reputation: 15
NFS + Autofs mounting issue

autofs Ver. : 3.1.7

I will brief an issue we are facing at one customer location.

They use NFS+Autofs for sharing and mounting

There are 3 Servers, say A, B & C

DIR1 is a share @ A
DIR2 is a share @ B

They want to mount the two Directories on Server-C.

In normal scenario it works, but here the problem is that they want to mount DIR1 on SHARE directory of Server-C, and mount DIR2 under DIR1
1) DIR1 od Server-A -> Server-C/SHARE/DIR1
2) DIR2 od Server-B -> Server-C/SHARE/DIR1/DIR2

The first one is working properly, but when we implement the 2nd one, since remounting happens for DIR1 the contents are not accessible.
The user have informed that the same scenario work with both HP-UX 11.11 and Solaris 2.8

Any suggestions?
Old 12-19-2007, 08:31 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
I think you need the options fsid=0,rw,root_squash,sync,no_subtree_check for the DIR1 share and
rw,root_squash,sync,no_subtree_check for the others. Check this out for yourself. Also look at timeout options. A problem on server A or B might cause considerable difficulty for the clients.

The dir2 share probably should be mounted on Server A rather than on Dir1/Dir2 of Server B.

I'm not using autofs so I don't know if this will affect things. Also, my nfs version is 4.0.
Old 12-21-2007, 06:25 AM   #3
Registered: Sep 2006
Location: India
Distribution: Redhat and Suse
Posts: 75

Original Poster
Rep: Reputation: 15
The Linux automounter(3.x & 4.x) does not support direct maps or mount trees
ie more than one filesystem to be mounted under a specific automount point

5.x version of automounter have this facility but i don't want to migrate to that.
Is there any other alternative?


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
Noob question: AutoFS and NFS Share Issue: Group mounts gerhardb Linux - Networking 0 03-20-2007 03:09 PM
NFS Mounting Issue metallica1973 Linux - Networking 15 07-27-2006 06:51 PM
autofs for NFS jkmartha Linux - Software 1 06-17-2005 11:14 AM
autofs by nfs convenientstore Linux - Networking 1 10-16-2004 04:16 PM
Mounting NFS filesystem fstab vs autofs rrich100 Linux - Networking 0 11-13-2003 02:38 PM

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