5 # Create snapshot of a mirror origin
6 lvcreate
-m 1 -L 10M
-n lv
$vg
7 lvcreate
-s $vg/lv
-L 10M
-n snap
9 # Down-convert (mirror -> linear) under a snapshot
12 # Up-convert (linear -> mirror)
15 # Down-convert (mirror -> mirror)
18 # Up-convert (mirror -> mirror) -- Not supported!
19 not lvconvert
-m2 $vg/lv
21 # Log conversion (disk -> core)
22 lvconvert
--mirrorlog core
$vg/lv
24 # Log conversion (core -> redundant) -- Not available yet!
25 not lvconvert
--mirrorlog redundant
$vg/lv
27 # Log conversion (redundant -> core) -- Not available yet!
28 # Note: Uncomment this command when the above works
29 # not lvconvert --mirrorlog core $vg/lv
31 # Log conversion (core -> disk)
32 lvconvert
--mirrorlog disk
$vg/lv