diff --git a/library/ceph_volume.py b/library/ceph_volume.py index e3e29e6ab..8ba686216 100644 --- a/library/ceph_volume.py +++ b/library/ceph_volume.py @@ -656,6 +656,8 @@ def run_module(): if any(skip) or module.params.get('osd_fsid', None): rc, cmd, out, err = exec_command( module, cmd) + for scan_cmd in ['vgscan', 'lvscan']: + module.run_command([scan_cmd, '--cache']) else: out = 'Skipped, nothing to zap' err = ''