updatedb scans nfs directories mounted via autofs
This document (7003163) is provided subject to the disclaimer at the end of this document.
job will run updatedb, and update the files database every night or shortly after switching on the computer.
Beginning with autofs version 5, updatedb scans files below automounted nfs directories.
On systems with lots of nfs directories it creates a lot of network traffic and slows down
The reason for this is that autofs does not write to /etc/mtab anymore.
This is documented in the autofs documentation on SUSE Linux Enterprise Server 11,
- `autofs' filesystem mounts only appear in /proc/mounts and not
/etc/mtab. If you have a large number of entries in a direct mount
map and link /etc/mtab to /proc/mounts you may see performance
Since the automounted directories are missing in the list of mounted directories,
the type of the mounted filesystem is not discovered and updatedb treats them as local.
It disables that maps are browsable and excludes paths mounted via automount.
Restart autofs: /etc/init.d/autofs restart.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7003163
- Creation Date: 29-Apr-2009
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com