2015-02-24 01:19:08 +03:00
# This is a local configuration file template for the LVM2 system
# which should be installed as @DEFAULT_SYS_DIR@/lvmlocal.conf .
2014-10-24 21:29:04 +04:00
#
2015-02-24 01:19:08 +03:00
# This file allows you to assign a unique identity to a host running
# LVM2 that is permitted to access storage devices visible to more than
# one machine simultaneously.
2014-10-24 21:29:04 +04:00
#
2015-02-24 01:19:08 +03:00
# You must ensure that every such host uses a different system_id
# identifier, otherwise LVM2 cannot protect you from simultaneous
# access from multiple hosts and possible data corruption.
2014-10-24 21:29:04 +04:00
#
2015-02-24 01:19:08 +03:00
# Refer to 'man lvmsystemid' for information about the correct ways
# to use this and its limitations.
2014-10-24 21:29:04 +04:00
#
2015-02-24 01:19:08 +03:00
# Refer to 'man lvm.conf' for information about the file layout.
2014-10-24 21:29:04 +04:00
#
2015-02-24 01:19:08 +03:00
# To put this file in a different directory and override
# @DEFAULT_SYS_DIR@ set the environment variable LVM_SYSTEM_DIR before
# running the tools.
#
# The lvmlocal.conf file is normally expected to contain only the
# "local" section which contains settings that should not be shared or
# repeated among different hosts. (But if other sections are present,
# they *will* get processed. Settings in this file override equivalent
# ones in lvm.conf and are in turn overridden by ones in any enabled
# lvm_<tag>.conf files.)
#
# Please take care that each setting only appears once if uncommenting
# example settings in this file and never copy this file between
# hosts to avoid accidentally assigning the same system ID to
# more than one host!
2014-10-24 21:29:04 +04:00
local {
2015-02-24 01:19:08 +03:00
# This defines the system ID of the local host. This is used
# when global/system_id_source is set to "lvmlocal" in the main
# configuration file, conventionally @DEFAULT_SYS_DIR@/lvm.conf.
# When used, it must be set to a unique value - often a hostname -
# across all the hosts sharing access to the storage.
2014-10-24 21:29:04 +04:00
#
2015-02-24 01:19:08 +03:00
# By default, no system_id is set.
2014-10-24 21:29:04 +04:00
# system_id = ""
2015-02-24 01:19:08 +03:00
#
# Set the system_id to the string "host1".
# system_id = "host1"
2014-10-24 21:29:04 +04:00
2015-02-24 01:19:08 +03:00
# This defines a list of extra system_ids other than the local
# system_id that the local host is allowed to access. These are
# used for all values of global/system_id_source except "none".
2014-10-24 21:29:04 +04:00
#
2015-02-24 01:19:08 +03:00
# Only use this if you have read 'man lvmsystemid' and you are sure
# you understand why you need to use it!
#
# extra_system_ids = []
2014-10-24 21:29:04 +04:00
}