ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009631 | CentOS-7 | autofs | public | 2015-10-21 12:13 | 2015-10-21 12:13 |
Reporter | christophe | ||||
Priority | high | Severity | block | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | Centos | OS Version | 7.1 (1503) | |
Product Version | 7.1-1503 | ||||
Target Version | Fixed in Version | ||||
Summary | 0009631: AUTOFS - NFS status monitor for NFS v2/3 locking | ||||
Description | Basic install CentOS 7.1 with autofs enable. # uname -r 3.10.0-229.14.1.el7.x86_64 # more /etc/auto.master : /usr/local /etc/auto.local # more /etc/auto.local bin :/local/bin The machine pass the boot sequence and then the system hang. After few minute i can connect as root but i can not load my environnement et i can not mount nfs share. In journalctl there is a message: A start job is running for NFS status monitor for NFS v2/3 locking # /usr/bin/systemctl status rpc-statd rpc-statd.service - NFS status monitor for NFSv2/3 locking. Loaded: loaded (/usr/lib/systemd/system/rpc-statd.service; static) Active: inactive (dead) A temporary solution is given by modifying the autofs unit file. Add the line fix the problem , the system no longer hangs : Requires=network.target rpc-statd.service rpcbind.service # more /usr/lib/systemd/system/autofs.service [Unit] Description=Automounts filesystems on demand After=network.target ypbind.service sssd.service Requires=network.target rpc-statd.service rpcbind.service [Service] Type=forking PIDFile=/run/autofs.pid EnvironmentFile=-/etc/sysconfig/autofs ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid ExecReload=/usr/bin/kill -HUP $MAINPID TimeoutSec=180 [Install] WantedBy=multi-user.target If i change /usr/local to /usr/foo in /etc/auto.master , no problem , the system boot successfully. # more /etc/auto.master : /usr/foo /etc/auto.local It's like the system wants to write in /usr/local in the boot process and autofs is blocked in the same time. All my nfs share are mounted on /usr/local , so i don't know how to resolve the problem definitely without modifying the autofs unit file ? | ||||
abrt_hash | |||||
URL |
Automount NFS share in Linux using autofs On Centos/RHEL 7 NFS share in Linux using autofs Autofs is a service in Linux like operating system which automatically mounts the file system and remote shares when it is accessed. Photoshop software free download. Techtool pro 10 0 1 download free. Codekit 2 4 – build websites faster and better. https://truewfiles291.weebly.com/dragon-slot-machine.html. Autofs の設定ファイル (/etc/sysconfig/autofs) により、 サイトが実装する autofs のスキーマを指定できる仕組みが提供されます。 このため、 アプリケーション自体で試行錯誤してスキーマを確定する必要がなくなります。 また、 認証済みの LDAP サーバーへの.
- Also Read – Change Runlevel In Rhel 7/Centos 7 With Systemd Using Systemctl. That's all, In this article, we have explained How To Configure Autofs (Automount) In Linux. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.
- This is extension of my prevoius article.In this one we will configure client computer (192.168.122.80) to automount folder located on remote computer (192.168.122.90) AutoFS service is alternative to /etc/fstab mount points.Unlike /etc/fstab method, AutoFS mounts filesystem when user access it and unmount them after a period of inactivity.
[root@incred ~]# systemctl status autofs -l
autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled)
Active: active (running) since Sun 2014-10-05 11:29:40 PDT; 7min ago
Process: 4656 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS)
Main PID: 4658 (automount)
CGroup: /system.slice/autofs.service
└─4658 /usr/sbin/automount --pid-file /run/autofs.pid
Rhel Autofs
Oct 05 11:29:40 incred automount[4658]: setautomntent: lookup(sss): setautomntent: No such file or directory
Oct 05 11:29:40 incred systemd[1]: Started Automounts filesystems on demand.