58 |
- |
1 |
# This is a local configuration file template for the LVM2 system
|
|
|
2 |
# which should be installed as /etc/lvm/lvmlocal.conf .
|
|
|
3 |
#
|
|
|
4 |
# Refer to 'man lvm.conf' for information about the file layout.
|
|
|
5 |
#
|
|
|
6 |
# To put this file in a different directory and override
|
|
|
7 |
# /etc/lvm set the environment variable LVM_SYSTEM_DIR before
|
|
|
8 |
# running the tools.
|
|
|
9 |
#
|
|
|
10 |
# The lvmlocal.conf file is normally expected to contain only the
|
|
|
11 |
# "local" section which contains settings that should not be shared or
|
|
|
12 |
# repeated among different hosts. (But if other sections are present,
|
|
|
13 |
# they *will* get processed. Settings in this file override equivalent
|
|
|
14 |
# ones in lvm.conf and are in turn overridden by ones in any enabled
|
|
|
15 |
# lvm_<tag>.conf files.)
|
|
|
16 |
#
|
|
|
17 |
# Please take care that each setting only appears once if uncommenting
|
|
|
18 |
# example settings in this file and never copy this file between hosts.
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
# Configuration section local.
|
|
|
22 |
# LVM settings that are specific to the local host.
|
|
|
23 |
local {
|
|
|
24 |
|
|
|
25 |
# Configuration option local/system_id.
|
|
|
26 |
# Defines the local system ID for lvmlocal mode.
|
|
|
27 |
# This is used when global/system_id_source is set to 'lvmlocal' in the
|
|
|
28 |
# main configuration file, e.g. lvm.conf. When used, it must be set to
|
|
|
29 |
# a unique value among all hosts sharing access to the storage,
|
|
|
30 |
# e.g. a host name.
|
|
|
31 |
#
|
|
|
32 |
# Example
|
|
|
33 |
# Set no system ID:
|
|
|
34 |
# system_id = ""
|
|
|
35 |
# Set the system_id to a specific name:
|
|
|
36 |
# system_id = "host1"
|
|
|
37 |
#
|
|
|
38 |
# This configuration option has an automatic default value.
|
|
|
39 |
# system_id = ""
|
|
|
40 |
|
|
|
41 |
# Configuration option local/extra_system_ids.
|
|
|
42 |
# A list of extra VG system IDs the local host can access.
|
|
|
43 |
# VGs with the system IDs listed here (in addition to the host's own
|
|
|
44 |
# system ID) can be fully accessed by the local host. (These are
|
|
|
45 |
# system IDs that the host sees in VGs, not system IDs that identify
|
|
|
46 |
# the local host, which is determined by system_id_source.)
|
|
|
47 |
# Use this only after consulting 'man lvmsystemid' to be certain of
|
|
|
48 |
# correct usage and possible dangers.
|
|
|
49 |
# This configuration option does not have a default value defined.
|
|
|
50 |
|
|
|
51 |
# Configuration option local/host_id.
|
|
|
52 |
# The lvmlockd sanlock host_id.
|
|
|
53 |
# This must be unique among all hosts, and must be between 1 and 2000.
|
|
|
54 |
# Applicable only if LVM is compiled with lockd support
|
|
|
55 |
# This configuration option has an automatic default value.
|
|
|
56 |
# host_id = 0
|
|
|
57 |
}
|