1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/lib/metadata
David Teigland dd6a202831 lvchange: deactivate is always possible in foreign vgs
The only realistic way for a host to have active LVs in a
foreign VG is if the host's system_id (or system_id_source)
is changed while LVs are active.

In this case, the active LVs produce an warning, and access
to the VG is implicitly allowed (without requiring --foreign.)
This allows the active LVs to be deactivated.

In this case, rescanning PVs for the VG offers no benefit.
It is not possible that rescanning would reveal an LV that
is active but wasn't previously in the VG metadata.
2015-02-25 14:58:49 -06:00
..
cache_manip.c cache: Fix a segfault when passing --cachepolicy without --cachesettings. 2015-02-24 11:39:35 +01:00
lv_alloc.h thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
lv_manip.c cmirror: Adjust region size to work around CPG msg limit to avoid hang. 2015-02-25 14:42:15 -06:00
lv.c lvm2app: fix lvm_lv_get_attr regression causing unknown values 2015-01-30 09:53:34 +01:00
lv.h cleanup: for commit 7bcb3fb02d 2015-01-21 11:29:12 +01:00
merge.c cleanup: add lv_is_error_when_full() macro 2015-01-20 14:52:06 +01:00
metadata-exported.h cmirror: Adjust region size to work around CPG msg limit to avoid hang. 2015-02-25 14:42:15 -06:00
metadata.c lvchange: deactivate is always possible in foreign vgs 2015-02-25 14:58:49 -06:00
metadata.h cleanup: indent tabs 2015-01-30 12:33:52 +01:00
mirror.c cmirror: Adjust region size to work around CPG msg limit to avoid hang. 2015-02-25 14:42:15 -06:00
pool_manip.c pool: fix typo in error message: then -> than 2014-12-04 09:18:16 +01:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c pvremove: Avoid metadata re-reads & related error messages. 2015-01-06 14:27:30 +01:00
pv_map.c raid_manip: v2 fix multi-segment misallocation on 'lvconvert --repair' 2015-01-16 13:44:16 +01:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c raid: check lock holding LV 2015-01-30 14:16:27 +01:00
replicator_manip.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h thin: errrorwhenfull support 2015-01-14 14:52:05 +01:00
snapshot_manip.c cleanup: fix typo and use vg mempool 2014-09-24 10:54:47 +02:00
thin_manip.c thin: add missing 64KB rounding 2014-11-26 09:29:25 +01:00
vg.c lvm1: Reenable sys ID. 2015-02-23 23:03:52 +00:00
vg.h lvm1: Reenable sys ID. 2015-02-23 23:03:52 +00:00