mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
conf: add allocation/wipe_signatures_on_new_logical_volumes_when_zeroing
This setting controls whether signature wiping on newly created logical volumes will follow the state of zeroing (-Z/--zero option).
This commit is contained in:
parent
03c941a4ca
commit
5b7e543cae
@ -1,5 +1,6 @@
|
||||
Version 2.02.105 -
|
||||
=====================================
|
||||
Add allocation/wipe_signatures_on_new_logical_volumes_when_zeroing to lvm.conf.
|
||||
Do not fail the whole autoactivation if the VG refresh done before fails.
|
||||
Do not connect to lvmetad on vg/lvchange --sysinit -aay and socket absent.
|
||||
Use lv_check_not_in_use() when testing device in use before merging.
|
||||
|
@ -9,6 +9,7 @@
|
||||
# Refer to 'man lvm.conf' for further information about profiles and file layout.
|
||||
|
||||
allocation {
|
||||
wipe_signatures_on_new_logical_volumes_when_zeroing = 1
|
||||
thin_pool_chunk_size_policy = "generic"
|
||||
thin_pool_chunk_size = 64
|
||||
thin_pool_discards = "passdown"
|
||||
|
@ -272,6 +272,15 @@ allocation {
|
||||
# algorithm.
|
||||
maximise_cling = 1
|
||||
|
||||
# Whether do wipe any signatures found on newly created Logical Volumes
|
||||
# automatically in addition to zeroing of the first KB on the LV
|
||||
# (-Z/--zero y option) when running the LVM command without specifying
|
||||
# the -W/--wipesignatures option. If -W/--wipesignatures command line
|
||||
# option is specified, it always takes precedence over this setting.
|
||||
# Default is to wipe signatures when zeroing.
|
||||
#
|
||||
wipe_signatures_on_new_logical_volumes_when_zeroing = 1
|
||||
|
||||
# Set to 1 to guarantee that mirror logs will always be placed on
|
||||
# different PVs from the mirror images. This was the default
|
||||
# until version 2.02.85.
|
||||
|
@ -104,6 +104,7 @@ cfg(devices_issue_discards_CFG, "issue_discards", devices_CFG_SECTION, 0, CFG_TY
|
||||
|
||||
cfg_array(allocation_cling_tag_list_CFG, "cling_tag_list", allocation_CFG_SECTION, 0, CFG_TYPE_STRING, NULL, vsn(2, 2, 77), NULL)
|
||||
cfg(allocation_maximise_cling_CFG, "maximise_cling", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_MAXIMISE_CLING, vsn(2, 2, 85), NULL)
|
||||
cfg(allocation_wipe_signatures_on_new_logical_volumes_when_zeroing_CFG, "wipe_signatures_on_new_logical_volumes_when_zeroing", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, 1, vsn(2, 2, 105), NULL)
|
||||
cfg(allocation_mirror_logs_require_separate_pvs_CFG, "mirror_logs_require_separate_pvs", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_MIRROR_LOGS_REQUIRE_SEPARATE_PVS, vsn(2, 2, 85), NULL)
|
||||
cfg(allocation_thin_pool_metadata_require_separate_pvs_CFG, "thin_pool_metadata_require_separate_pvs", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_THIN_POOL_METADATA_REQUIRE_SEPARATE_PVS, vsn(2, 2, 89), NULL)
|
||||
cfg(allocation_thin_pool_zero_CFG, "thin_pool_zero", allocation_CFG_SECTION, CFG_PROFILABLE, CFG_TYPE_BOOL, DEFAULT_THIN_POOL_ZERO, vsn(2, 2, 99), NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user