By default, IP Office virtual machines have a 100 GB virtual disk. You must adjust this to meet the IP Office server profiling requirements. See IP Office Server Profiling.
Important:
You cannot decrease the disk size at a later stage.
You cannot change the disk size if there are snapshots of the virtual machine. You must delete any snapshots before increasing the disk size.
Before you begin
You can use this processes on a new virtual machine before starting it.
To perform this shut down the virtual machine.
Procedure
Use the following command to list the virtual machines the Linux server is hosting:
sudo virsh list
The list shows the virtual machines and their status. For example:
$ sudo virsh list
Id Name State
----------------------------
2 ipoffice running
Identify the name of the virtual machine you want to profile.
If the machine is running, shut it down using the following command:
sudo virsh shutdown <name>
Where:
<Name> is the name shown in the list of virtual machines.
For example:
sudo virsh shutdown ipoffice
Use the sudo virsh list command again to check that the virtual machine is no longer running.
Use the following command to display the virtual machine disks:
sudo virsh domblklist <Name> where <Name> is the name shown in the list of virtual machines.
For example: sudo virsh domblklist ipoffice
List the existing disk size:
sudo qemu-img info <disk>
Where:
<disk> is the disk source path shown in the previous step.
For example:
sudo qemu-img info /var/lib/libvirt/images/ipo_primary.qcow2
Use the following command to expand the existing disk size:
Adjust the settings to match the recommended settings for the server role. See IP Office Server Profiling.
Next Steps
If doing as part of installing a new virtual machine, continue with any further profiling required. When completed, start the virtual machine (see Starting the IP Office KVM virtual machine).