[CentOS] automounter with users home directories on centos 7.
James A. Peltier
jpeltier at sfu.ca
Thu Sep 10 23:32:32 UTC 2015
----- Original Message -----
|
| [root at server2 home]# mount server1:/home/jason /home/jason
| [root at server2 home]#
| [root at server2 home]# ls /home/jason/
| Desktop Documents Downloads Music mylogfile.txt Pictures Public
| Templates Videos
| [root at server2 home]# df -h /home/jason/
| Filesystem Size Used Avail Use% Mounted on
| server1:/home/jason 297M 19M 278M 7% /home/jason
| [root at 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 at sfu.ca
Website : http://www.sfu.ca/itservices
Twitter : @sfu_rcg
Powering Engagement Through Technology
More information about the CentOS
mailing list