[Bug 271772] [NEW] iostat -k units are wrong when using large blocks
Alain Baeckeroot
alain.baeckeroot at laposte.net
Thu Sep 18 15:44:00 BST 2008
Public bug reported:
Binary package hint: sysstat
iostat guesses that block are 512 bytes, but with large ext3 filesystems
we use 4kB (or more)
=> iostat -k is completely false
$ tune2fs -l /dev/sdb1| grep "Block size"
Block size: 4096
$ iostat #(report in blocks/s)
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sdb 23,14 518,67 411,56 2463660668 1954925512
$ iostat -k #(report _should_ be in kBytes/s)
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdb 23,14 259,33 205,79 1231830758 977507292
========================
$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
$ apt-cache policy sysstat
sysstat:
Installé : 8.0.3-1ubuntu1
Candidat : 8.0.3-1ubuntu1
Table de version :
*** 8.0.3-1ubuntu1 0
500 http://de.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
===========================
** Affects: sysstat (Ubuntu)
Importance: Undecided
Status: New
--
iostat -k units are wrong when using large blocks
https://bugs.launchpad.net/bugs/271772
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to sysstat in ubuntu.
More information about the Ubuntu-server-bugs
mailing list