Expanding the Log File Partition
If you want to allocate more space for your log files, expand the virtual disk and then resize the file system from the virtual appliance’s command line.
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.
Resizing the Virtual Hard Disk
In the Hyper-V Manager application, edit the settings of the desired Traffic Manager virtual machine to set a new size for the hard disk.
To resize the virtual hard disk
1.To edit the virtual machine settings, click Settings… in the Actions pane, use the right-click context menu over the virtual machine name, or use the Action menu in the toolbar.
2.In the Settings dialog, select the hard drive you want to expand in the Hardware pane (the relevant .vhd virtual hard disk file is listed here), and click Edit in the right hand details pane. This launches the Edit Virtual Hard Disk wizard.
3.Choose “Expand” and click Next.
4.Enter the new disk size (in GB) in the box provided.
5.Click Next to view a summary of the changes, or Finish to expand the disk immediately.
6.Click OK to close the Settings dialog, and click Start to restart the virtual machine.
Once the virtual machine has started, resize its log partition to take advantage of the newly allocated disk size.
Resizing the Virtual Appliance Log Partition
To expand the Traffic Manager's log partition into a newly resized virtual hard disk, use the virtual appliance console interface.
To expand the log partition
1.Engage the virtual appliance console, or connect using SSH.
2.Log in as the “admin” user.
3.Resize the /logs partition by typing the following command:
z-expand-logs-partition
Be aware that SSH Intrusion Prevention is disabled temporarily during the resize process.