[dm-devel] [PATCH] dm-thinp: new device mapper target to thin provision storage

Heinz Mauelshagen heinzm at redhat.com
Wed Sep 29 15:20:58 UTC 2010


On Wed, 2010-09-29 at 09:41 -0400, Phillip Susi wrote:
> On 9/29/2010 7:25 AM, Heinz Mauelshagen wrote:
> > On Tue, 2010-09-28 at 17:44 -0400, Phillip Susi wrote:
> >> How is this different than snapshotting a zero target?
> > 
> > Like Hanness mentioned: you can free space.
> 
> Could you clarify that a bit?  Is space only freed if you reduce the
> length of a device?  You can't do the same with a snapshot?

Not just when you shrink a device, you can release all allocations to an
inactive thin provisioned device as well.

With snapshots the exception store is dropped when you delete the
snapshot as well.

But you can't drop allocated space of a partial exception store because
the exception size is much smaller than the allocation units lvm2 goes
by (ie. extents sized 128MB). Thus dropping exceptions related to a now
past EOD segment within the origin just gives you stale exceptions in
the table w/o the option to reduce allocated space.

> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel





More information about the dm-devel mailing list