From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [10.36.5.152] (vpn1-5-152.ams2.redhat.com [10.36.5.152]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8UEZmsD001045 for ; Tue, 30 Sep 2014 10:35:49 -0400 Message-ID: <542ABFC3.4000909@redhat.com> Date: Tue, 30 Sep 2014 16:35:47 +0200 From: Zdenek Kabelac MIME-Version: 1.0 References: In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] thin pool and discards Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development Dne 30.9.2014 v 15:26 Vasiliy Tolstov napsal(a): > 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 > Kernel 3.10 is too old, Please repeat the test with at least 3.16 Zdenek