Hello,
I recently moved from proxmox 3 to 5.1 and I am a newbie with LVM.
I have a disk full issue, we have 16 LXC with 20GB disks but data LV is only 143GB (My bad ! I know).
Current status is:
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- 222.75g 15.86g
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotzD- 143.25g 100.00 48.19
root pve -wi-ao---- 55.50g
swap pve -wi-ao---- 8.00g
vm-100-disk-1 pve Vwi-aotz-- 20.00g data 25.70
vm-101-disk-1 pve Vwi-aotz-- 20.00g data 16.05
vm-102-disk-1 pve Vwi-aotz-- 20.00g data 41.67
vm-103-disk-1 pve Vwi-aotz-- 20.00g data 19.88
vm-104-disk-1 pve Vwi-aotz-- 20.00g data 49.42
vm-105-disk-1 pve Vwi-aotz-- 20.00g data 21.00
vm-106-disk-1 pve Vwi-a-tz-- 20.00g data 35.25
vm-107-disk-1 pve Vwi-aotz-- 20.00g data 31.33
vm-108-disk-1 pve Vwi-aotz-- 20.00g data 35.02
vm-109-disk-1 pve Vwi-a-tz-- 20.00g data 45.23
vm-110-disk-1 pve Vwi-aotz-- 20.00g data 55.57
vm-111-disk-1 pve Vwi-aotz-- 20.00g data 47.22
vm-112-disk-1 pve Vwi-aotz-- 20.00g data 75.95
vm-113-disk-1 pve Vwi-aotz-- 20.00g data 68.08
vm-114-disk-1 pve Vwi-a-tz-- 20.00g data 63.40
vm-115-disk-1 pve Vwi-a-tz-- 20.00g data 85.47
I was thinking of shrinking some LXC disks and shrinking root LV.
I know I have to shrink filesystem from inside LXC instances but fdisk -l returns void.
Do you have any suggestion or link to documentation on shrinking LXC/LVM ?
Can root LV be shrinked while mounted/ running?
Thank you.
I recently moved from proxmox 3 to 5.1 and I am a newbie with LVM.
I have a disk full issue, we have 16 LXC with 20GB disks but data LV is only 143GB (My bad ! I know).
Current status is:
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- 222.75g 15.86g
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotzD- 143.25g 100.00 48.19
root pve -wi-ao---- 55.50g
swap pve -wi-ao---- 8.00g
vm-100-disk-1 pve Vwi-aotz-- 20.00g data 25.70
vm-101-disk-1 pve Vwi-aotz-- 20.00g data 16.05
vm-102-disk-1 pve Vwi-aotz-- 20.00g data 41.67
vm-103-disk-1 pve Vwi-aotz-- 20.00g data 19.88
vm-104-disk-1 pve Vwi-aotz-- 20.00g data 49.42
vm-105-disk-1 pve Vwi-aotz-- 20.00g data 21.00
vm-106-disk-1 pve Vwi-a-tz-- 20.00g data 35.25
vm-107-disk-1 pve Vwi-aotz-- 20.00g data 31.33
vm-108-disk-1 pve Vwi-aotz-- 20.00g data 35.02
vm-109-disk-1 pve Vwi-a-tz-- 20.00g data 45.23
vm-110-disk-1 pve Vwi-aotz-- 20.00g data 55.57
vm-111-disk-1 pve Vwi-aotz-- 20.00g data 47.22
vm-112-disk-1 pve Vwi-aotz-- 20.00g data 75.95
vm-113-disk-1 pve Vwi-aotz-- 20.00g data 68.08
vm-114-disk-1 pve Vwi-a-tz-- 20.00g data 63.40
vm-115-disk-1 pve Vwi-a-tz-- 20.00g data 85.47
I was thinking of shrinking some LXC disks and shrinking root LV.
I know I have to shrink filesystem from inside LXC instances but fdisk -l returns void.
Do you have any suggestion or link to documentation on shrinking LXC/LVM ?
Can root LV be shrinked while mounted/ running?
Thank you.