diff --git a/os_brick/local_dev/lvm.py b/os_brick/local_dev/lvm.py index 9cf81e1..53c68e5 100644 --- a/os_brick/local_dev/lvm.py +++ b/os_brick/local_dev/lvm.py @@ -681,7 +681,8 @@ class LVM(executor.Executor): # and fails. cmd = ['lvchange', '-a', 'y', '--yes'] - if self.supports_lvchange_ignoreskipactivation: + if (self.supports_lvchange_ignoreskipactivation and + self.vg_thin_pool is None): cmd.append('-K') # If permanent=True is specified, drop the skipactivation flag in # order to make this LV automatically activated after next reboot.