]> sourceware.org Git - lvm2.git/commit
systemid: Extend --foreign to reporting commands.
authorAlasdair G Kergon <agk@redhat.com>
Mon, 23 Feb 2015 23:41:38 +0000 (23:41 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 23 Feb 2015 23:41:38 +0000 (23:41 +0000)
commit5793ecd16541961ebb91239395dc82504ad31906
treeb3e7f4ee56c7042b1480cebc2f59ec26b3a1e88d
parentb18feb98e50093d66f03ff63120b6a0f14d7fddd
systemid: Extend --foreign to reporting commands.

Add --foreign to the remaining reporting and display commands plus
vgcfgbackup.
Add a NEEDS_FOREIGN_VGS flag for vgimport to always set --foreign.
If lvmetad is being used with --foreign, scan foreign VGs (currently
implemented as a full PV scan).
Handle these things centrally in lvmcmdline.c.
Also allow lvchange and vgchange -an/-aln to deactivate any foreign
LVs that happen to be active if something went wrong.
Remember to set the system ID when creating a new VG in vgsplit.
WHATS_NEW
tools/commands.h
tools/lvchange.c
tools/lvmcmdline.c
tools/reporter.c
tools/tools.h
tools/vgcreate.c
tools/vgimport.c
tools/vgsplit.c
This page took 0.037065 seconds and 5 git commands to generate.