Expanding the Logs Partition

To increase the disk space for your virtual appliance log files, expand the virtual disk and then resize the file system from the virtual appliance’s console interface.

Before you start, make sure you have completed the following steps:

1.Performed a backup of your Traffic Manager configuration and log files.

2.Stopped the virtual appliance.

To resize the virtual disk and expand the /logs partition

1.Log in to the QEMU/KVM host server command line.

2.Type the following command to expand the disk:

virsh vol-resize MyTrafficManager-01.qcow2 --pool <pool> --delta 4G

This command expands the disk by 4 GB. To expand the disk by a different amount, choose a different value for the "--delta" argument.

3.Start the virtual appliance.

4.Engage the virtual appliance’s console interface, or connect using SSH.

5.To resize the "/logs" partition, type the following command:

z-expand-logs-partition

Be aware that SSH Intrusion Prevention is disabled temporarily during the resize process.