[collectd] disk plugin not work on 2.4 kernel

Florian Forster octo at verplant.org
Tue Jul 31 14:54:50 CEST 2007


Hi Rasto,

On Tue, Jul 31, 2007 at 02:08:52PM +0200, rastislav piater wrote:
> 2. root at bdyp108a_new:~# cat /proc/partitions
> major minor  #blocks  name
> 
>    8     0   71065600 sda
>    8     1   14651248 sda1

that explains it: Your version of Linux 2.4 is missing the statistics
fields in that pseudo-file. According to `iostats.txt' of the kernel's
documentation those fields were introduced in 2.4.20, but some
distributions pulled those patches into their distribution kernels
before that. It might be neccessary to enable these statistics at (the
kernel's) compile time.

Without these fields collectd cannot obtain these statistics, and I
doubt that those fields would have been introduced, if there was another
nice interface for those values.. If you know one, however, let me know
;)

I'm afraid you won't have much choice but upgrade to 2.4.20 (or later)
or get the patches from somewhere if IO-statistics are important to
you, sorry :/

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070731/0c8682f7/attachment.pgp 


More information about the collectd mailing list