HomeClusterLabs Projects

Fix the way HA-LVM checks for which variant (tagging/CLVM) is being used.

Description

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...

  1. Did they create the VG?
  2. Did they misspell the VG name?
  3. Are they using the "Tagging" or "CLVM" variant?
  4. Is 'clvmd' running?

... and give better error messages as a result.

Patch by Jon Brassow: jbrassow@redhat.com

Details

Provenance
feistAuthored on Mar 5 2012, 5:05 PM
Parents
rRe5ffcdd105db: Add support for using tunnelled migrations with qemu
Branches
Unknown
Tags
Unknown

Event Timeline