Re: automounter with users home directories on centos 7.

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




----- Original Message -----
| 
| [root@server2 home]# mount server1:/home/jason /home/jason
| [root@server2 home]#
| [root@server2 home]# ls /home/jason/
| Desktop  Documents  Downloads  Music  mylogfile.txt  Pictures Public
| Templates  Videos
| [root@server2 home]# df -h /home/jason/
| Filesystem           Size  Used Avail Use% Mounted on
| server1:/home/jason  297M   19M  278M   7% /home/jason
| [root@server2 home]#
| 
| so it works manually, just not with the automounter.
| 
| Jason

Of course, because a manual mount expects a directory to already exist to mount on. Automounter creates virtual mount points on demand and so if there are existing directories already in place it will fail.

Stop autofs.  Move the /home out of the way.  Start automounter and than do an ls /home.  It should "just work"

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 604-365-6432
Fax     : 778-782-3045
E-Mail  : jpeltier@xxxxxx
Website : http://www.sfu.ca/itservices
Twitter : @sfu_rcg
Powering Engagement Through Technology
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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