# This configuration option has an automatic default value.
# fsadm_executable = "@FSADM_PATH@"
+ # Configuration option global/lvresize_fs_helper_executable.
+ # The full path to the lvresize_fs_helper command.
+ # LVM uses this command to help with filesystem operations during lvresize.
+ # This configuration option has an automatic default value.
+ # lvresize_fs_helper_executable = "@LVRESIZE_FS_HELPER_PATH@"
+
# Configuration option global/system_id_source.
# The method LVM uses to set the local system ID.
# Volume Groups can also be given a system ID (by vgcreate, vgchange,
# This configuration option has an automatic default value.
# system_id = ""
+ # Configuration option local/pr_key.
+ # The local persistent reservation key in hexidecimal.
+ # The value must be unique among all hosts using the same VG.
+ # The max length is 16 hex characters (8 bytes), plus an optional
+ # 0x prefix. If pr_key is not set, host_id will be used to create a key.
+ # This configuration option has an automatic default value.
+ # pr_key = ""
+
# Configuration option local/extra_system_ids.
# A list of extra VG system IDs the local host can access.
# VGs with the system IDs listed here (in addition to the host's own
# The sanlock host_id used by lvmlockd. This must be unique among all the hosts
# using shared VGs with sanlock. Accepted values are 1-2000, except when sanlock_align_size
# is configured to 1, 2 or 4, which correspond to max host_id values of 250, 500, or 1000.
- # Applicable only if LVM is compiled with support for lvmlockd+sanlock.
+ # When using persistent reservations, lvm will generate a PR key from the host_id
+ # if pr_key is not defined. All hosts using a sanlock shared VG with PR must use
+ # the same approach for configuring their PR key (pr_key or host_id.)
# This configuration option has an automatic default value.
# host_id = 0
}
Specifies when writes to a cache LV should be considered complete.
\fBwriteback\fP considers a write complete as soon as it is
stored in the cache pool.
-\fBwritethough\fP considers a write complete only when it has
+\fBwritethrough\fP considers a write complete only when it has
been stored in both the cache pool and on the origin LV.
While writethrough may be slower for writes, it is more
resilient if something should happen to a device associated with the
.
.TP
.O_compression
-Controls whether compression is enabled or disable for VDO volume.
+Controls whether compression is enabled or disabled for VDO volume.
See \fBlvmvdo\fP(7) for more information about VDO usage.
.
.TP
.
.TP
.O_deduplication
-Controls whether deduplication is enabled or disable for VDO volume.
+Controls whether deduplication is enabled or disabled for VDO volume.
See \fBlvmvdo\fP(7) for more information about VDO usage.
.
.TP
Specifies when writes to a cache LV should be considered complete.
\fBwriteback\fP considers a write complete as soon as it is
stored in the cache pool.
-\fBwritethough\fP considers a write complete only when it has
+\fBwritethrough\fP considers a write complete only when it has
been stored in both the cache pool and on the origin LV.
While writethrough may be slower for writes, it is more
resilient if something should happen to a device associated with the
.
.TP
.O_compression
-Controls whether compression is enabled or disable for VDO volume.
+Controls whether compression is enabled or disabled for VDO volume.
See \fBlvmvdo\fP(7) for more information about VDO usage.
.
.TP
.
.TP
.O_deduplication
-Controls whether deduplication is enabled or disable for VDO volume.
+Controls whether deduplication is enabled or disabled for VDO volume.
See \fBlvmvdo\fP(7) for more information about VDO usage.
.
.TP
.
.TP
.O_poolmetadata
-The name of a an LV to use for storing pool metadata.
+The name of an LV to use for storing pool metadata.
.
.TP
.O_poolmetadatasize
Specifies when writes to a cache LV should be considered complete.
\fBwriteback\fP considers a write complete as soon as it is
stored in the cache pool.
-\fBwritethough\fP considers a write complete only when it has
+\fBwritethrough\fP considers a write complete only when it has
been stored in both the cache pool and on the origin LV.
While writethrough may be slower for writes, it is more
resilient if something should happen to a device associated with the
.
.TP
.O_compression
-Controls whether compression is enabled or disable for VDO volume.
+Controls whether compression is enabled or disabled for VDO volume.
See \fBlvmvdo\fP(7) for more information about VDO usage.
.
.TP
.
.TP
.O_deduplication
-Controls whether deduplication is enabled or disable for VDO volume.
+Controls whether deduplication is enabled or disabled for VDO volume.
See \fBlvmvdo\fP(7) for more information about VDO usage.
.
.TP
sync of an empty mirror/raid1/raid4/raid5 and raid10 LV.
This option is not valid for raid6, because raid6 relies on proper parity
(P and Q Syndromes) being created during initial synchronization in order
-to reconstruct proper user date in case of device failures.
+to reconstruct proper user data in case of device failures.
raid0 and raid0_meta do not provide any data copies or parity support
and thus do not support initial synchronization.
.
sync of an empty mirror/raid1/raid4/raid5 and raid10 LV.
This option is not valid for raid6, because raid6 relies on proper parity
(P and Q Syndromes) being created during initial synchronization in order
-to reconstruct proper user date in case of device failures.
+to reconstruct proper user data in case of device failures.
raid0 and raid0_meta do not provide any data copies or parity support
and thus do not support initial synchronization.
.
sync of an empty mirror/raid1/raid4/raid5 and raid10 LV.
This option is not valid for raid6, because raid6 relies on proper parity
(P and Q Syndromes) being created during initial synchronization in order
-to reconstruct proper user date in case of device failures.
+to reconstruct proper user data in case of device failures.
raid0 and raid0_meta do not provide any data copies or parity support
and thus do not support initial synchronization.
.
.de O_partial
.OPS P partial
..
+.de O_persist
+.OPA persist
+\fIString\fP
+..
.de O_physicalextentsize
.OPA s physicalextentsize
\fISize\fP[m|\:UNIT]
.de O_refresh
.OPS refresh
..
+.de O_removekey
+.OPA removekey
+\fIString\fP
+..
.de O_reportformat
.OPA reportformat
\%\fBbasic\fP|\:\
.OPA setautoactivation
\fBy\fP|\fBn\fP
..
+.de O_setpersist
+.OPA setpersist
+\fIString\fP
+..
.de O_sysinit
.OPS sysinit
..
.br
.O_partial
.br
+.O_persist
+.br
.O_physicalextentsize
.br
.O_poll
.br
.O_refresh
.br
+.O_removekey
+.br
.O_reportformat
.br
.O_resizeable
.br
.O_setautoactivation
.br
+.O_setpersist
+.br
.O_sysinit
.br
.O_systemid
]
.br
[
+.O_persist
+]
+.br
+[
.O_ignoremonitoring
]
.br
.O_majoritypvs
]
.br
+[
+.O_persist
+]
+.br
+[
+.O_removekey
+]
+.br
+[ COMMON_OPTIONS ]
+.RE
+.
+.P
+\(em
+.P
+.
+Set or clear flags to control persistent reservation behavior.
+.P
+.B vgchange
+.O_setpersist
+\fIVG\fP|\fITag\fP|\fISelect\fP
+.RS
+[
+.O_select
+]
+.br
+[
+.O_persist
+]
+.br
+[ COMMON_OPTIONS ]
+.RE
+.
+.P
+\(em
+.P
+.
+Perform persistent reservation commands on devices.
+.P
+.B vgchange
+.O_persist
+\fIVG\fP|\fITag\fP|\fISelect\fP
+.RS
+[
+.O_select
+]
+.br
+[
+.O_force
+]
+.br
+[
+.O_removekey
+]
+.br
+[
+.O_majoritypvs
+]
+.br
[ COMMON_OPTIONS ]
.RE
.
.O_select
]
.br
+[
+.O_persist
+]
+.br
[ COMMON_OPTIONS ]
.br
[ \fIVG\fP|\fITag\fP|\fISelect\fP\ .\|.\|.\& ]
.O_select
]
.br
+[
+.O_persist
+]
+.br
[ COMMON_OPTIONS ]
.br
[ \fIVG\fP|\fITag\fP|\fISelect\fP\ .\|.\|.\& ]
Metadata may not be changed with this option.
.
.TP
+.O_persist
+Persistent Reservation operation.
+start: register local key and acquire reservation.
+stop: unregister local key, releasing reservation.
+remove: preempt and abort another key.
+clear: remove reservation and keys.
+check: check if started.
+autostart: start if the VG autostart flag is set.
+lvmlocal.conf pr_key or host_id must be configured to use PR.
+For local VGs, Write Exclusive (WE) is used, and for shared VGs
+Write Exclusive, all registrants (WEAR) is used.
+Use --setpersist to automate and/or require PR.
+.
+.TP
.O_physicalextentsize
Sets the physical extent size of PVs in the VG.
The value must be either a power of 2 of at least 1 sector
or if some form of manual LV sharing is being used.
.
.TP
+.O_removekey
+A persistent reservation key to remove.
+.
+.TP
.O_reportformat
Overrides current output format for reports which is defined globally by
the report/output_format setting in \fBlvm.conf\fP(5).
for individual LVs.
.
.TP
+.O_setpersist
+Set or clear flags to control persistent reservation behavior.
+autostart: set flag, PR will be automatically started.
+noautostart: clear autostart flag.
+require: set flag, PR will be required to write or activate VG.
+norequire: clear require flag.
+y: set autostart and require flags.
+n: clear autostart and require flags.
+When autostart is enabled, autoactivation and auto-lockstart
+commands will first start PR.
+lvmlocal.conf pr_key or host_id must be configured to use PR.
+For local VGs, enabling system_id is also recommended.
+.
+.TP
.O_sysinit
Indicates that vgchange/lvchange is being invoked
from early system initialisation
.de O_nolocking
.OPS nolocking
..
+.de O_persist
+.OPA persist
+\fIString\fP
+..
.de O_profile
.OPA profile
\fIString\fP
.O_select
]
.br
+[
+.O_persist
+]
+.br
[ COMMON_OPTIONS ]
.RE
.
incorrect results.
.
.TP
+.O_persist
+Persistent Reservation operation.
+start: register local key and acquire reservation.
+stop: unregister local key, releasing reservation.
+remove: preempt and abort another key.
+clear: remove reservation and keys.
+check: check if started.
+autostart: start if the VG autostart flag is set.
+lvmlocal.conf pr_key or host_id must be configured to use PR.
+For local VGs, Write Exclusive (WE) is used, and for shared VGs
+Write Exclusive, all registrants (WEAR) is used.
+Use --setpersist to automate and/or require PR.
+.
+.TP
.O_profile
An alias for --commandprofile or --metadataprofile, depending
on the command.
.de O_nolocking
.OPS nolocking
..
+.de O_persist
+.OPA persist
+\fIString\fP
+..
.de O_profile
.OPA profile
\fIString\fP
.O_select
]
.br
+[
+.O_persist
+]
+.br
[ COMMON_OPTIONS ]
.RE
.
incorrect results.
.
.TP
+.O_persist
+Persistent Reservation operation.
+start: register local key and acquire reservation.
+stop: unregister local key, releasing reservation.
+remove: preempt and abort another key.
+clear: remove reservation and keys.
+check: check if started.
+autostart: start if the VG autostart flag is set.
+lvmlocal.conf pr_key or host_id must be configured to use PR.
+For local VGs, Write Exclusive (WE) is used, and for shared VGs
+Write Exclusive, all registrants (WEAR) is used.
+Use --setpersist to automate and/or require PR.
+.
+.TP
.O_profile
An alias for --commandprofile or --metadataprofile, depending
on the command.