From 864d67b0a7129de531fe71936c883608ca4df040 Mon Sep 17 00:00:00 2001 From: Digimer Date: Sat, 30 Jan 2021 18:25:24 -0500 Subject: [PATCH] * Finished fixing automatic building of Storage Groups on systems where VGs are deleted. Signed-off-by: Digimer --- Anvil/Tools/Cluster.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Anvil/Tools/Cluster.pm b/Anvil/Tools/Cluster.pm index 6f2f7ccc..dc97b877 100644 --- a/Anvil/Tools/Cluster.pm +++ b/Anvil/Tools/Cluster.pm @@ -341,7 +341,9 @@ SELECT FROM scan_lvm_vgs WHERE - scan_lvm_vg_host_uuid = ".$anvil->Database->quote($host_uuid)." + scan_lvm_vg_host_uuid = ".$anvil->Database->quote($host_uuid)." +AND + scan_lvm_vg_name != 'DELETED' ORDER BY scan_lvm_vg_size ASC ;";