Missing lvms from iostat
Issue
- We don't see a complete list of logical volumes in out output of
iostat -N - In some systems it works fine, and on others we don't see a complete list of lv's
- I am using iostat –N to get LVM stats and I noticed that on some systems it does not display some logical volumes.
- Details:
# dmsetup ls |grep vg00
vg00-lv_swap (253:0)
vg00-lv_root (253:1)
vg00-lv_shared (253:11)
vg00-lv_mine (253:12)
# iostat -N |grep vg00
vg00-lv_swap 0.00 0.00 0.00 5192 0
vg00-lv_root 0.61 13.32 3.36 16052522 4047256
vg00-lv_shared 18.91 14.71 150.50 17719042 181311008
vg00-lv_mine 0.00 0.00 0.00 3480 0
- Some vg00 logical volumes missing from iostat - only vg00-lv_shared shows up
# dmsetup ls |grep vg00
vg00-lv_swap (253:0)
vg00-lv_root (253:1)
vg00-lv_shared (253:66)
# iostat -N |grep vg00
vg00-lv_shared 160.41 64.12 1272.83 133389890 2647798792
- All vg00 logical volumes missing from iostat
# dmsetup ls |grep vg00
vg00-lv_swap (253:0)
vg00-lv_root (253:1)
vg00-lv_shared (253:149)
# iostat -N | grep vg00
#
- The main difference between the working and non working system appears to be number of devices.
Environment
- Red Hat Enterprise Linux 6.8
- lvm
- sysstat
- iostat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.