LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Autofs problem (https://www.linuxquestions.org/questions/linux-newbie-8/autofs-problem-845773/)

kingston 11-22-2010 04:48 AM

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

trist007 01-16-2011 04:17 PM

Yes that's correct it should mount /one/two/three.

kingston 01-17-2011 12:24 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.

---------- 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.


All times are GMT -5. The time now is 03:49 AM.