[PVE-User] Thin LVM showing more used space than expected

Óscar de Arriba oscar at dearriba.es
Wed Dec 28 19:22:52 CET 2022


> I saw that they are Crucial SATA SSD directly attached on the motherboard. What kind of filesystem do you have on these SSDs ? Can you run pveperf on /dev/mapper/pveroot to see what are the performances ?

It is using LVM with ext4 for the root filesystem and the data storage is using LVM-Thin.

root at venom:~# blkid
/dev/sdj2: UUID="7B86-9E58" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="f4324ec9-c95e-4963-9ea9-5026f8f3fcae"
/dev/sdj3: UUID="16ioTj-mei2-pqZI-bJWU-myRs-AF5a-Pfw03x" TYPE="LVM2_member" PARTUUID="d2528e8f-7958-4dc1-9960-f67999b75058"
/dev/mapper/pve-swap: UUID="0fbe15d8-7823-42bc-891c-c131407921c7" TYPE="swap"
/dev/mapper/pve-root: UUID="6bef8c06-b480-409c-8fa0-076344c9108d" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sdj1: PARTUUID="70bb576f-ab3a-4867-ab2e-e9a7c3fb5a15"
/dev/mapper/pve-vm--150--disk--1: PTUUID="90e3bde4-d85c-46cb-a4b9-799c99e340c6" PTTYPE="gpt"
/dev/mapper/pve-vm--201--disk--1: PTUUID="cb44eeb1-db0d-4d42-8a14-05077231b097" PTTYPE="gpt"

root at venom:~# lvs
  LV            VG  Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data          pve twi-aotz-- 377.55g             96.60  1.55                            
  root          pve -wi-ao----  60.00g                                                    
  swap          pve -wi-ao----   4.00g                                                    
  vm-150-disk-0 pve Vwi-a-tz--   4.00m data        14.06                                  
  vm-150-disk-1 pve Vwi-a-tz-- 128.00g data        100.00                                 
  vm-201-disk-0 pve Vwi-aotz--   4.00m data        14.06                                  
  vm-201-disk-1 pve Vwi-aotz--  40.00g data        75.89

Regarding pveperf:

root at venom:~# pveperf /dev/mapper/pve-root
CPU BOGOMIPS:      211008.96
REGEX/SECOND:      1983864
HD SIZE:           58.76 GB (/dev/mapper/pve-root)
BUFFERED READS:    338.10 MB/sec
AVERAGE SEEK TIME: 0.09 ms
open failed: Not a directory

root at venom:~# pveperf ~/
CPU BOGOMIPS:      211008.96
REGEX/SECOND:      2067874
HD SIZE:           58.76 GB (/dev/mapper/pve-root)
BUFFERED READS:    337.51 MB/sec
AVERAGE SEEK TIME: 0.09 ms
FSYNCS/SECOND:     679.87
DNS EXT:           128.22 ms
DNS INT:           127.51 ms

Thanks,
Oscar


More information about the pve-user mailing list