Re: autofs with nfs plus local directories

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



On Mon, Jan 25, 2010 at 3:35 PM, Carlos Santana <neubyr@xxxxxxxxx> wrote:
> Hi,
>
> I have a autofs configured to mount home dir from NFS. All user
> accounts lookup is done using LDAP. All is working fine with this
> setup. Now I need to create a local user account and have its home dir
> also on local system. So I added a new user account and changed
> auto.home as follows:
>
> test1         -rw,hard,intr   /home/test1
> *             -rw,hard,intr   nfs1:/export/users/&
>
> But this stuff is not working. If I change test1 user's home dir to
> '/opt/test1', it works fine. Log messages indicate:
> 'umount_autofs_indirect: ask umount returned busy /home'. I have some
> LDAP users logged on to system. Do I need to tell them to logout to
> successfully reload autofs? Any clues on this would be really helpful.

You can't use the path /home because the autofs uses it to mount the
home directories.

    cd /home
    df .

Your entry for test1 is trying to mount /home/test1 on /home/test1
which won't work.

The local user can not use the path /home as long as autofs is using /home.

-- 
      Enjoy global warming while it lasts.
_______________________________________________
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