1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
Zdenek Kabelac 5bb6266046 lvconvert: support cache to external origin conversion
Add this functionality to lvconvert:

'lvconvert --thin cachedLV --thinpool vg/poll'

Converts cachedLV to external origin (which will be read-only).
New thin volume is created in thinpool LV and it's using external
origin as source for unprovisioned chunks.
This conversion happens  online (while volume is in use).
Thin LV remains fully writable.
Cached external origin no longer could be written so cache will be used
ONLY for read operations. For this limitation we require cache mode
to be writethrough (as writeback cannot write to read-only volumes).

When  thinLV is later removed  cached external origin is again
fully usable, just note, LV remain in 'read-only' mode.
When read-write is needed,  'lvchange -prw' has to be used.

Single external origin could be user by multiple thinLV in
multiple differen thin pool.
2016-12-18 19:35:27 +01:00
..
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-05-27 15:47:24 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-05-25 15:05:49 -05:00
2016-06-22 13:13:10 -05:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-06-28 02:30:31 +01:00
2016-06-28 02:30:31 +01:00
2016-12-11 23:24:19 +01:00
2016-01-21 12:11:37 +01:00
2016-11-25 14:58:28 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-12-13 22:07:52 +01:00
2016-06-20 11:33:42 +02:00
2016-06-28 02:30:31 +01:00
2016-12-13 22:07:52 +01:00
2016-12-13 22:07:52 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-06-28 02:30:31 +01:00
2016-06-28 02:30:31 +01:00
2016-12-13 22:07:52 +01:00