1.3.4. Virtual Machine Files

A virtual machine has at least two files: a configuration file (PVS file) and a hard disk image file (HDD file). It can also have additional files: a file for each additional virtual hard disk and output files for virtual ports. By default, the virtual machines files are stored in the /vz/vmprivate/<UUID> directory on the OpenVZ server.

The list of files related to a virtual machine is given in the table below:

File NameDescription

.pvs

Virtual machine configuration file. It defines the hardware and resources configuration of the virtual machine. The configuration file is automatically generated during the virtual machine creation.

.sav

Dump file created when you suspend the virtual machine. This file contains the state of the virtual machine and its applications at the moment the suspend was invoked.

.mem

Memory dump file for the suspended virtual machine. For a running virtual machine, it is a temporary virtual memory file.

.hdd

Hard disk image in QCOW2 format. When you create a virtual machine, you can create it with a new virtual hard disk or use an existing one. A virtual machine can have multiple hard disks.

.iso

CD/DVD disc image. Virtual machines treat ISO images as real CD/DVD discs.

.txt

Output files for serial ports. The output .txt files are generated when a serial port connected to an output file is added to the virtual machine configuration.