Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Ploop/Getting started

641 bytes added, 15:38, 30 May 2012
added notes for vzctl set diskspace/diskinodes, added vzlist to see diskspace
vzctl set ''CTID'' --diskspace ''nnn''G --save
 
Note that
* there is no need to specify two values for diskspace (unlike simfs, there is no soft and hard quota).
* there is no way to limit or change the number of inodes available for a container (i.e. option '''--diskinodes''' is ignored)
 
== Showing disk space usage / limits ==
 
You can use {{Man|vzlist|8}} to see CT disk space usage and limits in a uniform way for any containers (simfs or ploop, started or stopped). The field '''diskspace''' is showing the current usage, and the fields '''diskspace.s''' and '''diskspace.h''' are showing the filesystem size (or disk space quotas, for simfs case).
 
vzlist -o smart_ctid,dspace.u
== Using disk quotas inside container ==