LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-22-2010, 04:48 AM   #1
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
Autofs problem


Hi Gurus,

In my setup, one of the volume is exported from the storage as nfs. I want this volume to be mounted on /one/two/three directory in my server. I am bit confused about using the sub-directories as mount points in autofs. In my auto.master file, i made the following entry
Quote:
/one yp:auto_files
in the /var/yp/master directory, i have a file named auto_file, and it has the following entry
Quote:
two/three server:/vol/vol1/vol2
So, when i do, cd /one/two/three, it should mount the volume right?

Thanks in advance

Last edited by kingston; 01-17-2011 at 12:22 AM.
 
Old 01-16-2011, 04:17 PM   #2
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
Yes that's correct it should mount /one/two/three.
 
Old 01-17-2011, 12:24 AM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
@trist07

It works fine now. But i didnt understand the way it works. I am not a expert in NIS even in AutoFs. Usually we will have the mount point entries directly in the autofs configuration files, but in my environment it was re-directed to some other file. It confused me.

---------- Post added 01-17-11 at 11:54 AM ----------

@trist07

It works fine now. But i didnt understand the way it works. I am not a expert in NIS even in AutoFs. Usually we will have the mount point entries directly in the autofs configuration files, but in my environment it was re-directed to some other file. It confused me.
 
  


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
autofs problem on SuSe 10 sunilvadranapu SUSE / openSUSE 2 01-06-2009 07:31 AM
AUTOFS problem in Centos 5 sm0king_ac3 Linux - Newbie 1 08-10-2008 02:54 AM
autofs mounting problem vm_devadas Linux - Networking 2 12-21-2007 05:25 AM
Supermount / Autofs problem. RoaCh Of DisCor Slackware 7 05-13-2005 11:11 PM
autofs problem with hierarchical david1274 Linux - Enterprise 1 05-29-2004 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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