--- title: "Increase or add storage on a virtual appliance" slug: "increase-or-add-storage-on-a-virtual-appliance" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-09-11T11:24:04Z published: 2026-09-11T11:24:04Z canonical: "docs.trellix.com/increase-or-add-storage-on-a-virtual-appliance" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Increase or add storage on a virtual appliance When the available storage on the EDR Telemetry Store virtual appliance becomes insufficient, you can increase capacity by extending the existing data disk. > [!WARNING] > Important > > We recommend that you take a backup of the virtual machine in the hypervisor to ensure data recovery. The high-level steps include: 1. [Extend the hard disk in the hypervisor.](/v1/docs/increase-or-add-storage-on-a-virtual-appliance#extend-the-hard-disk-in-the-hypervisor) 2. [Convert the MBR partition table to GPT](/v1/docs/increase-or-add-storage-on-a-virtual-appliance#convert-the-mbr-partition-table-to-gpt) (Required for disks that exceed 2 TB). 3. [Resize the partition to utilize the new disk space.](/v1/docs/increase-or-add-storage-on-a-virtual-appliance#resize-the-partition) 4. [Resize the logical volume manager (LVM) physical volume.](/v1/docs/increase-or-add-storage-on-a-virtual-appliance#resize-the-physical-volume) 5. [Resize the logical volume manager (LVM) logical volume and file system.](/v1/docs/increase-or-add-storage-on-a-virtual-appliance#resize-the-logical-volume-and-file-system) ### Extend the hard disk in the hypervisor 1. Shut down the virtual machine. 2. Delete all existing snapshots. 3. Open the hardware configuration settings for the virtual machine in your hypervisor management console. 4. Locate the second hard disk, which contains the OpenSearch data directory. 5. Increase the disk capacity to the required size, and then save your changes. ### Convert the MBR partition table to GPT Master Boot Record (MBR) partition tables do not support disks that exceed 2 TB. If the new disk size exceeds 2 TB, you must convert the partition table to GUID Partition Table (GPT) to ensure the system recognizes the additional capacity. If the disk size is 2 TB or less, proceed to [Resize the partition](/v1/docs/increase-or-add-storage-on-a-virtual-appliance#resize-the-partition). 1. Power on the EDR Telemetry Store virtual appliance and log in as an administrator. ```plaintext ssh admin@ ``` 2. Enter privileged mode: ```plaintext enable ``` Enter your password when prompted. 3. Access the shell: ```plaintext shell ``` 4. Install the `gdisk` utility: ```plaintext dnf install -y gdisk ``` 5. Stop the OpenSearch service: ```plaintext systemctl stop opensearch ``` 6. Unmount the OpenSearch data directory: ```plaintext umount /var/lib/opensearch ``` 7. Deactivate the volume group to safely modify the partition table: ```plaintext vgchange -a n vg_opensearch ``` 8. Run `gdisk` to convert the MBR table to GPT: ```plaintext gdisk /dev/sdb ``` 9. Write the new GPT data: - Type `w` and press **Enter**. - Type `Y` and press **Enter** to confirm. 10. Force the kernel to read the new partition table: ```plaintext partprobe /dev/sdb ``` 11. Reactivate the volume group: ```plaintext vgchange -a y vg_opensearch ``` 12. Remount the OpenSearch data directory: ```plaintext mount -a ``` ### Resize the partition 1. Power on the EDR Telemetry Store virtual appliance and log in as an administrator. ```plaintext ssh admin@ ``` 2. Enter privileged mode: ```plaintext enable ``` Enter your password when prompted. 3. Access the shell: ```plaintext shell ``` 4. List block devices: ```plaintext lsblk ``` The OpenSearch data directory (`/var/lib/opensearch`) is located on partition `sdb1` of disk `sdb`. ![1-Resizepartition-lsblk.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-18ca13da-f97e-c6a1-6870-5a661ac424a7.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A12%3A41Z&se=2026-11-19T22%3A12%3A41Z&sr=c&sp=r&sig=fD1Fjow0nb88tzRTO4urIsx02wrWGiFA9hgXwOFW2KM%3D) 5. Display partition information: ```plaintext parted -s -a opt /dev/sdb "print free" ``` ![2-Resizepartition-parted.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-5ae4a294-f831-5e32-707c-01179735b693.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A12%3A41Z&se=2026-11-19T22%3A12%3A41Z&sr=c&sp=r&sig=fD1Fjow0nb88tzRTO4urIsx02wrWGiFA9hgXwOFW2KM%3D) 6. Confirm that free space is available after partition 1. 7. Resize partition 1 to occupy the full disk: ```plaintext parted -s -a opt /dev/sdb "resizepart 1 100%" ``` 8. Verify the updated partition layout: ```plaintext parted -s -a opt /dev/sdb "print free" ``` ### Resize the physical volume 1. Display current physical volumes: ```plaintext pvs ``` 2. Resize the physical volume: ```plaintext pvresize /dev/sdb1 ``` 3. Verify the updated size: ```plaintext pvs ``` ![3-Resizephysicalvolume.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-faad211a-f808-77f0-d4eb-32ad6468bec6.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A12%3A41Z&se=2026-11-19T22%3A12%3A41Z&sr=c&sp=r&sig=fD1Fjow0nb88tzRTO4urIsx02wrWGiFA9hgXwOFW2KM%3D) ### Resize the logical volume and file system 1. Display logical volumes: ```plaintext lvs ``` 2. Extend the logical volume and file system to use all free space: ```plaintext lvextend -l +100%FREE -r /dev/vg_opensearch/lv_opensearch ``` 3. Verify the updated logical volume size: ```plaintext lvs ``` ![4-Resizelogicalvolume-lvs.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0fff076d-66bb-3b75-bfe1-251a6d2edb5c.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A12%3A41Z&se=2026-11-19T22%3A12%3A41Z&sr=c&sp=r&sig=fD1Fjow0nb88tzRTO4urIsx02wrWGiFA9hgXwOFW2KM%3D) ### Result The additional disk space is now available for use by the EDR Telemetry Store virtual appliance. You can confirm the increase using: ```plaintext df -h ``` ![5-Resizelogicalvolume-final.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-91fcd91a-d53d-47fb-ac17-d38e2beb5278.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A12%3A41Z&se=2026-11-19T22%3A12%3A41Z&sr=c&sp=r&sig=fD1Fjow0nb88tzRTO4urIsx02wrWGiFA9hgXwOFW2KM%3D)