Mingfan Lu
2014-Jan-26 11:13 UTC
[Gluster-users] could I disable updatedb in brick server?
we have lots of (really) files in our gluser brick servers and every day, we will generate lots, the number of files increase very quickly. could I disable updatedb in brick servers? if that, glusterfs servers will be impacted? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140126/ae1cbab6/attachment.html>
On Sun, Jan 26, 2014 at 6:13 AM, Mingfan Lu <mingfan.lu at gmail.com> wrote:> we have lots of (really) files in our gluser brick servers and every day, we > will generate lots, the number of files increase very quickly. could I > disable updatedb in brick servers? if that, glusterfs servers will be > impacted?Yes, read man 8 updatedb. This only stops 'locate' from being useful. It won't impact gluster.> > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users
Ted Miller
2014-Jan-27 18:52 UTC
[Gluster-users] could I disable updatedb in brick server?
On 1/26/2014 6:13 AM, Mingfan Lu wrote:> we have lots of (really) files in our gluser brick servers and every day, > we will generate lots, the number of files increase very quickly. could I > disable updatedb in brick servers? if that, glusterfs servers will be impacted?I don't have the docs open now, but there is a setup file where you can tell updatedb what to index and what to not index. I altered my configuration to add some things that it ignores by default, but it should be just as simple to tell it not to index your brick(s). Ted Miller Elkhart, IN, USA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140127/9047551e/attachment.html>
Paul Robert Marino
2014-Feb-03 15:16 UTC
[Gluster-users] could I disable updatedb in brick server?
/etc/updatedb.conf look at PRUNEPATHS there is a man file for updatedb.conf On Mon, Jan 27, 2014 at 1:52 PM, Ted Miller <tmiller at hcjb.org> wrote:> > On 1/26/2014 6:13 AM, Mingfan Lu wrote: > > we have lots of (really) files in our gluser brick servers and every day, we > will generate lots, the number of files increase very quickly. could I > disable updatedb in brick servers? if that, glusterfs servers will be > impacted? > > I don't have the docs open now, but there is a setup file where you can tell > updatedb what to index and what to not index. I altered my configuration to > add some things that it ignores by default, but it should be just as simple > to tell it not to index your brick(s). > > Ted Miller > Elkhart, IN, USA > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users