]> sourceware.org Git - lvm2.git/commit
lvconvert: support conversion to thin volume
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 4 Jul 2023 19:34:47 +0000 (21:34 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 10 Jul 2023 15:13:32 +0000 (17:13 +0200)
commit39457234db1d92f89d4234e2f2f5b703206281ae
tree239d0b1e5f5d62a17d987dc04a312cae95a99c92
parentf35fa8c1789da0398345ccae25d79b8fe045e08c
lvconvert: support conversion to thin volume

Update pool conversion function to handle also conversion of
thick LV to thin LV by moving thick LV into thin pool data LV
and creating fully provissioned thin LV on top of this volume.

Reworking existing conversion to use insert_layer_for_lv co
the uuid is now kept with thin-pool - this should however not
really matter as we are doing full deactivation & activation cycle.

With conversion to thin LV user can use same set of arguments
to set chunk-size.

TODO: add some smart code to decide best values for chunks sizes.
lib/metadata/lv_manip.c
lib/metadata/metadata-exported.h
lib/metadata/thin_manip.c
tools/command-lines.in
tools/lvconvert.c
tools/lvmcmdline.c
tools/tools.h
This page took 0.033788 seconds and 5 git commands to generate.