Bug 143390 - iostat is unable to display device-mapper devices
Summary: iostat is unable to display device-mapper devices
Status: CLOSED DUPLICATE of bug 168483
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2004-12-20 10:42 UTC by Milan Kerslager
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-11-16 16:28:52 UTC
Target Upstream Version:

Attachments (Terms of Use)
/proc/diskstats (1.91 KB, text/plain)
2004-12-20 18:14 UTC, Milan Kerslager
no flags Details

Description Milan Kerslager 2004-12-20 10:42:20 UTC
I have RAID-1 and datastorage on LVM2 (converted from LVM1 format). When using
"iostat", I'm able to see IO statistic for md0, md1, every hd[a-z] but not whole
LVM evn there is active and mounted LV on it. When trying to monitor only LVM
device, there is zero activity even there is /sys/block/dm-0 (with zeroes).

I'm able to see strange values for md0 and md1 too. md0 has only 2/3 of hda and
hdc (even they are dedicated for RAID-1 [md0 and md1]):

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
hda               1,33         0,00        15,95          0         48
hdc               1,33         0,00        15,95          0         48
md0               1,33         0,00        10,63          0         32
md1               0,00         0,00         0,00          0          0

Expected result: Ability to monitor IO in systemon all devices (RHEL4b2).

Comment 1 Charlie Bennett 2004-12-20 18:01:14 UTC
hi - can you attach a copy of your /proc/diskstats?


Comment 2 Milan Kerslager 2004-12-20 18:14:37 UTC
Created attachment 108913 [details]

Comment 3 Jay Turner 2005-01-14 14:37:32 UTC
Back to assigned.

Comment 4 Charlie Bennett 2005-02-01 20:45:56 UTC
The kernel does not report partition information for lvm devices in
/proc/diskstats.  Sysstat cannot report information it doesn't have.

I'll push this to the attention of the kernel group.

Comment 5 Alasdair Kergon 2005-11-16 16:28:52 UTC

*** This bug has been marked as a duplicate of 168483 ***

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