Previous page

Next page

Locate page in Contents

Print this page

Compacting Disks

In Virtuozzo, you can decrease the space your virtual machines and Containers occupy on the host's disk drive by compacting their virtual disks. Compacting virtual disks allows you to save your server's disk space and host more virtual machines and Containers on the server.

Note: Plain disks cannot be compacted.

To compact a virtual disk, you can use the prl_disk_tool compact command. For example, to compact the disk /var/parallels/MyVM.pvm/harddisk.hdd, run this command:

# prl_disk_tool compact --hdd /var/parallels/MyVM.pvm/harddisk.hdd/

To check the space that was freed by compacting the virtual disk, you can use standard Linux utilities (for example, df).