Proxmox LVM
1- pvs
2- pvdisplay
3- vgs
4- vgdisplay
5- lvs
6- lvdisplay
=======================================================================
pvs
/dev/sdh sdh_thinPool lvm2 a-- 1.09t 120.00m
/dev/sdi ceph-c52a84e1-dbb7-45ce-8f2b-7b164b113313 lvm2 a-- 1.09t 0
/dev/sdj pve lvm2 a-- 1.09t <1.01t
/dev/sdk3 pve lvm2 a-- 223.00g 0
pvdisplay
--- Physical volume ---
PV Name /dev/sdh
VG Name sdh_thinPool
PV Size 1.09 TiB / not usable <1.59 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 286160
Free PE 30
Allocated PE 286130
PV UUID NHORh3-YaHf-CssJ-IqqT-j3FM-vcpI-elSI4i
=============================================================================
vgs
ceph-c8f585b1-835b-4584-9b44-687543a5ef12 1 1 0 wz--n- 1.09t 0
pve 2 3 0 wz--n- <1.31t <1.01t
sdh_thinPool 1 5 0 wz--n- 1.09t 120.00m
vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 13
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size <1.31 TiB
PE Size 4.00 MiB
Total PE 343249
Alloc PE / Size 78594 / <307.01 GiB
Free PE / Size 264655 / <1.01 TiB
VG UUID ut9tSq-VL7P-abb4-YmEi-zAoV-w9DP-9Ci7l8
--- Volume group ---
VG Name sdh_thinPool
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 12
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.09 TiB
PE Size 4.00 MiB
Total PE 286160
Alloc PE / Size 286130 / 1.09 TiB
Free PE / Size 30 / 120.00 MiB
VG UUID b2ZreT-EXdF-S8yQ-6DUA-1YnI-hZgh-AN2Dgz
==============================================================
lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 1.11t 0.42 0.20
root pve -wi-ao---- 155.75g
swap pve -wi-ao---- 8.00g
vm-123-disk-0 pve Vwi-a-tz-- 20.00g data 24.21
lvdisplay
--- Logical volume ---
LV Name data
VG Name pve
LV UUID IUc7pT-Df9y-7pQt-vndT-zloU-YJxi-2IrXsh
LV Write Access read/write (activated read only)
LV Creation host, time proxmox, 2020-06-02 07:51:03 +0800
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 0
LV Size 140.39 GiB
Allocated pool data 0.00%
Allocated metadata 1.14%
Current LE 35940
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:14
--- Logical volume ---
LV Name sdh_thinPool
VG Name sdh_thinPool
LV UUID UNmZHv-dwut-4tB4-5fQ1-Tn45-KuPx-pCa4Hv
LV Write Access read/write (activated read only)
LV Creation host, time prox1, 2022-07-07 10:45:34 +0800
LV Pool metadata sdh_thinPool_tmeta
LV Pool data sdh_thinPool_tdata
LV Status available
# open 0
LV Size <1.07 TiB
Allocated pool data 0.73%
Allocated metadata 0.21%
Current LE 280406
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:16
=====================================================================
lsblk
sdk 8:160 0 223.5G 0 disk
|-sdk1 8:161 0 1007K 0 part
|-sdk2 8:162 0 512M 0 part /boot/efi
`-sdk3 8:163 0 223G 0 part
|-pve-swap 253:7 0 8G 0 lvm [SWAP]
|-pve-root 253:8 0 155.8G 0 lvm /
|-pve-data_tmeta 253:9 0 11.4G 0 lvm
| `-pve-data-tpool 253:11 0 1.1T 0 lvm
| |-pve-data 253:12 0 1.1T 1 lvm
| `-pve-vm--123--disk--0 253:13 0 20G 0 lvm
`-pve-data_tdata 253:10 0 1.1T 0 lvm
`-pve-data-tpool 253:11 0 1.1T 0 lvm
|-pve-data 253:12 0 1.1T 1 lvm
`-pve-vm--123--disk--0 253:13 0 20G 0 lvm
ref:
https://forum.proxmox.com/threads/resize-local-or-local-lvm-and-how.105263/