LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-19-2007, 06: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, 08:31 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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
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


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 01:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration