Difference between revisions of "Disk quota"
m (added to Category: Disk quota) |
(add command for space available in VE) |
||
Line 11: | Line 11: | ||
<pre> | <pre> | ||
[host-node]# vzctl set 101 --diskspace 6G:7G --save | [host-node]# vzctl set 101 --diskspace 6G:7G --save | ||
+ | </pre> | ||
+ | |||
+ | You could verify the space available with this command (ie : CTID =101) | ||
+ | <pre> | ||
+ | [host-node]# vzctl exec 101 df -h | ||
</pre> | </pre> | ||
[[Category: Disk quota]] | [[Category: Disk quota]] |
Revision as of 09:15, 19 May 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
You could verify the space available with this command (ie : CTID =101)
[host-node]# vzctl exec 101 df -h