Commit 6b613f2f authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'vg-exception-handling' into 'master'

Handle that one vg exception

See merge request !44
parents 8f8fb0de b0584943
Pipeline #6637 passed with stages
in 42 seconds
......@@ -104,7 +104,13 @@ for lv in ast.literal_eval(config.get(PERIOD, "backup_lvs")):
bind_mount_args = []
lvm_snapshot_args = []
if os.path.exists("/dev/lvm-raid/" + lv):
VG = "lvm-raid"
elif os.path.exists("/dev/lvm-cache/" + lv):
VG = "lvm-cache"
else:
continue
if "," in lv:
lv, bind_mount = lv.split(",")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment