How To Exclude Your Filesystem From mlocate Scanning
mlocate can cause lots of I/O activity by scanning your filesystem nightly, impacting filesystem performance during the scan.
This guide covers the steps to exclude your ObjectiveFS filesystem from mlocate scanning and indexing.
Steps
Edit /etc/updatedb.conf
Add fuse.objectivefs to PRUNEFS
PRUNEFS="fuse.objectivefs <other filesystems>"
Alternatively, you can add your ObjectiveFS filesystem's mount directory to PRUNEPATHS
PRUNEPATHS="<your objectivefs mount directory> <other paths>"
Useful Links
- How To Mount an Instance Store on EC2 for Disk Cache
- How To Restrict S3 Bucket Policy to Only One S3 Bucket
Last updated ObjectiveFS staff
ObjectiveFS is a shared file system for macOS and Linux that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at support@objectivefs.com