linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] resize of thin pool
@ 2014-03-27  5:26 Michael Ryan
  2014-03-27  8:55 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Ryan @ 2014-03-27  5:26 UTC (permalink / raw)
  To: linux-lvm@redhat.com

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

Hi all.  Couple quick questions.


1.       It is possible to resize (grow and shrink) the size of an active thin pool?


2.       What limitations exist on a thin volume with an external origin?  I understand the origin volume is effectively read-only, but can the thin volume be written to?  How about a snapshot of the thin volume with the external origin?


Thanks much.
- Michael

[-- Attachment #2: Type: text/html, Size: 3344 bytes --]

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

* Re: [linux-lvm] resize of thin pool
  2014-03-27  5:26 [linux-lvm] resize of thin pool Michael Ryan
@ 2014-03-27  8:55 ` Zdenek Kabelac
  0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2014-03-27  8:55 UTC (permalink / raw)
  To: LVM general discussion and development, mryan

Dne 27.3.2014 06:26, Michael Ryan napsal(a):
> Hi all.  Couple quick questions.
>
> 1.It is possible to resize (grow and shrink) the size of an active thin pool?

Only extension of thin pool is supported  (offline/online).
You cannot shrink the thin pool size.

(Theoretically you could relatively easily defragment chunks offline and 
update mapping, but this is not yet supported...)


> 2.What limitations exist on a thin volume with an external origin?  I
> understand the origin volume is effectively read-only, but can the thin volume
> be written to?  How about a snapshot of the thin volume with the external origin?
>

External origin has to be activated as a read-only volume.

The same external origin can be shared by many thin volumes even from 
different pool volumes. Of course you could then snapshot such thin volume as 
any other thin volume (i.e. chaining snapshot of snapshot of snapshot).
External origin can be still used as read-only normal LV and also it may be 
used as the origin for old-style traditional snapshot at the same time.

Current limitation is - you can't merge changes from your thin volume back
to your external origin (it's planed to add this feature in the future...)
Then there are some enforced limitation of the size alignments.

Zdenek

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

end of thread, other threads:[~2014-03-27  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27  5:26 [linux-lvm] resize of thin pool Michael Ryan
2014-03-27  8:55 ` Zdenek Kabelac

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).