[mrtg] Re: Pre-generate graphs with MRTG/RRD setup

Pavel Ruzicka pavouk at pavouk.org
Thu Jun 3 17:02:47 MEST 2004


Hello,

> Would you tell me how to enable/tune those parameters?
> /proc/sys/fs? mount options?

You can use e2fstool package.

This is example for enabling feature "dir_index", which is some b-tree
caching mechanism. This is ideal for directories with many (thousands)
files like mail spool. You can change safe this parameter on mounted
filesystem.
This feature is supported on kernels about 2.4.18.
You need relatively new efsutils and e2fsck utils.
Somewhere about version 1.30 and up.
------------------------------------------------------------------------------------------------------------------------
[root at pavouk root]# dumpe2fs /dev/hda3 | grep features
dumpe2fs 1.34 (25-Jul-2003)
Filesystem features:      has_journal filetype needs_recovery sparse_super

[root at pavouk root]# tune2fs -O dir_index /dev/hda3
tune2fs 1.34 (25-Jul-2003)

[root at pavouk root]# dumpe2fs /dev/hda3 | grep features
dumpe2fs 1.34 (25-Jul-2003)
Filesystem features:      has_journal dir_index filetype needs_recovery 
sparse_super
---------------------------------------------------------------------------------------------------------------------

Best regards,

Pavel Ruzicka

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list