mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
make: generate
This commit is contained in:
parent
61706793de
commit
4a1f6173d2
@ -1151,16 +1151,11 @@ global {
|
|||||||
# lvdisplay_shows_full_device_path = 0
|
# lvdisplay_shows_full_device_path = 0
|
||||||
|
|
||||||
# Configuration option global/event_activation.
|
# Configuration option global/event_activation.
|
||||||
# Activate LVs based on system-generated device events.
|
# Disable event based autoactivation commands.
|
||||||
# When a PV appears on the system, a system-generated uevent triggers
|
# WARNING: setting this to zero may cause machine startup to fail.
|
||||||
# the lvm2-pvscan service which runs the pvscan --cache -aay command.
|
# Previously, setting this to zero would enable static autoactivation
|
||||||
# If the new PV completes a VG, pvscan autoactivates LVs in the VG.
|
# services (via the lvm2-activation-generator), but the autoactivation
|
||||||
# When event_activation is disabled, the lvm2-activation services are
|
# services and generator have been removed.
|
||||||
# generated and run at fixed points during system startup. These
|
|
||||||
# services run vgchange -aay to autoactivate LVs in VGs that happen
|
|
||||||
# to be present at that point in time.
|
|
||||||
# See the --setautoactivation option or the auto_activation_volume_list
|
|
||||||
# setting to configure autoactivation for specific VGs or LVs.
|
|
||||||
# This configuration option has an automatic default value.
|
# This configuration option has an automatic default value.
|
||||||
# event_activation = 1
|
# event_activation = 1
|
||||||
|
|
||||||
|
@ -61,8 +61,6 @@ and more, using a more compact and configurable output format.
|
|||||||
.br
|
.br
|
||||||
[ \fB--readonly\fP ]
|
[ \fB--readonly\fP ]
|
||||||
.br
|
.br
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
|
||||||
.br
|
|
||||||
[ \fB--segments\fP ]
|
[ \fB--segments\fP ]
|
||||||
.br
|
.br
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB--separator\fP \fIString\fP ]
|
||||||
@ -332,16 +330,6 @@ device-mapper kernel driver, so this option is unable to report whether
|
|||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.
|
.
|
||||||
.HP
|
.HP
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
|
||||||
.br
|
|
||||||
Overrides current output format for reports which is defined globally by
|
|
||||||
the report/output_format setting in \fBlvm.conf\fP(5).
|
|
||||||
\fBbasic\fP is the original format with columns and rows.
|
|
||||||
If there is more than one report per command, each report is prefixed
|
|
||||||
with the report name for identification. \fBjson\fP produces report
|
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|
||||||
.
|
|
||||||
.HP
|
|
||||||
\fB--segments\fP
|
\fB--segments\fP
|
||||||
.br
|
.br
|
||||||
.
|
.
|
||||||
|
@ -322,7 +322,8 @@ Find a device with the PVID and add the device to the devices file.
|
|||||||
.HP
|
.HP
|
||||||
\fB--check\fP
|
\fB--check\fP
|
||||||
.br
|
.br
|
||||||
Check the content of the devices file.
|
Checks the content of the devices file.
|
||||||
|
Reports incorrect device names or PVIDs for entries.
|
||||||
.
|
.
|
||||||
.HP
|
.HP
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
|
@ -61,8 +61,6 @@ and more, using a more compact and configurable output format.
|
|||||||
.br
|
.br
|
||||||
[ \fB--readonly\fP ]
|
[ \fB--readonly\fP ]
|
||||||
.br
|
.br
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
|
||||||
.br
|
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB--separator\fP \fIString\fP ]
|
||||||
.br
|
.br
|
||||||
[ \fB--shared\fP ]
|
[ \fB--shared\fP ]
|
||||||
@ -320,16 +318,6 @@ device-mapper kernel driver, so this option is unable to report whether
|
|||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.
|
.
|
||||||
.HP
|
.HP
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
|
||||||
.br
|
|
||||||
Overrides current output format for reports which is defined globally by
|
|
||||||
the report/output_format setting in \fBlvm.conf\fP(5).
|
|
||||||
\fBbasic\fP is the original format with columns and rows.
|
|
||||||
If there is more than one report per command, each report is prefixed
|
|
||||||
with the report name for identification. \fBjson\fP produces report
|
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|
||||||
.
|
|
||||||
.HP
|
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
|
@ -15,6 +15,8 @@ pvscan \(em List all physical volumes
|
|||||||
.P
|
.P
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
||||||
|
.br
|
||||||
|
\fB--autoactivation\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
\fB--cache\fP
|
\fB--cache\fP
|
||||||
.br
|
.br
|
||||||
@ -91,59 +93,50 @@ like
|
|||||||
or
|
or
|
||||||
.BR pvdisplay (8).
|
.BR pvdisplay (8).
|
||||||
.P
|
.P
|
||||||
When the --cache and -aay options are used, pvscan records which PVs are
|
When --cache is used, pvscan updates runtime lvm state on the system, or
|
||||||
available on the system, and activates LVs in completed VGs. A VG is
|
with -aay performs autoactivation.
|
||||||
complete when pvscan sees that the final PV in the VG has appeared. This
|
|
||||||
is used by event-based system startup (systemd, udev) to activate LVs.
|
|
||||||
.P
|
|
||||||
The four main variations of this are:
|
|
||||||
.P
|
.P
|
||||||
.B pvscan --cache
|
.B pvscan --cache
|
||||||
.I device
|
.I device
|
||||||
.P
|
.P
|
||||||
If device is present, lvm adds a record that the PV on device is online.
|
If device is present, lvm records that the PV on device is online.
|
||||||
If device is not present, lvm removes the online record for the PV.
|
If device is not present, lvm removes the online record for the PV.
|
||||||
In most cases, the pvscan will only read the named devices.
|
pvscan only reads the named device.
|
||||||
.P
|
|
||||||
.B pvscan --cache -aay
|
|
||||||
.IR device ...
|
|
||||||
.P
|
|
||||||
This begins by performing the same steps as above. Afterward, if the VG
|
|
||||||
for the specified PV is complete, then pvscan will activate LVs in the VG
|
|
||||||
(the same as vgchange -aay vgname would do.)
|
|
||||||
.P
|
.P
|
||||||
.B pvscan --cache
|
.B pvscan --cache
|
||||||
.P
|
.P
|
||||||
This first clears all existing PV online records, then scans all devices
|
Updates the runtime state for all lvm devices.
|
||||||
on the system, adding PV online records for any PVs that are found.
|
.P
|
||||||
|
.B pvscan --cache -aay
|
||||||
|
.I device
|
||||||
|
.P
|
||||||
|
Performs the --cache steps for the device, then checks if the VG using the
|
||||||
|
device is complete. If so, LVs in the VG are autoactivated, the same as
|
||||||
|
vgchange -aay vgname would do. (A device name may be replaced with major
|
||||||
|
and minor numbers.)
|
||||||
.P
|
.P
|
||||||
.B pvscan --cache -aay
|
.B pvscan --cache -aay
|
||||||
.P
|
.P
|
||||||
This begins by performing the same steps as pvscan --cache. Afterward, it
|
Performs the --cache steps for all devices, then autoactivates any complete VGs.
|
||||||
activates LVs in any complete VGs.
|
|
||||||
.P
|
.P
|
||||||
To prevent devices from being scanned by pvscan --cache, add them
|
.B pvscan --cache --listvg|--listlvs
|
||||||
to
|
.I device
|
||||||
.BR lvm.conf (5)
|
|
||||||
.B devices/global_filter.
|
|
||||||
For more information, see:
|
|
||||||
.br
|
|
||||||
.B lvmconfig --withcomments devices/global_filter
|
|
||||||
.P
|
.P
|
||||||
Auto-activation of VGs or LVs can be enabled/disabled using:
|
Performs the --cache steps for the device, then prints the name of the VG
|
||||||
.br
|
using the device, or the names of LVs using the device. --checkcomplete
|
||||||
|
is usually included to check if all PVs for the VG or LVs are online.
|
||||||
|
When this command is called by a udev rule, the output must conform to
|
||||||
|
udev rule specifications (see --udevoutput.) The udev rule will use the
|
||||||
|
results to perform autoactivation.
|
||||||
|
.P
|
||||||
|
Autoactivation of VGs or LVs can be enabled/disabled using vgchange or
|
||||||
|
lvchange with --setautoactivation y|n, or by adding names to
|
||||||
.BR lvm.conf (5)
|
.BR lvm.conf (5)
|
||||||
.B activation/auto_activation_volume_list
|
.B activation/auto_activation_volume_list
|
||||||
.P
|
.P
|
||||||
For more information, see:
|
See
|
||||||
.br
|
.BR lvmautoactivation (7)
|
||||||
.B lvmconfig --withcomments activation/auto_activation_volume_list
|
for more information about how pvscan is used for autoactivation.
|
||||||
.P
|
|
||||||
To disable auto-activation, explicitly set this list to an empty list,
|
|
||||||
i.e. auto_activation_volume_list = [ ].
|
|
||||||
.P
|
|
||||||
When this setting is undefined (e.g. commented), then all LVs are
|
|
||||||
auto-activated.
|
|
||||||
.
|
.
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
.
|
.
|
||||||
@ -215,6 +208,8 @@ Record that a PV is online and autoactivate the VG if complete.
|
|||||||
.br
|
.br
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB--noudevsync\fP ]
|
||||||
.br
|
.br
|
||||||
|
[ \fB--autoactivation\fP \fIString\fP ]
|
||||||
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
@ -239,6 +234,8 @@ Record that a PV is online and list the VG using the PV.
|
|||||||
.br
|
.br
|
||||||
[ \fB--udevoutput\fP ]
|
[ \fB--udevoutput\fP ]
|
||||||
.br
|
.br
|
||||||
|
[ \fB--autoactivation\fP \fIString\fP ]
|
||||||
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
@ -342,6 +339,14 @@ Auto-activate LVs in a VG when the PVs scanned have completed the VG.
|
|||||||
(Only \fBay\fP is applicable.)
|
(Only \fBay\fP is applicable.)
|
||||||
.
|
.
|
||||||
.HP
|
.HP
|
||||||
|
\fB--autoactivation\fP \fIString\fP
|
||||||
|
.br
|
||||||
|
Specify if autoactivation is being used from an event.
|
||||||
|
This allows the command to apply settings that are specific
|
||||||
|
to event activation, such as device scanning optimizations
|
||||||
|
using pvs_online files created by event-based pvscans.
|
||||||
|
.
|
||||||
|
.HP
|
||||||
\fB--cache\fP
|
\fB--cache\fP
|
||||||
.br
|
.br
|
||||||
Scan one or more devices and record that they are online.
|
Scan one or more devices and record that they are online.
|
||||||
|
@ -24,6 +24,8 @@ vgchange \(em Change volume group attributes
|
|||||||
.nh
|
.nh
|
||||||
\%\fBcontiguous\fP|\:\fBcling\fP|\:\fBcling_by_tags\fP|\:\fBnormal\fP|\:\fBanywhere\fP|\:\fBinherit\fP
|
\%\fBcontiguous\fP|\:\fBcling\fP|\:\fBcling_by_tags\fP|\:\fBnormal\fP|\:\fBanywhere\fP|\:\fBinherit\fP
|
||||||
.hy
|
.hy
|
||||||
|
.br
|
||||||
|
\fB--autoactivation\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -286,6 +288,8 @@ Activate or deactivate LVs.
|
|||||||
.br
|
.br
|
||||||
[ \fB--poll\fP \fBy\fP|\fBn\fP ]
|
[ \fB--poll\fP \fBy\fP|\fBn\fP ]
|
||||||
.br
|
.br
|
||||||
|
[ \fB--autoactivation\fP \fIString\fP ]
|
||||||
|
.br
|
||||||
[ \fB--ignoremonitoring\fP ]
|
[ \fB--ignoremonitoring\fP ]
|
||||||
.br
|
.br
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB--noudevsync\fP ]
|
||||||
@ -516,6 +520,14 @@ which PVs the command will use for allocation.
|
|||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.
|
.
|
||||||
.HP
|
.HP
|
||||||
|
\fB--autoactivation\fP \fIString\fP
|
||||||
|
.br
|
||||||
|
Specify if autoactivation is being used from an event.
|
||||||
|
This allows the command to apply settings that are specific
|
||||||
|
to event activation, such as device scanning optimizations
|
||||||
|
using pvs_online files created by event-based pvscans.
|
||||||
|
.
|
||||||
|
.HP
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
|
@ -58,8 +58,6 @@ and more, using a more compact and configurable output format.
|
|||||||
.br
|
.br
|
||||||
[ \fB--readonly\fP ]
|
[ \fB--readonly\fP ]
|
||||||
.br
|
.br
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
|
||||||
.br
|
|
||||||
[ \fB--shared\fP ]
|
[ \fB--shared\fP ]
|
||||||
.br
|
.br
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB--separator\fP \fIString\fP ]
|
||||||
@ -312,16 +310,6 @@ device-mapper kernel driver, so this option is unable to report whether
|
|||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.
|
.
|
||||||
.HP
|
.HP
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
|
||||||
.br
|
|
||||||
Overrides current output format for reports which is defined globally by
|
|
||||||
the report/output_format setting in \fBlvm.conf\fP(5).
|
|
||||||
\fBbasic\fP is the original format with columns and rows.
|
|
||||||
If there is more than one report per command, each report is prefixed
|
|
||||||
with the report name for identification. \fBjson\fP produces report
|
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|
||||||
.
|
|
||||||
.HP
|
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
|
Loading…
Reference in New Issue
Block a user