[linux-lvm] strange usage stats for thin LV

Andres Toomsalu andres at active.ee
Wed Oct 31 00:04:08 UTC 2012


I'm a bit puzzled with some thin LV usage stats - hope that someone can shed a light on this.
lvs shows that thin_backup LV is 94% used - but df  shows only 16% - where comes the difference?

lvs -a -o+metadata_percent
  LV                       VG         Attr     LSize   Pool Origin       Data%  Move Log Copy%  Convert Meta% 
  pool                     VolGroupL0 twi-a-tz   1,95t                    35,17                           2,79
  [pool_tdata]             VolGroupL0 Twi-aot-   1,95t                                                        
  [pool_tmeta]             VolGroupL0 ewi-aot-  14,00g                                                        
  root                     VolGroupL0 -wi-ao--  10,00g                                                        
  swap                     VolGroupL0 -wi-ao--  16,00g                                                        
  thin_backup              VolGroupL0 Vwi-aotz 600,00g pool               94,51                               
  thin_storage             VolGroupL0 Vwi-aotz 600,00g pool               20,98   

df -h
Filesystem            Size  Used Avail Use% Mounted on
                      9,9G  1,3G  8,1G  14% /
tmpfs                  16G     0   16G   0% /dev/shm
/dev/sda1            1008M  122M  835M  13% /boot
                      591G   39G  523G   7% /storage
                      591G   90G  472G  16% /backup

Thanks in advance,

Andres Toomsalu

More information about the linux-lvm mailing list