From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] thin pool and discards
Date: Tue, 30 Sep 2014 16:35:47 +0200 [thread overview]
Message-ID: <542ABFC3.4000909@redhat.com> (raw)
In-Reply-To: <CACaajQu+i6wu1z86wzWa-x=HN_wWy6ByZBnLHzPy7E5Etpj6jw@mail.gmail.com>
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
next prev parent reply other threads:[~2014-09-30 14:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-30 13:26 [linux-lvm] thin pool and discards Vasiliy Tolstov
2014-09-30 14:35 ` Zdenek Kabelac [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=542ABFC3.4000909@redhat.com \
--to=zkabelac@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).