Skip to contentSkip to conversation

master - thin: detect unusable thins

PATCH Zdenek Kabelac 1 participant 1 message Sep 3, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a01eb9c451b136ccb12f3baf6b487604a4f209dc
Commit:        a01eb9c451b136ccb12f3baf6b487604a4f209dc
Parent:        81a9da8f6190b567bb26f28ff02be0e6b10cad9a
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Sep 2 16:13:31 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Sep 3 23:34:36 2015 +0200

thin: detect unusable thins

Try to detect thin-pool which my block lvm2 command from furher processing (i.e. lvextend).

Check if pool is read-only or out-of-space and in this case thins will skipped from being scanned (so user may miss some PVs located on thin volumes).

---
 WHATS_NEW                  |    1 +
 lib/activate/dev_manager.c |   74 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
index a7c7267..cb9e1f1 100644
@@ -1,5 +1,6 @@
 Version 2.02.130 - 
 ===================================
+  Detect blocked thin-pool and avoid scanning their thin volumes.
   Check if dm device is usable before checking its size (2.02.116).
   Extend parsing of cache_check version in configure.
   Make lvpoll error messages visible in lvmpolld's stderr and in syslog.
lib/activate/dev_manager.c +74 -0

86 lines not on this page · raw message