lkml.org 
[lkml]   [2010]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectdiskstats - sectors written, what does it mean for mmc-cards?
From
Hi,

I have a small arm based server running enterly from an mmc-card.
To get some glue how much the mmc-card is written to, I had a look at
diskstat, which, after 9 days uptime, looks like:

254 0 mmcblk0 87047 34549 2851200 3081695 483009 484000 7736450
30472168 0 5847544 51650
254 1 mmcblk0p1 63356 2037674 920699 7365592
254 2 mmcblk0p2 58214 813270 46364 370858

So, to mmcblk0 7736450 sectors have been written, and the kernel had
to wait 5,7h for the writes to complete.
But how can I find out how large a sector is?

If I assume its 512 bytes, that would mean 3,8gb have been written to
that card in the last few days, which seems quite a lot.

Thanks, Clemens


\
 
 \ /
  Last update: 2010-05-12 17:23    [W:0.030 / U:9.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site