[CentOS] autofs with nfs plus local directories

Carlos Santana neubyr at gmail.com
Tue Jan 26 17:21:02 UTC 2010


On Mon, Jan 25, 2010 at 8:35 PM, Agile Aspect <agile.aspect at gmail.com> wrote:
> 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.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Thanks for the replies.

Could you please elaborate more on this? Why is it not working?

So I will have to create/use a different directory for local users?

-
CS.



More information about the CentOS mailing list