Dear all,
I have started to proxmox and have an issue with increasing size of ubuntu--vg-ubuntu--lv on ubuntu VM where the allocation of disk was increase to 1.6TB, however, I can see only 32.2GB inside Ubuntu. Below is the detail from parted and lsblk. Could you advice me how to allocate full sda3 size to ubuntu--vg-ubuntu--lv?
Thanks a lot!
Lubos
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 2150MB 2147MB ext4
3 2150MB 1645GB 1643GB
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 32.2GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 32.2GB 32.2GB ext4
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 55.6M 1 loop /snap/core18/2697
loop1 7:1 0 55.6M 1 loop /snap/core18/2708
loop2 7:2 0 63.3M 1 loop /snap/core20/1828
loop3 7:3 0 63.3M 1 loop /snap/core20/1822
loop4 7:4 0 111.9M 1 loop /snap/lxd/24322
loop5 7:5 0 49.8M 1 loop /snap/snapd/18357
loop6 7:6 0 1.1M 1 loop /snap/mosquitto/776
sda 8:0 0 1.5T 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 1.5T 0 part
└─ubuntu--vg-ubuntu--lv 253:0 0 30G 0 lvm /
sr0 11:0 1 1.8G 0 rom
kratax@ubuntuvmmachine:~$ sudo pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name ubuntu-vg
PV Size <30.00 GiB / not usable 0
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 7679
Free PE 0
Allocated PE 7679
PV UUID wHPCNE-cK0e-QLB2-g52k-LGRT-ixTe-ee1cKB
I have started to proxmox and have an issue with increasing size of ubuntu--vg-ubuntu--lv on ubuntu VM where the allocation of disk was increase to 1.6TB, however, I can see only 32.2GB inside Ubuntu. Below is the detail from parted and lsblk. Could you advice me how to allocate full sda3 size to ubuntu--vg-ubuntu--lv?
Thanks a lot!
Lubos
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 2150MB 2147MB ext4
3 2150MB 1645GB 1643GB
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 32.2GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 32.2GB 32.2GB ext4
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 55.6M 1 loop /snap/core18/2697
loop1 7:1 0 55.6M 1 loop /snap/core18/2708
loop2 7:2 0 63.3M 1 loop /snap/core20/1828
loop3 7:3 0 63.3M 1 loop /snap/core20/1822
loop4 7:4 0 111.9M 1 loop /snap/lxd/24322
loop5 7:5 0 49.8M 1 loop /snap/snapd/18357
loop6 7:6 0 1.1M 1 loop /snap/mosquitto/776
sda 8:0 0 1.5T 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 1.5T 0 part
└─ubuntu--vg-ubuntu--lv 253:0 0 30G 0 lvm /
sr0 11:0 1 1.8G 0 rom
kratax@ubuntuvmmachine:~$ sudo pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name ubuntu-vg
PV Size <30.00 GiB / not usable 0
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 7679
Free PE 0
Allocated PE 7679
PV UUID wHPCNE-cK0e-QLB2-g52k-LGRT-ixTe-ee1cKB