Difference between revisions of "Disk quota"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
Line 4: Line 4:
 
To set disk space, run the following commands:
 
To set disk space, run the following commands:
 
<pre>
 
<pre>
   vzctl set CTID --diskspace $SoftLimite$:$HardLimit$ --save
+
   vzctl set CTID --diskspace $SoftLimit$:$HardLimit$ --save
 
</pre>
 
</pre>
  

Revision as of 16:13, 18 April 2008

Basic disk quota management:


To set disk space, run the following commands:

  vzctl set CTID --diskspace $SoftLimit$:$HardLimit$ --save


Example:

[host-node]# vzctl set 101 --diskspace 6G:7G --save