Hi.
I need to change 10GB to 400GB disk size.
I have followed step by step instructions here:
[mod edit: offset URL deleted]
the article is written for Ubuntu 16.04 LTS.
It seems I got everything well, up till the last command which I had to alter.
sudo lvextend -l+100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
Can anyone suggest the solution to get 400gb disk size?
Thank you
Br,
kd
UbuntuServer 20.04.2 Increase disk size
Re: UbuntuServer 20.04.2 Increase disk size
Solution:
This command was missing
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
Br,
ks
This command was missing
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
Br,
ks
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: UbuntuServer 20.04.2 Increase disk size
Sounds like you found that after increasing the Virtualbox disk file final size, you then had to increase the partition size inside the VM. Good!
Here is the tutorial: How to Resize a Drive
Here is the tutorial: How to Resize a Drive