This information pertains to the VM that was deployed using the Rocky Linux 9 template on our VW platform.
vCenter
- Goto: Logon to vCenter -> Edit Virtual Machine -> Hard disk
- Add disk space (example. 50GB -> 80GB).
Virtual Machine
- Reboot the virtual machine
- login to the vm
- run below command to extend storage.
$sudo cloud-init single --name growpart
$sudo lvextend -l +100%FREE /dev/rocky/root
$sudo xfs_growfs /dev/mapper/rocky-root
Confirm with below command
$ df -h
Comments
0 comments
Please sign in to leave a comment.