[CentOS] Re: SOLVED?? Pls help on configuring autofs on NFS

Kay Diederichs kay.diederichs at uni-konstanz.de
Mon Sep 25 12:43:20 UTC 2006


Fajar Priyanto wrote:
> On Monday 25 September 2006 18:57, Gavin Carr wrote:
>> That's because you've got this in auto.master:
>>   /home/nfstest   /etc/auto.nfs   --timeout=60
>>
>> That means that /home/nfstest is the automount root _under_
>> which you are going to automount your directories.
>> Your probably actually want:
>>
>>   /home   /etc/auto.nfs   --timeout=60
> 
> Hi Gavin,
> When I try that, it errors with:
> Sep 25 19:14:01 server-mail3 automount[14917]: mount_autofs: already mounted
> Sep 25 19:14:01 server-mail3 automount[14917]: /home: mount failed!
> Sep 25 19:14:01 server-mail3 autofs: automount startup failed
> 

I would use
/nfs   /etc/auto.nfs   --timeout=60

which will mount server:/home/nfstest at /nfs/nfstest , and just symlink 
/home/nfstest to /nfs/nfstest .

HTH,

Kay




More information about the CentOS mailing list