lkml.org 
[lkml]   [2002]   [Oct]   [23]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateWed, 23 Oct 2002 10:03:20 +0200
SubjectRe: 2.5.44: /proc/stat not reporting all disks statistics
FromDaniel Kobras <>
On Wed, Oct 23, 2002 at 01:42:18AM +0200, venom@sns.it wrote:
> I have on this system two disks, primary master and secondary master,
> hda and hdc.
> 
> In /proc/stat
> i see just:
> 
> disk_io: (3,0):(24382,16849,158610,7533,382512)
> 
> so, I see 22,0 disk (hdc) is somehow missing.

By default, the kernel only collects statistics on majors 1 to 16.  If
you want the disks on your second IDE channel to show up, go to
include/linux/kernel_stat.h and raise the limit DK_MAX_MAJOR to 22 or
higher.  (Assuming 2.5 stats still work the same as in 2.4, that is.)

Daniel.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:30    [W:0.673 / U:0.130 seconds]
©2003-2008 Jasper Spaans