[pve-devel] pve-manager and disk IO monitoring

Michael Rasmussen mir at datanom.net
Fri Sep 30 00:51:06 CEST 2016

On Thu, 29 Sep 2016 07:38:09 +0200 (CEST)
Alexandre DERUMIER <aderumier at odiso.com> wrote:

> iostats are coming from qemu.
> what is the output of monitor "info blockstats" for the vm where you don't have stats ?
I have just tested with replacing -device scsi-generic with -device
scsi-block. Machine boots and seems to work and, low and behold I have disk IO stats again!
# info blockstats
drive-ide2: rd_bytes=152 wr_bytes=0 rd_operations=4 wr_operations=0 flush_operations=0 wr_total_time_ns=0 rd_total_time_ns=95326 flush_total_time_ns=0 rd_merged=0 wr_merged=0 idle_time_ns=258695709709
drive-scsi0: rd_bytes=266729984 wr_bytes=1690120192 rd_operations=15168 wr_operations=6182 flush_operations=0 wr_total_time_ns=512105318651 rd_total_time_ns=61640872040 flush_total_time_ns=0 rd_merged=0 wr_merged=0 idle_time_ns=6506064324

So my question is: Why use scsi-generic instead of scsi-block when
scsi-generic prevents blockstats?

Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
mir <at> datanom <dot> net
mir <at> miras <dot> org
/usr/games/fortune -es says:
The last thing one knows in constructing a work is what to put first.
		-- Blaise Pascal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://pve.proxmox.com/pipermail/pve-devel/attachments/20160930/f56ecb8b/attachment.sig>

More information about the pve-devel mailing list