iostat Cannot find disk data

muzzol

Active Member
Dec 2, 2009
43
0
26
hi,

I'm having problems with iostat in new proxmox with a Ubuntu 12.04 LTS template.

Code:
root@prova:~# iostat 
Cannot find disk data

in my old 1.9 with a 10.04 I have no problems executing it even if I get not real output:

Code:
# iostat
Linux 2.6.32-11-pve (electro)     10/18/2012     _x86_64_    (3 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.21    0.00    0.07    0.03    0.00   99.69

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn


Ubuntu 12.04 is using versions 10.0.3 and I've tried with an older one and it works. So it seems that new version of iostat is calling devices in a different way.

Is there any special privilege that I need to set for iostat to work?
 
hi,

I'm having problems with iostat in new proxmox with a Ubuntu 12.04 LTS template.

Code:
root@prova:~# iostat 
Cannot find disk data

in my old 1.9 with a 10.04 I have no problems executing it even if I get not real output:

Code:
# iostat
Linux 2.6.32-11-pve (electro)     10/18/2012     _x86_64_    (3 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.21    0.00    0.07    0.03    0.00   99.69

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn


Ubuntu 12.04 is using versions 10.0.3 and I've tried with an older one and it works. So it seems that new version of iostat is calling devices in a different way.

Is there any special privilege that I need to set for iostat to work?
Hi,
it would me suprise if iostat can work inside an container!
Also for security you shouldn't be able to see how much traffic is on the (real) device - you should nothing see which belongs outside of your container.
And OpenVZ don't see an real device...

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!