I want to know if there is any way to reduce size of the local-lvm? I would like to resize it and keep 100GB unallocated at the end of the SSD.
Bash:
> df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 18M 1.6G 2% /run
/dev/mapper/pve-root 94G 13G 77G 15% /
tmpfs 7.9G 40M 7.8G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/nvme0n1p2 511M 312K 511M 1% /boot/efi
/dev/fuse 30M 36K 30M 1% /etc/pve
tmpfs 1.6G 0 1.6G 0% /run/user/0
> pvs
PV VG Fmt Attr PSize PFree
/dev/nvme0n1p3 pve lvm2 a-- <953.37g <16.00g
> vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 16 0 wz--n- <953.37g <16.00g
> lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <816.70g 16.08 0.96
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-aotz-- 30.00g data 5.49
vm-101-disk-0 pve Vwi-a-tz-- 120.00g data 6.24
vm-102-disk-0 pve Vwi-a-tz-- 120.00g data 5.89
vm-108-disk-0 pve Vwi-aotz-- 130.00g data 51.10
vm-200-disk-0 pve Vwi-aotz-- 30.00g data 36.64
vm-201-disk-0 pve Vwi-aotz-- 30.00g data 12.59
vm-202-disk-0 pve Vwi-aotz-- 30.00g data 64.61
vm-203-disk-0 pve Vwi-aotz-- 30.00g data 12.79
vm-204-disk-0 pve Vwi-aotz-- 10.00g data 16.16
vm-205-disk-0 pve Vwi-a-tz-- 15.00g data 21.02
vm-208-disk-0 pve Vwi-a-tz-- 10.00g data 13.87
vm-209-disk-0 pve Vwi-a-tz-- 10.00g data 13.89
vm-900-disk-0 pve Vwi-a-tz-- 20.00g data 15.78
> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 953.9G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 512M 0 part /boot/efi
└─nvme0n1p3 259:3 0 953.4G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 96G 0 lvm /
├─pve-data_tmeta 253:2 0 8.3G 0 lvm
│ └─pve-data-tpool 253:4 0 816.7G 0 lvm
│ ├─pve-data 253:5 0 816.7G 0 lvm
│ ├─pve-vm--108--disk--0 253:6 0 130G 0 lvm
│ ├─pve-vm--202--disk--0 253:7 0 30G 0 lvm
│ ├─pve-vm--201--disk--0 253:8 0 30G 0 lvm
│ ├─pve-vm--200--disk--0 253:9 0 30G 0 lvm
│ ├─pve-vm--101--disk--0 253:10 0 120G 0 lvm
│ ├─pve-vm--102--disk--0 253:11 0 120G 0 lvm
│ ├─pve-vm--900--disk--0 253:12 0 20G 0 lvm
│ ├─pve-vm--100--disk--0 253:13 0 30G 0 lvm
│ ├─pve-vm--205--disk--0 253:14 0 15G 0 lvm
│ ├─pve-vm--204--disk--0 253:15 0 10G 0 lvm
│ ├─pve-vm--203--disk--0 253:16 0 30G 0 lvm
│ ├─pve-vm--208--disk--0 253:17 0 10G 0 lvm
│ └─pve-vm--209--disk--0 253:18 0 10G 0 lvm
└─pve-data_tdata 253:3 0 816.7G 0 lvm
└─pve-data-tpool 253:4 0 816.7G 0 lvm
├─pve-data 253:5 0 816.7G 0 lvm
├─pve-vm--108--disk--0 253:6 0 130G 0 lvm
├─pve-vm--202--disk--0 253:7 0 30G 0 lvm
├─pve-vm--201--disk--0 253:8 0 30G 0 lvm
├─pve-vm--200--disk--0 253:9 0 30G 0 lvm
├─pve-vm--101--disk--0 253:10 0 120G 0 lvm
├─pve-vm--102--disk--0 253:11 0 120G 0 lvm
├─pve-vm--900--disk--0 253:12 0 20G 0 lvm
├─pve-vm--100--disk--0 253:13 0 30G 0 lvm
├─pve-vm--205--disk--0 253:14 0 15G 0 lvm
├─pve-vm--204--disk--0 253:15 0 10G 0 lvm
├─pve-vm--203--disk--0 253:16 0 30G 0 lvm
├─pve-vm--208--disk--0 253:17 0 10G 0 lvm
└─pve-vm--209--disk--0 253:18 0 10G 0 lvm
Last edited: