Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Increase Deep Security AMI /var partition

    • Updated:
    • 9 Sep 2020
    • Product/Version:
    • Deep Security 12.0
    • Deep Security 12.5
    • Deep Security 20.0
    • Platform:
Summary

In large enterprise Deep Security AMI deployment, Deep Security Relay (DSR) also resides in Deep Security Manager (DSM) node, with many different Deep Security Agent (DSA) versions imported and installed on different server OS and builds /var default partition of 35GB may not be enough.

DSR stores the agent package and pattern updates on /var/opt/ds_agent/relay/www directory, disk partition on /var might get full and cause package and pattern update issues on DSR. In case where removing packages from DSM console is not viable, increasing the size of partition on /var can be another option.

Details
Public
 
In the following example, /var partition is increased by 20GB causing the following values: EBS volume increased to 148GB, /var increased to 55GB.
Change the values accordingly if you will increase the partition by a different value.
 
  1. Increase DS AMI /dev/sdb EBS volume depending on your required disk space.
     
    The default size is 128GB which is already partitioned automatically during deployment. For example, if you need to increase /var partition by 20GB, change EBS size to 148GB. You can find the /dev/sdb EBS volume at EC2 description page.
     

    After increasing EBS volume, it will take at least 1 minute to reflect in AMI, run the following command to verify:

    lsblk

    Expected output:

  2. Resize physical volume of /dev/sdb:

    pvresize /dev/sdb

    Expected output:

  3. Extend logical volume for /dev/mapper/hardenedpartitions-var:

    lvextend -L 55G /dev/mapper/hardenedpartitions-var

    Note that 55G means changing the partition size to 55GB. You may change the value depending on your requirements.

    Expected output:

  4. Extend file system:

    resize2fs /dev/mapper/hardenedpartitions-var

    Expected output:

  5. Verify /var partition change:

    df -h

    Expected output:

Premium
Internal
Partner
Rating:
Category:
Configure
Solution Id:
000268659
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.