lsblk:VMware Aria Suite Lifecycle 8.12.x and later
*Do NOT apply the below steps to VMware Aria Suite Lifecycle appliances that were initially deployed on a version lower than 8.12.The steps outlined below are NOT suitable for VMware Aria Suite Lifecycle appliances that were upgraded to 8.12.x.Applying these steps to incorrect versions of VMware Aria Suite Lifecycle can result in data loss. |
Prerequisites
Steps
lsblk command.lsblkcat /etc/fstabfdisk -lparted /dev/sda resizepart 4 100%
Example Output: [ ~ ]# parted /dev/sda resizepart 4 100%Information: You may need to update /etc/fstab.
lsblk -b -o NAME,SIZE | awk 'NR==1 {print $0 " (MB)"} NR>1 {printf "%-10s %d MB\n", $1, $2/1024/1024}'
Example Output:[ ~ ]# lsblk -b -o NAME,SIZE | awk 'NR==1 {print $0 " (MB)"} NR>1 {printf "%-10s %d MB\n", $1, $2/1024/1024}'NAME SIZE (MB)sda 15360 MB├─sda1 4 MB├─sda2 10 MB├─sda3 512 MB└─sda4 14832 MB <<<<<< (SIZE-IN-MB)└─system-system_0 10236 MBsdb 51264 MB└─data-data_0 51200 MBsdc 10304 MB└─storage-storage_0 10240 MBsdd 8256 MB└─swap-swap_0 8192 MBsde 15360 MB└─vg_alt_root-lv_alt_root 10240 MBsdf 8256 MB└─vg_lvm_snapshot-lv_lvm_snapshot 8192 MBsr0 1023 MB
pvresize /dev/sda4 --setphysicalvolumesize <SIZE-IN-MB>
NOTE : Get the value for 'SIZE-IN-MB' from the output of previous command (lsblk -b -o NAME,SIZE | awk 'NR==1 {print $0 " (MB)"} NR>1 {printf "%-10s %d MB\n", $1, $2/1024/1024}')
lvextend -r -l +100%FREE /dev/system/system_0
pvresize /dev/sde --setphysicalvolumesize <SIZE-IN-MB>
NOTE : Provide the same "SIZE-IN-MB" value mapped to "sda4" partition from output of command (lsblk -b -o NAME,SIZE | awk 'NR==1 {print $0 " (MB)"} NR>1 {printf "%-10s %d MB\n", $1, $2/1024/1024}')
lvextend -r -l +100%FREE /dev/vg_alt_root/lv_alt_root
reboot -f
df -h