Browse Source
Change the command listing LVs from lvscan to lvs, and list only the LV names that are being activated. Before attempting to activate an LV, check that that LV name appears in the lvs command output. This avoids wasting time running an lvchange command that we know will fail.master


1 changed files with 14 additions and 4 deletions
Loading…
Reference in new issue