LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


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

Rep: Reputation: 15
NFS + Autofs mounting issue


OS : SLES 9
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
I.e.
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, 07:31 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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, 05:25 AM   #3
vm_devadas
Member
 
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?
 
  


Reply



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 02:09 PM
NFS Mounting Issue metallica1973 Linux - Networking 15 07-27-2006 05:51 PM
autofs for NFS jkmartha Linux - Software 1 06-17-2005 10:14 AM
autofs by nfs convenientstore Linux - Networking 1 10-16-2004 03:16 PM
Mounting NFS filesystem fstab vs autofs rrich100 Linux - Networking 0 11-13-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:08 AM.

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