--- title: "Root partition extension in Linux-based Manager" slug: "root-partition-extension-in-linux-based-manager-3" tags: ["Install and Get Started", "IPS 11.1.x"] updated: 2026-11-19T12:53:55Z published: 2026-11-19T12:53:55Z canonical: "docs.trellix.com/root-partition-extension-in-linux-based-manager-3" --- > ## 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. # Root partition extension in Linux-based Manager Perform the following steps to extend the root partition in the Linux-based Manager: **Prerequisite:** Take an ALL TABLES database backup of the Linux-based Manager and store it in a remote machine. **Steps:** 1. Log in to the Manager shell. 2. Shutdown the Manager virtual machine by executing `shutdown` command. 3. Log in to the ESXi server where the Linux-based Manager virtual machine is hosted. 4. Select the Linux-based Manager virtual machine and edit the machine setting to extend the disk space. > [!NOTE] > Note > > Make a note of the memory size extended in gigabytes. 5. Power on the Linux-based Manager virtual machine. 6. Log in to the Manager shell. 7. Execute `fdisk -l` . > [!NOTE] > Note > > Make a note of the output displayed on executing the above command. 8. Execute `fdisk /dev/sda`. The fdisk utility opens. 9. Type `p` and press `Enter`. Make a note of the end block of sda. For example: In the below output, the end block is 419239935 . ``` Device Boot     Start      End          Blocks     Id  System /dev/sda1        2048      780287       389120      83  Linux /dev/sda2        782336    419239935    209228800   83  Linux ``` 10. Create a new partition by executing `n`. 11. The console provides options for partition type. Type `P` to select `Primary` and press `Enter`. 12. Select the partition number and press `Enter`. > [!NOTE] > Note > > Trellix recommends you to select the default partition number displayed. 13. Select the first sector for the extended partition and press `Enter`. > [!NOTE] > Note > > Trellix recommends you to select the first block after the end of the available sda blocks as the first sector for the extended partition. That is, if the end location of the available sda is 419239935, then you must specify the first sector as 419239936 (i.e. 419239935+1). 14. Select the last sector of the extended partition and press `Enter`. > [!NOTE] > Note > > Trellix recommends you to select the default location displayed. 15. Save the changes to the fdisk utility by executing `w`. 16. Reboot the Linux-based Manager by executing `reboot` command. 17. Log in to the Manager shell. 18. Execute `fdisk -l`. > [!NOTE] > Note > > Make a note of the output displayed on executing the above command. 19. Compare the output of fdisk command in step 7 and step 18. Make a note of the new sda created. 20. Execute the below command block to extend the root partition: ``` vgextend fs /dev/ ``` | Parameter | Description | | --- | --- | | `new_sda` | Specify the name of the newly created sda. | 21. Execute the below command block: ``` lvextend -L+G /dev/mapper/fs-root ``` | Parameter | Description | | --- | --- | | `memory_extended` | Mention the memory size extended in gigabytes as specified in step 4. For example, if you have increased the disk space of the Linux-based Manager virtual machine by 50 GB, the `memory_extented` value should be entered as 50. | 22. Execute `df -h` and make a note of `/dev/mapper/fs-root` filesystem size. 23. Execute the below command block to resize the `/dev/mapper/fs-root` filesystem size. ``` resize2fs /dev/mapper/fs-root ``` 24. Execute `df -h` and verify that the `/dev/mapper/fs-root` filesystem size is extended.