Optional: Resizing the virtual disk (vDisk)
The following steps introduce how to resize the virtual disk, using Ubuntu 16.04 LTS headless server as an example.
- Check the size of the vDisk. The default size is 70 GB.
qemu-img info <the path of the image file>
For example:qemu-img info /opt/kvm_013001_zx/boot.qcow2
- Increase the size of the vDisk.
It's recommended to shut down the virtual appliance before performing this step.
qemu-img resize <the path of the image file> +<the size you want to adjust>
For example:qemu-img resize /opt/kvm_013001_zx/boot.qcow2 +20G
- Check the size of the vDisk again to make sure the size is changed.
qemu-img info <the path of the image file>
- Power on the virtual appliance.
- Format the log disk.
execute formatlogdisk
On KVM, the expanded space will not be recognized by FortiManager until the vDisk is re-formatted. - The appliance will automatically restart. The disk is being formatted after the first restart. It might take several minutes depending on the size of the disk.
- After the disk is formatted, the appliance restarts again.