Jump to content

increase disk size on Ubuntu Server 22.04


brent

Recommended Posts

Start up the VM and SSH to it. Of course we need root access.

lsblk

 

growpart /dev/sda 3

 

pvresize /dev/sda3

 

And increase the capacity of the lvm

lvextend --extents +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv -r

 

Verify with

lsblk

 

and

df -h

 

and you are done.

Link to comment
Share on other sites

  • brent featured this topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...