[CentOS] autofs with nfs plus local directories

Agile Aspect agile.aspect at gmail.com
Tue Jan 26 02:35:48 UTC 2010


On Mon, Jan 25, 2010 at 3:35 PM, Carlos Santana <neubyr at gmail.com> 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.



More information about the CentOS mailing list