From: Clemens Eisserer on
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Clemens Eisserer on
Does really nobody know how large a mmc-sector is, reported by diskstat?

- Clemens

2010/5/12 Clemens Eisserer <linuxhippy(a)gmail.com>:
> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/