~registry/lvm2/master

Viewing all changes in revision 6890.

  • Committer: Peter Rajnoha
  • Date: 2012-07-10 12:01:33 UTC
  • Revision ID: git-v1:cd8ea8b437de53f0019bd69d542a7d01f3d5b7d3
activate: skip manual activation for --sysinit -aay

When --sysinit -a ay is used with vg/lvchange and lvmetad is up and running,
we should skip manual activation as that would be a useless step - all volumes
are autoactivated once all the PVs for a VG are present.

If lvmetad is not active at the time of the vgchange --sysinit -a ay
call, the activation proceeds in standard 'manual' way.

This way, we can still have vg/lvchange --sysinit -a ay called
unconditionally in system initialization scripts no matter if lvmetad
is used or not.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: