Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Disk quota, df and stat weird behaviour

19 bytes added, 21:34, 6 April 2012
Other reasons of strange numbers: +ext4
At the moment I see only two more reasons why numbers in <code>df</code>/<code>stat</code> output can confuse you.
# The quota is inconsistent. This can happen if you turned quota off for some time, if you wrote directly to private area (<code>/vz/private</code>), but not through <code>simfs</code>, etc. When you have doubts whether your quota is consistent or not, just drop quota (<code>vzquota drop <ctid></code>, where <code><ctid></code> is the id of a stopped [[CT]]). While starting [[CT]], <code>vzctl</code> will automatically initialize quota.
# Unsupported underlying filesystem. Currently OpenVZ quota only supports <code>ext2</code>, <code>ext3</code> and <code>ext3ext4</code>. With other file system types you can have unpredictable results. Praemonitus praemunitus!
== TODO ==