Re: automounter with users home directories on centos 7.

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




[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



On 09/09/2015 05:35 PM, James A. Peltier wrote:
----- Original Message -----
| Not tried automount with Centos 7 nor with selinux.
|
| With that said autofs relies on nfs mounting to work, so have you
| started there by attempting to manually mount /home?
|
| Another place to look is at the hostname.  I've had problems where auto
| mount doesn't like the short name and insists on using a FQDN, to get
| around that you could try using the IP address rather than the hostname.
|
| On 09/09/15 16:31, Jason Welsh wrote:
| > showmount -e
|
| --
| If money can fix it, it's not a problem.
|   -- Click and Clack the Tappet brothers

/home is a directory by default on all GNU/Linux hosts.  If you plan to use it as a mount point then you need to remove the directory and then start autofs otherwise there will be a conflict.

_______________________________________________
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