LVM-activate: add new RA for LVM activation
You can see the motivation and basic design idea of
this RA from the header of LVM-activate. And, learn
the input parameters in "meta_data" func to use this
RA.
Changes since v1:
- Comments typo fixes and enhancements.
- Putting cur_systemid into extra_system_ids should work for
all sources of systemID.
- Only stop lockspace of the shared VG when the final LV has
been deactivated.
- Use 'dmsetup info -c -S "vgname=${VG} && lvname=${LV}"' to
check the LV status.
Changes since v2:
- Check the status of all LVs in given VG.
- Keep the existing tagging method in LVM-activate, but refer to it as
"tagging", dropping references to "host tags".
- Use "/bin/sh".
- Remove lvs in lvm_status(), though we have to make compromise that
the VG is assumably active if any LV of the VG is active.
Signed-off-by: Eric Ren <zren@suse.com>