Re: /proc/partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 20 Dec 2004, KELEMEN Peter wrote:

> * Gordon Henderson (gordon@xxxxxxxxxx) [20041220 10:50]:
>
> > Is there any plans to make the entries in /proc/partitions
> > return anything sensible for the md devices?
>
> AFACT not.  Current consensus is that md devices don't do I/O,
> they only dispatch I/O to lower layer devices, hence no stats.
> (OTOH, I personally was in a situation at least once when it
> would have been very useful -- regardless of the obvious double
> accounting.)

Ok, Thanks.

> > If not, is there any other way to get some stats on reading &
> > writing each md device?
>
> Parse /proc/mdstat and cook up your own stat counters based on the
> md member devices' stats.

Sure. No real issue, actually graphing the individual disks might be
interesting anyway, and then it ought to be easy to just sum the values.
I'll drop the mrtg stuff back to the list if anyones intersted..

Gordon

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux