This Article provides instructions on how to increase the /dev/sda4 partition space in LCM
Aria Suite Lifecycle 8.18
Remove any existing snapshot on the LCM VM. Shutdown the VM and increase the size of the Hard disk1. Power on the VM and take snapshot before proceeding to below steps which will resize the partition.
Extend the root partition by following steps below:
1. Invoke partitioning tool (menu-driven interface) by running the below command.
# cfdisk /dev/sda
Note: This step is applicable only for the root partition:
2. Using arrow keys select /dev/sda4
3. Using tab key Or shift tab select [ Resize ] then enter
4. Enter the New Disk Size to Expand the Root Partition
5. Using tab key select [ Write ]
6. type "yes"
7. Press tab to [ Quit ]
8. Next, you must resize the file system with "resize2fs" to use the new space:
[before resize2fs]
# df -h | grep "sda4"
/dev/sda4 8.8G 3.9G 4.5G 47% /
[run resize2fs]
# resize2fs /dev/sda4
[after resize2fs]
# df -h | grep "sda4"
/dev/sda4 12G 3.9G 7.3G 35% /
9. Run 'df -h' command to verify the allocated space.