The /net/home files are not mounting. The /net/home directory is empty.
I have the domain set but I do receive this message: " lookup_init:136: lookup(yp): map auto.master: Local domain name not set".
I do not know why this message is issued: “key “updates” not found in map source(s).”.
[CODE]linux158:~ # systemctl status autofs
autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled)
Active: active (running) since Mon 2017-05-01 11:58:24 EDT; 1h 24min ago
Docs: man:automount(8)
man:autofs(5)
Process: 1881 ExecStart=/usr/sbin/automount $AUTOFS_OPTIONS -p /var/run/automount.pid (code=exited, status=0/SUCCESS)
Main PID: 1894 (automount)
CGroup: /system.slice/autofs.service
└─1894 /usr/sbin/automount -p /var/run/automount.pid
May 01 12:00:44 linux158 automount[1894]: key “updates” not found in map source(s).[/CODE]
linux158:~ # cat /var/log/messages | grep automount
2017-04-24T14:05:57.917171-04:00 linux158 automount[1460]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-04-24T14:14:07.963118-04:00 linux158 automount[1774]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-04-24T14:19:55.897599-04:00 linux158 automount[1774]: key "updates" not found in map source(s).
2017-04-24T14:26:16.058606-04:00 linux158 automount[1883]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-04-24T14:59:23.974642-04:00 linux158 automount[1886]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-04-24T15:03:07.626498-04:00 linux158 automount[1886]: key "updates" not found in map source(s).
2017-04-24T15:09:03.749836-04:00 linux158 automount[2163]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-04-24T15:09:53.291202-04:00 linux158 automount[1888]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-04-29T20:05:53.803638-04:00 linux158 automount[1892]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-05-01T10:17:50.728437-04:00 linux158 automount[9980]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set
2017-05-01T11:52:07.756033-04:00 linux158 automount[1898]: key "depot" not found in map source(s).
2017-05-01T11:52:30.003292-04:00 linux158 automount[1898]: key "updates" not found in map source(s).
2017-05-01T12:00:44.145384-04:00 linux158 automount[1894]: key "updates" not found in map source(s).
linux158:/etc # cat hostname
linux158.rtp.raleigh.ibm.com linux158
linux158:/etc # cat defaultdomain
linux158.rtp.raleigh.ibm.com linux158
linux158:/etc # hostname
linux158
[CODE]linux158:~ # cat /etc/auto.master
Sample auto.master file
#/misc /etc/auto.misc
/net -hosts
Include /etc/auto.master.d/*.autofs
The included files must conform to the format of this file.
#+dir:/etc/auto.master.d
Include central master map if it can be found using
nsswitch sources.
#+auto.master
/usr/IBMi /etc/auto.IBMi
/net/home /etc/auto.net.home
linux158:~ # cat /etc/auto.IBMi
tools -rw,hard,intr,rsize=8192,wsize=8192,nfsvers=3 toolbert.svl.ibm.com:/swat/depot/tools
depo -rw,hard,intr,rsize=8192,wsize=8192,nfsvers=3 toolbert.svl.ibm.com:/swat/depot/depo
linux158:~ # cat /etc/auto.net.home
#automount users’ /net/home dir from paix588 - 20/Nov/2013
-
paix588.rtp.raleigh.ibm.com:/home/&[/CODE]
[CODE]linux158:~ # cat /etc/fstab
/dev/system/swap swap swap defaults 0 0
/dev/system/root / xfs defaults 1 1
/dev/disk/by-path/ccw-0.0.15c1-part1 /boot/zipl ext2 acl,user_xattr 1 2
akira.svl.ibm.com:/arsapar /arsapar nfs vers=3,auto 0 0
akira.svl.ibm.com:/home /net/home nfs vers=3,auto 0 0
/dev/pool1/lvopt /opt ext3 defaults 0 0
/dev/pool1/lvtmp /tmp ext3 defaults 0 0
rdr400r.rtp.raleigh.ibm.com:/arstest2 /arstest2 nfs vers=3,auto 0 0