lsblk
to list partitionssudo pvs
to list the free space in disksudo pvresize /dev/sda1
df -h
to get root logical volume name- eg
/dev/mapper/ubuntu--vg-root
- eg
- Expand volume
sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-root
Last active
March 10, 2022 10:20
-
-
Save arunjayakumar01/592e5c67fec2e331e9a188b4023de465 to your computer and use it in GitHub Desktop.
resize-partition-ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment