Expanding the Log File Partition
If you want to allocate more space for your log files, expand the virtual machine disk and then resize the Traffic Manager’s file system to take advantage of the extra space.
ATTENTION Before you begin, make sure you have performed a backup of your Traffic Manager configuration and log files.
To increase disk capacity for an existing virtual machine, EC2 requires you to instead create a new disk volume at the increased size and then migrate your data to it. You then discard the old disk volume. For more details, see the AWS Documentation website:
After you have increased the disk capacity, resize the Traffic Manager log partition to take advantage of the additional space.
To resize the log partition
- Start the instance using the AWS Console or command line tools.
- Engage the instance console, or connect using SSH.
- Log in as the “admin” user.
- Resize the /logs partition by typing the following command:
z-expand-logs-partitionBe aware that SSH Intrusion Prevention is disabled temporarily during the resize process.
