ls hung on autofs mountpoint
Issue
- 'ls' commands is getting hung on autofs mountpoint.
- Mount command throws message "cannot lock mtab" while mounting remote filesystems manually:
# mount -t cifs -o credentials:/etc/pass.txt //CIFS-Server:/path /mountpoint-name
mount: cannot lock matb
# mount -t nfs NFS-Server:/path /mountpoint-name
mount: cannot lock mtab
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.