Previous page

Next page

Locate page in Contents

Print this page

Setting Quota Parameters

To set disk quotas for Containers, you use the prlctl set command. In the example below, the disk space available to Container 101 is set to 20 GB:

# prlctl set 101 --diskspace 20971520

You can check the result as follows:

# prlctl exec 101 df

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/ploop1p1 20642152 737692 18855888 4% /

none 131072 4 131068 1% /dev

You can change the per-Container disk quota parameters for running Containers. The changes take effect immediately.