Fix the way HA-LVM checks for which variant (tagging/CLVM) is being used.
When 'clvmd' is not running, the 'vgs' command used to check whether a
volume group is clustered or not will not report any results. To make
it work in every case, we must bypass 'clvmd' with the '--config' option.
This fix allows us to do better error checking of the user's configuration...
- Did they create the VG?
- Did they misspell the VG name?
- Are they using the "Tagging" or "CLVM" variant?
- Is 'clvmd' running?
... and give better error messages as a result.
Patch by Jon Brassow: jbrassow@redhat.com