Quickly resize your Ubuntu LVM partition to use all available disk space. If you installed Ubuntu with the defaults, it likely only used half your allocated storage — here's how to fix that in under 5 minutes using vgdisplay, lvextend, and resize2fs.
0:00 - Intro
0:36 - Switch to Root
0:50 - Check Free Space (vgdisplay)
1:22 - Check Current Size (lvdisplay)
1:41 - Extend Logical Volume (lvextend)
2:14 - Confirm Size Change
2:44 - Resize Root File System (resize2fs)
3:26 - Verify Changes (df -h)
3:56 - Wrap Up
Commands Used:
vgdisplay → Check free space in volume group
lvdisplay → Check current logical volume size
lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv → Extend logical volume
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv → Resize root file system
df -h → Verify changes
Related Products (affiliate links help support my content at no extra cost to you, thanks!):
Crucial MX500 1TB SATA SSD: https://www.amazon.com/dp/B078211KBB?...
Silicon Power UD90 4TB NVMe SSD: https://www.amazon.com/dp/B09T2XVG16?...
GMKtec M7 Mini PC (Proxmox Host): https://www.amazon.com/dp/B0DQKRXKS5?...
Related Videos:
Allocate More Disk Space - Proxmox + Ubuntu: • Allocate More Disk Space - Proxmox + Ubuntu
Proxmox - Pass Drive Through to Container: • Proxmox - Pass Drive Through to Container
Ubuntu Linux - Setting up a Raid5 Array: • Ubuntu Linux - Setting up a Raid5 Array
Proxmox - Windows 11 VM (with VirtIO drivers): • Proxmox - Windows 11 VM (with VirtIO drivers)
Proxmox - Debian VM: • Proxmox - Debian VM
NOTE: I called LV "Linux Volume" in this video, the correct term is "Logical Volume". Its 5am here and I'm still drinking my coffee :)
#ubuntu #proxmox #homelab