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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux