From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <51EC3936.2020607@redhat.com> Date: Sun, 21 Jul 2013 21:40:38 +0200 From: Zdenek Kabelac MIME-Version: 1.0 References: <51E51D8E.2000801@redhat.com> <51EBBC47.4040508@redhat.com> In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] thin 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: Raymond Jennings Cc: LVM general discussion and development Dne 21.7.2013 13:01, Raymond Jennings napsal(a): > Do snapshots behave the same way as thin volumes wrt discards? > > > On Sun, Jul 21, 2013 at 3:47 AM, Zdenek Kabelac > wrote: > > Dne 21.7.2013 09:10, Raymond Jennings napsal(a): > > So can thin volumes support discards independently of the device > underneath them? > > I expected fstrim to free space in the thin pool. > > > Yes - you are expecting it correctly. > > Ignore is mostly usable in case you do not want to free already > provisioned space - which might be in certain cases better for performance. > > But you need to use recent enough kernels and lvm2 tools - since discards > support required kernel updates. > > > Kernel: 3.10.1-gento > LVM2: 2.02.97 > > Are these versions recent enough? Nope - 2.02.98 has fixes for discards - it's been just introduced in 2.02.97 and had some problems - possible those you can observe. Zdenek