1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/man
Jonathan Brassow be75076dfc activation: Add "degraded" activation mode
Currently, we have two modes of activation, an unnamed nominal mode
(which I will refer to as "complete") and "partial" mode.  The
"complete" mode requires that a volume group be 'complete' - that
is, no missing PVs.  If there are any missing PVs, no affected LVs
are allowed to activate - even RAID LVs which might be able to
tolerate a failure.  The "partial" mode allows anything to be
activated (or at least attempted).  If a non-redundant LV is
missing a portion of its addressable space due to a device failure,
it will be replaced with an error target.  RAID LVs will either
activate or fail to activate depending on how badly their
redundancy is compromised.

This patch adds a third option, "degraded" mode.  This mode can
be selected via the '--activationmode {complete|degraded|partial}'
option to lvchange/vgchange.  It can also be set in lvm.conf.
The "degraded" activation mode allows RAID LVs with a sufficient
level of redundancy to activate (e.g. a RAID5 LV with one device
failure, a RAID6 with two device failures, or RAID1 with n-1
failures).  RAID LVs with too many device failures are not allowed
to activate - nor are any non-redundant LVs that may have been
affected.  This patch also makes the "degraded" mode the default
activation mode.

The degraded activation mode does not yet work in a cluster.  A
new cluster lock flag (LCK_DEGRADED_MODE) will need to be created
to make that work.  Currently, there is limited space for this
extra flag and I am looking for possible solutions.  One possible
solution is to usurp LCK_CONVERT, as it is not used.  When the
locking_type is 3, the degraded mode flag simply gets dropped and
the old ("complete") behavior is exhibited.
2014-07-09 22:56:11 -05:00
..
blkdeactivate.8.in man: more compliant 2014-06-11 11:10:55 +02:00
clvmd.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
cmirrord.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
dmeventd.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
dmsetup.8.in man: More /dev/vg and /dev/mapper documentation. 2014-06-23 14:01:31 +01:00
fsadm.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvchange.8.in activation: Add "degraded" activation mode 2014-07-09 22:56:11 -05:00
lvconvert.8.in thin: repaired LV uses _meta%d 2014-06-30 12:15:13 +02:00
lvcreate.8.in snapshot: %ORIGIN is relative to data size 2014-06-17 13:41:01 +02:00
lvdisplay.8.in tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
lvextend.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvm2-activation-generator.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvm-dumpconfig.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvm.8.in man: More /dev/vg and /dev/mapper documentation. 2014-06-23 14:01:31 +01:00
lvm.conf.5.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmcache.7.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmchange.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmconf.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmdiskscan.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmdump.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmetad.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmsadc.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmsar.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvmthin.7.in man: lvmthin 2014-06-18 14:30:57 -05:00
lvreduce.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvremove.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvrename.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvresize.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
lvs.8.in tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
lvscan.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
Makefile.in man: document DM_DEFAULT_NAME_MANGLING_MODE 2014-06-05 17:47:21 +02:00
pvchange.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
pvck.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
pvcreate.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
pvdisplay.8.in tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
pvmove.8.in pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvremove.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
pvresize.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
pvs.8.in tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
pvscan.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgcfgbackup.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgcfgrestore.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgchange.8.in activation: Add "degraded" activation mode 2014-07-09 22:56:11 -05:00
vgck.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgconvert.8.in man: more man page updates for --commandprofile and --metadataprofile split 2014-05-21 14:53:56 +02:00
vgcreate.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgdisplay.8.in tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
vgexport.8.in man: more man page updates for --commandprofile and --metadataprofile split 2014-05-21 14:53:56 +02:00
vgextend.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgimport.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgimportclone.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgmerge.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgmknodes.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgreduce.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgremove.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgrename.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgs.8.in tools: add --binary arg to pvs,vgs,lvs and {pv,vg,lv}display -C and report/binary_values_as_numeric lvm.conf option 2014-07-04 15:40:17 +02:00
vgscan.8.in man: properly escape - 2014-06-11 11:10:55 +02:00
vgsplit.8.in man: properly escape - 2014-06-11 11:10:55 +02:00