master - thin: initial --repair support for pools
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=de0cba0e2d588a327867f17015cecba516364591 Commit: de0cba0e2d588a327867f17015cecba516364591 Parent: 22fc80982aa08ef8a907fc858a29a30c2d9293a7 Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Jul 24 15:25:34 2013 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Jul 31 15:32:36 2013 +0200
thin: initial --repair support for pools
Initial basic support for repair.
It currently takes pool metadata spare volume, which is used for recovery. New spare is created if the volume is successfuly repaired.
After the operation the previous _tmeta volume is moved into _tmeta%d volume and if everything is ok, this volume could be removed.
New _tmeta needs to be pvmoved to proper place and also converted to i.e. mirror if it should be mirrored.
Later version will try to automate some steps here.
--- WHATS_NEW | 1 + tools/lvconvert.c | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 197 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.100 - ================================ + Add initial support thin pool lvconvert --repair. Add --with-thin-repair and --with-thin-dump configure options. Add lvm.conf thin_repair/dump_executable and thin_repair_options. Require 1.9 thin pool target version for online thin pool metadata resize.
tools/lvconvert.c +196 -0
208 lines not on this page · raw message