linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] thin pool and discards
@ 2014-09-30 13:26 Vasiliy Tolstov
  2014-09-30 14:35 ` Zdenek Kabelac
  0 siblings, 1 reply; 9+ messages in thread
From: Vasiliy Tolstov @ 2014-09-30 13:26 UTC (permalink / raw)
  To: LVM

Hello. I'm try to check that discard are working. I have thin volume
1031 (used by virtual machine)
I'm fill the disc and delete data, (fs ext4 with discard option) after
that i manually run fstrim -v /
but data on thin volume not reclaimed.

  LV      VG   Attr       LSize   Pool Origin Data%  Move Log Cpy%Sync Convert
  tp0     vg0  twi-a-tz-- 445.00g               0.00
  373_153 vg1  Vwi---tz-k  20.00g tp1
  375_151 vg1  Vwi---tz-k  40.00g tp1
  529_217 vg1  Vwi---tz-k  40.00g tp1
  531_221 vg1  Vwi---tz-k  20.00g tp1
  533_219 vg1  Vwi---tz-k  40.00g tp1
  577_305 vg1  Vwi---tz-k  40.00g tp1
  581_309 vg1  Vwi---tz-k  40.00g tp1
  583_307 vg1  Vwi---tz-k  20.00g tp1
  tp1     vg1  twi-a-tz-- 445.00g               0.50
  377_159 vg2  Vwi---tz-k  20.00g tp2
  445_197 vg2  Vwi---tz-k  20.00g tp2
  tp2     vg2  twi-a-tz-- 445.00g               0.25
  1031    vg3  Vwi-aotz--  20.00g tp3          56.23
  tp3     vg3  twi-a-tz-- 445.00g               2.53
  tp4     vg4  twi-a-tz-- 445.00g               0.00
  111     vg5  Vwi-aotz--  20.00g tp5           5.63
  111_23  vg5  Vwi---tz-k  20.00g tp5  111
  111_71  vg5  Vwi---tz-k  20.00g tp5  111
  13      vg5  Vwi-aotz--  30.00g tp5           4.70
  17      vg5  Vwi-aotz--  20.00g tp5          25.58
  29      vg5  Vwi-a-tz--  20.00g tp5           0.00
  31      vg5  Vwi-a-tz--  20.00g tp5           0.00
  33      vg5  Vwi-a-tz--  20.00g tp5           0.00
  35      vg5  Vwi-a-tz--  20.00g tp5           0.00
  75      vg5  Vwi-aotz--  20.00g tp5          25.58
  tp5     vg5  twi-a-tz-- 445.00g               2.92

lvm - 2.02.106
kernel 3.10

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-10-09 14:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 13:26 [linux-lvm] thin pool and discards Vasiliy Tolstov
2014-09-30 14:35 ` Zdenek Kabelac
2014-09-30 14:57   ` Vasiliy Tolstov
2014-09-30 15:49     ` Mike Snitzer
2014-09-30 15:57       ` Vasiliy Tolstov
2014-10-08 22:44       ` Vasiliy Tolstov
2014-10-09 13:19         ` Vasiliy Tolstov
2014-10-09 14:19           ` Zdenek Kabelac
2014-10-09 14:21             ` Vasiliy Tolstov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).