Jump to content

Hey

 

So I set up Ubuntu server on a new server and am currently struggling to understand LVM.

I was able run the following:

sudo lvextend -l 100%FREE /dev/ubuntudevbox2/root

And it resulted in this:

afbeelding.png.763405c95036e6ffee5b2bc690b351ce.png

446GiB in size, but 181 of 196 Gib used... Its limited for 196 GiB for some reason. Does anyone have a suggestion on how to fix this?

 

Thanks in advance!

Main system: Ryzen 3700x - 16GB DDR4 3200Mhz - RX 5600 XT - 500GB NVMe - 480GB SATA SSD - Gigabyte B450 I aorus pro wifi - Noctua NH-U9S - NZXT H200i - (MacOS, Windows, Pop! OS)

Laptop: Surface laptop 3 - i5-1035G7 - 8GB DDR4 - 256GB NVMe

Server(/NAS): Ryzen 2200G - 32GB DDR4 2133Mhz - 3x 2TB WD RED - 250GB SATA SSD - (Unraid)

Phone: Oneplus 7 Pro

Audio: Sony WH1000XM3 - Logitech Z906

Link to comment
https://linustechtips.com/topic/1274115-ubuntu-lvm-regrets/
Share on other sites

Link to post
Share on other sites

What you did extends the logical volume, you still need to expand the partition's filesystem. You can't do that while it's mounted so you'll need to boot from a tool like gparted.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
https://linustechtips.com/topic/1274115-ubuntu-lvm-regrets/#findComment-14249644
Share on other sites

Link to post
Share on other sites

56 minutes ago, Thom_0203 said:

So I set up Ubuntu server on a new server and am currently struggling to understand LVM.

I was able run the following:


sudo lvextend -l 100%FREE /dev/ubuntudevbox2/root

And it resulted in this:

 

446GiB in size, but 181 of 196 Gib used... Its limited for 196 GiB for some reason. Does anyone have a suggestion on how to fix this?

You need to run resize2fs on the filesystem. Boot off a USB-stick, run resize2fs /dev/yourpartition.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
https://linustechtips.com/topic/1274115-ubuntu-lvm-regrets/#findComment-14249650
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×