# Multi Device diskstats ??

**URL:** <https://forums.percona.com/t/multi-device-diskstats/3508>\
**Category:** Percona Monitoring Plugins\
**Created:** [May 28, 2014, 7:40am UTC](https://forums.percona.com/t/multi-device-diskstats/3508 "2014-05-28T07:40:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronix](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@ronix](https://forums.percona.com/u/ronix)\
**Post date:** [May 28, 2014, 7:40am UTC](https://forums.percona.com/t/multi-device-diskstats/3508/1 "2014-05-28T07:40:08Z")

</div>

So using the ss\_get\_by\_ssh.php script with --type diskstats, it seems to work with just a single device name (example: --device sda)

Is there a way to get diskstats type information from a filesystem that resides on multiple Physical Volumes?

thanks for any information you can give,

Ron

---

<div class="post-metadata">

**Author:** ![weber](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@weber](https://forums.percona.com/u/weber)\
**Post date:** [May 31, 2014, 11:29am UTC](https://forums.percona.com/t/multi-device-diskstats/3508/2 "2014-05-31T11:29:11Z")

</div>

Disk graph related information are taken from “df” and “cat /proc/diskstats” outputs.  
In particular, “Disk Space” graph is created from “df” output by a filesystem provided.  
All other disk graphs are created from the information from /proc/diskstats. This file contains per-block-device data.  
So there is no easy way to get volume mapping and combine device data.  
Theoretically, it’s possible but a volume mapping is not always available.

The following might be useful: if you need to graph a raid volume, say md0 consisting of sda1 and sda2, you can create “disk space” graph for “/dev/md0” and graph any of raid’s devices with all other disk graphs, e.g. graph just sda1 as sda2 will show exactly the same. The only thing you should consider it’s 1 of N equal devices of raid volume.

---

<div class="post-metadata">

**Author:** ![danial500](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@danial500](https://forums.percona.com/u/danial500)\
**Post date:** [October 4, 2014, 1:58am UTC](https://forums.percona.com/t/multi-device-diskstats/3508/3 "2014-10-04T01:58:58Z")

</div>

Circle chart related data are taken from “df” and “feline/proc/diskstats” yields.

Specifically, “Plate Space” diagram is made from “df” yield by a filesystem gave.

All other plate diagrams are made from the data from/proc/diskstats. This document contains for every square gadget information.

* * *

[chessrivals](http://www.chessrivals.net/)
