Bug 762270 (GLUSTER-538) - disable glusterfs mount from updatedb.conf
Summary: disable glusterfs mount from updatedb.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-538
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Sachidananda Urs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-12 22:28 UTC by Amar Tumballi
Modified: 2016-04-30 11:38 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 1234385 (view as bug list)
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1331870 0 high CLOSED Looks like /etc/updatedb.conf does have a PRUNEFS variable updated with fuse.glusterfs 2021-02-22 00:41:40 UTC

Internal Links: 1331870

Description Amar Tumballi 2010-01-12 22:28:29 UTC
either we have to add mount path in updatedb.conf, or disable glusterfs type from it (later is better), when we install glusterfs package.

Generally, updatedb.conf contains below entries.

amar@supernova:~/work/specs/unittest$ cat /etc/updatedb.conf 
PRUNE_BIND_MOUNTS="yes"
# PRUNENAMES=".git .bzr .hg .svn"
PRUNEPATHS="/tmp /var/spool /media"
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf"
----


We can add 'fuse.glusterfs' in PRUNEFS variable.. (because during install won't be knowing the path), or we have to have path editing script in mount.glusterfs only.


This is very critical for the performance for glusterfs mounts, as most of the linux installations configure mlocate to update every day, and it will create huge load on filesystem (mainly on glusterfs) when the number of files grow.

We can ask user to edit the files, but surely is not fool proof, instead we can get the scripts do it for them.

Comment 1 Vijay Bellur 2010-08-31 11:44:09 UTC
PATCH: http://patches.gluster.com/patch/4415 in master (Add fuse.glusterfs to PRUNEFS variable in updatedb.conf(5))


Note You need to log in before you can comment on or make changes to this bug.