Linux
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Information
LVM
Logical Volume Storage
LVM Extension
To extend the ubuntu--vg-ubuntu-lv
after increasing the size of a physical volume from Proxmox
For the purposes of simplicity, I’m going to assume that the main volume you wish to extend is /dev/sda3
.
- Check the current size with
sudo lsblk
orsudo fdisk -l
- Run either
sudo growpart /dev/sda 3
or usesudo cfdisk
to resize the/dev/sda3
to max size - Extend the PV volume with
sudo pvresize /dev/sda3
- Extend the LV to 100% with
sudo lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
- Resize the filesystem with
sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv