1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

man: document --configreport, --logonly, --reportformat

This commit is contained in:
Peter Rajnoha 2016-06-24 14:51:20 +02:00
parent 9a414245b9
commit a910052a2e
34 changed files with 182 additions and 36 deletions

View File

@ -76,6 +76,8 @@ lvchange \(em change attributes of a logical volume
.RB [ \-r | \-\-readahead .RB [ \-r | \-\-readahead
.RB { \fIReadAheadSectors | auto | none }] .RB { \fIReadAheadSectors | auto | none }]
.RB [ \-\-refresh ] .RB [ \-\-refresh ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-resync ] .RB [ \-\-resync ]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]

View File

@ -93,6 +93,8 @@ lvcreate \- create a logical volume in an existing volume group
.IR Rate ] .IR Rate ]
.RB [ \-r | \-\-readahead .RB [ \-r | \-\-readahead
.RB { \fIReadAheadSectors | auto | none }] .RB { \fIReadAheadSectors | auto | none }]
.RB [ \-\-reportformat
.RB {basic | json}]
.RB \%[ \-k | \-\-setactivationskip .RB \%[ \-k | \-\-setactivationskip
.RB { y | n }] .RB { y | n }]
.RB [ \-s | \-\-snapshot ] .RB [ \-s | \-\-snapshot ]
@ -133,6 +135,8 @@ lvcreate \- create a logical volume in an existing volume group
.RB { y | n }] .RB { y | n }]
.RB [ \-n | \-\-name .RB [ \-n | \-\-name
.IR SnapshotLogicalVolumeName ] .IR SnapshotLogicalVolumeName ]
.RB [ \-\-reportformat
.RB {basic | json}]
.BR \-s | \-\-snapshot | \-H | \-\-cache .BR \-s | \-\-snapshot | \-H | \-\-cache
.RI \%{[ VolumeGroup \fB/\fP] OriginalLogicalVolume .RI \%{[ VolumeGroup \fB/\fP] OriginalLogicalVolume
.RB \%[ \-V | \-\-virtualsize .RB \%[ \-V | \-\-virtualsize

View File

@ -14,6 +14,8 @@ lvdisplay \(em display attributes of a logical volume
.RB [ \-\-maps ] .RB [ \-\-maps ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
.RB [ \-\-units .RB [ \-\-units
@ -30,20 +32,26 @@ lvdisplay \(em display attributes of a logical volume
.RB [ \-a | \-\-all ] .RB [ \-a | \-\-all ]
.RB [ \-\-commandprofile .RB [ \-\-commandprofile
.IR ProfileName ] .IR ProfileName ]
.RB [[ \-\-configreport
.IR ReportName ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field1 [, Field2 ...]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [, Key2 ...]]
.RB [ \-S | \-\-select
.IR Selection ]
.RB ...]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-\-ignoreskippedcluster ] .RB [ \-\-ignoreskippedcluster ]
.RB [ \-\-logonly ]
.RB [ \-\-noheadings ] .RB [ \-\-noheadings ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field [ ,Field ...]]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-segments ] .RB [ \-\-segments ]
.RB [ \-S | \-\-select
.IR Selection ]
.RB [ \-\-separator .RB [ \-\-separator
.IR Separator ] .IR Separator ]
.RB [ \-\-unbuffered ] .RB [ \-\-unbuffered ]

View File

@ -24,6 +24,8 @@ lvextend \(em extend the size of a logical volume
.RB [ \-n | \-\-nofsck ] .RB [ \-n | \-\-nofsck ]
.RB [ \-\-noudevsync] .RB [ \-\-noudevsync]
.RB [ \-r | \-\-resizefs ] .RB [ \-r | \-\-resizefs ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-use\-policies ] .RB [ \-\-use\-policies ]
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]

View File

@ -466,6 +466,16 @@ for any other command (with the exception of \fBlvmconfig\fP command where the
\fB\-\-profile\fP has special meaning, see \fBlvmconfig\fP(8) for more information). \fB\-\-profile\fP has special meaning, see \fBlvmconfig\fP(8) for more information).
. .
.HP .HP
.BR \-\-reportformat
.IR {basic|json}
.br
Overrides current output format for reports which is defined globally by
\fBreport/output_format\fP configuration setting in \fBlvm.conf\fP(5).
The \fBbasic\fP format is the original format with columns and rows and
if there is more than one report per command, each report is prefixed
with report's name for identification. The \fBjson\fP stands for report
output in JSON format.
.HP
.BR \-\-config .BR \-\-config
.IR ConfigurationString .IR ConfigurationString
.br .br

View File

@ -20,6 +20,8 @@ lvreduce \(em reduce the size of a logical volume
.BR \-L | \-\-size .BR \-L | \-\-size
.RI [ \- ] LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]} .RI [ \- ] LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]}
.RB [ \-n | \-\-nofsck ] .RB [ \-n | \-\-nofsck ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-r | \-\-resizefs ] .RB [ \-r | \-\-resizefs ]
.IR LogicalVolume { Name | Path } .IR LogicalVolume { Name | Path }
.SH DESCRIPTION .SH DESCRIPTION

View File

@ -10,6 +10,8 @@ lvremove \(em remove a logical volume
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-\-help ] .RB [ \-h | \-\-help ]
.RB [ \-\-nohistory ] .RB [ \-\-nohistory ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]

View File

@ -14,6 +14,8 @@ lvrename \(em rename a logical volume
.RB [ \-\-version ] .RB [ \-\-version ]
.RB [ \-f | \-\-force ] .RB [ \-f | \-\-force ]
.RB [ \-\-noudevsync ] .RB [ \-\-noudevsync ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RI { OldLogicalVolume { Name | Path } .RI { OldLogicalVolume { Name | Path }
.IR NewLogicalVolume { Name | Path } .IR NewLogicalVolume { Name | Path }
| |

View File

@ -17,6 +17,8 @@ lvresize \(em resize a logical volume
.RI [ + ] MetadataVolumeSize [ bBsSkKmMgG ]] .RI [ + ] MetadataVolumeSize [ bBsSkKmMgG ]]
.RB [ \-f | \-\-force ] .RB [ \-f | \-\-force ]
.RB [ \-n | \-\-nofsck ] .RB [ \-n | \-\-nofsck ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-r | \-\-resizefs ] .RB [ \-r | \-\-resizefs ]
.IR LogicalVolume { Name | Path } .IR LogicalVolume { Name | Path }
.RI [ PhysicalVolumePath [ :PE [ \-PE ]]...] .RI [ PhysicalVolumePath [ :PE [ \-PE ]]...]

View File

@ -8,22 +8,29 @@ lvs \(em report information about logical volumes
.RB [ \-a | \-\-all ] .RB [ \-a | \-\-all ]
.RB [ \-\-commandprofile .RB [ \-\-commandprofile
.IR ProfileName ] .IR ProfileName ]
.RB [[ \-\-configreport
.IR ReportName ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field1 [, Field2 ...]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [, Key2 ...]]
.RB [ \-S | \-\-select
.IR Selection ]
.RB ...]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-H | \-\-history ] .RB [ \-H | \-\-history ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-\-ignoreskippedcluster ] .RB [ \-\-ignoreskippedcluster ]
.RB [ \-\-logonly ]
.RB [ \-\-nameprefixes ] .RB [ \-\-nameprefixes ]
.RB [ \-\-noheadings ] .RB [ \-\-noheadings ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field [, Field ]]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [,[ + | \- ] Key2 [,...]]] .RI [ + | \- ] Key1 [,[ + | \- ] Key2 [,...]]]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-rows ] .RB [ \-\-rows ]
.RB [ \-S | \-\-select
.IR Selection ]
.RB [ \-\-separator .RB [ \-\-separator
.IR Separator ] .IR Separator ]
.RB [ \-\-segments ] .RB [ \-\-segments ]
@ -51,6 +58,15 @@ Use binary values "0" or "1" instead of descriptive literal values
for columns that have exactly two valid values to report (not counting for columns that have exactly two valid values to report (not counting
the "unknown" value which denotes that the value could not be determined). the "unknown" value which denotes that the value could not be determined).
.TP .TP
.B \-\-configreport \fI ReportName
Make any subsequent \fB\-o, \-\-options\fP, \fB\-O, \-\-sort\fP or
\fB\-S, \-\-select\fP to apply for \fIReportName\fP where \fIReportName\fP
is either 'lvs' for command's main report or 'log' for log report.
If \fB\-\-configreport\fP option is not used to identify a report, then
command's main report is assumed. The log report is available only if
enabled by \fBlog/report_command_log\fP \fBlvm.conf\fP(5) setting or
if \fB\-\-logonly\fP option is used.
.TP
.B \-\-all .B \-\-all
Include information in the output about internal Logical Volumes that Include information in the output about internal Logical Volumes that
are components of normally-accessible Logical Volumes, such as mirrors, are components of normally-accessible Logical Volumes, such as mirrors,
@ -66,6 +82,9 @@ Include historical logical volumes in the output.
(This has no effect unless logical volumes were removed while the configuration (This has no effect unless logical volumes were removed while the configuration
setting \fBmetadata/record_lvs_history\fP was enabled.) setting \fBmetadata/record_lvs_history\fP was enabled.)
.TP .TP
.B \-\-logonly
Suppress the lvs report itself and display only log report on output.
.TP
.B \-\-nameprefixes .B \-\-nameprefixes
Add an "LVM2_" prefix plus the field name to the output. Useful Add an "LVM2_" prefix plus the field name to the output. Useful
with \fB\-\-noheadings\fP to produce a list of field=value pairs that can with \fB\-\-noheadings\fP to produce a list of field=value pairs that can

View File

@ -11,6 +11,8 @@ lvscan \(em scan (all disks) for Logical Volumes
.RB [ \-h | \-\-help ] .RB [ \-h | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.SH DESCRIPTION .SH DESCRIPTION
lvscan scans all known volume groups or all supported LVM block devices lvscan scans all known volume groups or all supported LVM block devices

View File

@ -16,6 +16,8 @@ pvchange \(em change attributes of a physical volume
.RB [ \-\-metadataignore .RB [ \-\-metadataignore
.RI { y | n }] .RI { y | n }]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]

View File

@ -31,6 +31,8 @@ pvcreate \(em initialize a disk or partition for use by LVM
.RB [ \-\-restorefile .RB [ \-\-restorefile
.IR file ] .IR file ]
.RB [ \-\-norestorefile ] .RB [ \-\-norestorefile ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-setphysicalvolumesize .RB [ \-\-setphysicalvolumesize
.IR size ] .IR size ]
.RB [ \-u | \-\-uuid .RB [ \-u | \-\-uuid

View File

@ -12,6 +12,8 @@ pvdisplay \- display attributes of a physical volume
.RB [ \-\-ignoreskippedcluster ] .RB [ \-\-ignoreskippedcluster ]
.RB [ \-\-maps ] .RB [ \-\-maps ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-s | \-\-short ] .RB [ \-s | \-\-short ]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
@ -30,19 +32,24 @@ pvdisplay \- display attributes of a physical volume
.RB [ \-\-binary ] .RB [ \-\-binary ]
.RB [ \-a | \-\-all ] .RB [ \-a | \-\-all ]
.RB [ \-\-commandprofile .RB [ \-\-commandprofile
.RB [[ \-\-configreport
.IR ReportName ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field1 [, Field2 ...]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [, Key2 ...]]
.RB [ \-S | \-\-select
.IR Selection ]
.RB ...]
.IR ProfileName ] .IR ProfileName ]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-\-logonly ]
.RB [ \-\-noheadings ] .RB [ \-\-noheadings ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-o | \-\-options .RB [ \-\-reportformat
.RI [ + | \- | # ] Field [ ,Field ...]] .RB { basic | json }]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...
.RI ]]
.RB [ \-S | \-\-select
.IR Selection ]
.RB [ \-\-separator .RB [ \-\-separator
.IR Separator ] .IR Separator ]
.RB [ \-\-unbuffered ] .RB [ \-\-unbuffered ]

View File

@ -15,6 +15,8 @@ pvmove \(em move physical extents
.RB [ \-i | \-\-interval .RB [ \-i | \-\-interval
.IR Seconds ] .IR Seconds ]
.RB [ \-\-noudevsync ] .RB [ \-\-noudevsync ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.RB [ \-n | \-\-name .RB [ \-n | \-\-name
.IR LogicalVolume ] .IR LogicalVolume ]

View File

@ -12,6 +12,8 @@ pvremove \(em remove a physical volume
.RB [ \-\-version ] .RB [ \-\-version ]
.RB [ \-f [ f ]| \-\-force .RB [ \-f [ f ]| \-\-force
.RB [ \-\-force ]] .RB [ \-\-force ]]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-y | \-\-yes ] .RB [ \-y | \-\-yes ]
.I PhysicalVolume .I PhysicalVolume
.RI [ PhysicalVolume ...] .RI [ PhysicalVolume ...]

View File

@ -10,6 +10,8 @@ pvresize \(em resize a disk or partition in use by LVM2
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.RB [ \-\-version ] .RB [ \-\-version ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-setphysicalvolumesize .RB [ \-\-setphysicalvolumesize
.IR size ] .IR size ]
.I PhysicalVolume .I PhysicalVolume

View File

@ -8,22 +8,28 @@ pvs \(em report information about physical volumes
.RB [ \-\-binary ] .RB [ \-\-binary ]
.RB [ \-\-commandprofile .RB [ \-\-commandprofile
.IR ProfileName ] .IR ProfileName ]
.RB [[ \-\-configreport
.IR ReportName ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field1 [, Field2 ...]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [, Key2 ...]]
.RB [ \-S | \-\-select
.IR Selection ]
.RB ...]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-\-ignoreskippedcluster ] .RB [ \-\-ignoreskippedcluster ]
.RB [ \-\-logonly ]
.RB [ \-\-nameprefixes ] .RB [ \-\-nameprefixes ]
.RB [ \-\-noheadings ] .RB [ \-\-noheadings ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field [ ,Field ...]]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-rows ] .RB [ \-\-rows ]
.RB [ \-\-segments ] .RB [ \-\-segments ]
.RB [ \-S | \-\-select
.IR Selection ]
.RB [ \-\-separator .RB [ \-\-separator
.IR Separator ] .IR Separator ]
.RB [ \-\-unbuffered ] .RB [ \-\-unbuffered ]
@ -51,6 +57,18 @@ Use binary values "0" or "1" instead of descriptive literal values
for columns that have exactly two valid values to report (not counting for columns that have exactly two valid values to report (not counting
the "unknown" value which denotes that the value could not be determined). the "unknown" value which denotes that the value could not be determined).
.TP .TP
.B \-\-configreport \fI ReportName
Make any subsequent \fB\-o, \-\-options\fP, \fB\-O, \-\-sort\fP or
\fB\-S, \-\-select\fP to apply for \fIReportName\fP where \fIReportName\fP
is either 'pvs' for command's main report or 'log' for log report.
If \fB\-\-configreport\fP option is not used to identify a report, then
command's main report is assumed. The log report is available only if
enabled by \fBlog/report_command_log\fP \fBlvm.conf\fP(5) setting or
if \fB\-\-logonly\fP option is used.
.TP
.B \-\-logonly
Suppress the pvs report itself and display only log report on output.
.TP
.B \-\-nameprefixes .B \-\-nameprefixes
Add an "LVM2_" prefix plus the field name to the output. Useful Add an "LVM2_" prefix plus the field name to the output. Useful
with \fB\-\-noheadings\fP to produce a list of field=value pairs that can with \fB\-\-noheadings\fP to produce a list of field=value pairs that can

View File

@ -13,6 +13,8 @@ pvscan \(em scan all disks for physical volumes
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-e | \-\-exported ] .RB [ \-e | \-\-exported ]
.RB [ \-n | \-\-novolumegroup ] .RB [ \-n | \-\-novolumegroup ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-s | \-\-short ] .RB [ \-s | \-\-short ]
.RB [ \-u | \-\-uuid ] .RB [ \-u | \-\-uuid ]
.BR .BR
@ -23,6 +25,8 @@ pvscan \(em scan all disks for physical volumes
.B \-\-cache .B \-\-cache
.RB [ \-a | \-\-activate " " \fIay ] .RB [ \-a | \-\-activate " " \fIay ]
.RB [ \-b | \-\-background ] .RB [ \-b | \-\-background ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-major .RB [ \-\-major
.I major .I major
.B \-\-minor .B \-\-minor

View File

@ -11,6 +11,8 @@ vgcfgbackup \(em backup volume group descriptor area
.RB [ \-h | \-\-help ] .RB [ \-h | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.RI [ VolumeGroupName ...] .RI [ VolumeGroupName ...]
.SH DESCRIPTION .SH DESCRIPTION

View File

@ -49,6 +49,8 @@ vgchange \(em change attributes of a volume group
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-s | \-\-physicalextentsize .RB [ \-s | \-\-physicalextentsize
.IR PhysicalExtentSize [ bBsSkKmMgGtTpPeE ]] .IR PhysicalExtentSize [ bBsSkKmMgGtTpPeE ]]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
.RB [ \-\-systemid .RB [ \-\-systemid

View File

@ -7,6 +7,8 @@ vgck \(em check volume group metadata
.IR ProfileName ] .IR ProfileName ]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.RI [ VolumeGroupName ...] .RI [ VolumeGroupName ...]
.SH DESCRIPTION .SH DESCRIPTION

View File

@ -18,6 +18,8 @@ vgconvert \- convert volume group metadata format
.IR NumberOfCopies ] .IR NumberOfCopies ]
.RB [ \-\-metadatasize .RB [ \-\-metadatasize
.IR size ] .IR size ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-version ] .RB [ \-\-version ]
.I VolumeGroupName .I VolumeGroupName
.RI [ VolumeGroupName ...] .RI [ VolumeGroupName ...]

View File

@ -27,6 +27,8 @@ vgcreate \(em create a volume group
.IR NumberOfCopies | unmanaged | all ] .IR NumberOfCopies | unmanaged | all ]
.RB [ \-s | \-\-physicalextentsize .RB [ \-s | \-\-physicalextentsize
.IR PhysicalExtentSize [ bBsSkKmMgGtTpPeE ]] .IR PhysicalExtentSize [ bBsSkKmMgGtTpPeE ]]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-shared ] .RB [ \-\-shared ]
.RB [ \-\-systemid .RB [ \-\-systemid
.IR SystemID ] .IR SystemID ]

View File

@ -7,6 +7,8 @@ vgdisplay \(em display attributes of volume groups
.RB [ \-c | \-\-colon ] .RB [ \-c | \-\-colon ]
.RB [ \-\-commandprofile .RB [ \-\-commandprofile
.IR ProfileName ] .IR ProfileName ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-s | \-\-short ] .RB [ \-s | \-\-short ]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
@ -30,19 +32,25 @@ vgdisplay \(em display attributes of volume groups
.RB [ \-\-binary ] .RB [ \-\-binary ]
.RB [ \-\-commandprofile .RB [ \-\-commandprofile
.IR ProfileName ] .IR ProfileName ]
.RB [[ \-\-configreport
.IR ReportName ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field1 [, Field2 ...]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [, Key2 ...]]
.RB [ \-S | \-\-select
.IR Selection ]
.RB ...]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-\-ignoreskippedcluster ] .RB [ \-\-ignoreskippedcluster ]
.RB [ \-\-logonly ]
.RB [ \-\-noheadings ] .RB [ \-\-noheadings ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-o|\-\-options
.RI [ + | \- | # ] Field1 [ ,Field2 ...]]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-S | \-\-select .RB [ \-\-reportformat
.IR Selection ] .RB { basic | json }]
.RB [ \-\-separator .RB [ \-\-separator
.IR Separator ] .IR Separator ]
.RB [ \-\-unbuffered ] .RB [ \-\-unbuffered ]

View File

@ -8,6 +8,8 @@ vgexport \- make volume groups unknown to the system
.IR ProfileName ] .IR ProfileName ]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]

View File

@ -9,6 +9,8 @@ vgextend \(em add physical volumes to a volume group
.IR ProfileName ] .IR ProfileName ]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-restoremissing ] .RB [ \-\-restoremissing ]
.RB [ \-f | \-\-force ] .RB [ \-f | \-\-force ]
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]

View File

@ -6,6 +6,8 @@ vgimport \(em make exported volume groups known to the system
.RB [ \-a | \-\-all ] .RB [ \-a | \-\-all ]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]

View File

@ -8,6 +8,8 @@ vgmknodes \(em recreate volume group directory and logical volume special files
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-\-help ] .RB [ \-h | \-\-help ]
.RB [ \-\-refresh ] .RB [ \-\-refresh ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.RI [[ VolumeGroupName | LogicalVolumePath ]...] .RI [[ VolumeGroupName | LogicalVolumePath ]...]
.SH DESCRIPTION .SH DESCRIPTION

View File

@ -11,6 +11,8 @@ vgreduce \(em reduce a volume group
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-removemissing ] .RB [ \-\-removemissing ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.I VolumeGroupName .I VolumeGroupName

View File

@ -9,6 +9,8 @@ vgremove \(em remove a volume group
.RB [ \-f | \-\-force ] .RB [ \-f | \-\-force ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-noudevsync ] .RB [ \-\-noudevsync ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-S | \-\-select .RB [ \-S | \-\-select
.IR Selection ] .IR Selection ]
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]

View File

@ -9,6 +9,8 @@ vgrename \(em rename a volume group
.IR ProfileName ] .IR ProfileName ]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-t | \-\-test ] .RB [ \-t | \-\-test ]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.IR OldVolumeGroup { Path | Name | UUID } .IR OldVolumeGroup { Path | Name | UUID }

View File

@ -8,21 +8,27 @@ vgs \(em report information about volume groups
.RB [ \-\-binary ] .RB [ \-\-binary ]
.RB [ \-\-commandprofile .RB [ \-\-commandprofile
.IR ProfileName ] .IR ProfileName ]
.RB [[ \-\-configreport
.IR ReportName ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field1 [, Field2 ...]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [, Key2 ...]]
.RB [ \-S | \-\-select
.IR Selection ]
.RB ...]
.RB [ \-d | \-\-debug ] .RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ] .RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ] .RB [ \-\-ignorelockingfailure ]
.RB [ \-\-ignoreskippedcluster ] .RB [ \-\-ignoreskippedcluster ]
.RB [ \-\-logonly ]
.RB [ \-\-nameprefixes ] .RB [ \-\-nameprefixes ]
.RB [ \-\-noheadings ] .RB [ \-\-noheadings ]
.RB [ \-\-nosuffix ] .RB [ \-\-nosuffix ]
.RB [ \-o | \-\-options
.RI [ + | \- | # ] Field1 [ ,Field2 ...]]
.RB [ \-O | \-\-sort
.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-\-rows ] .RB [ \-\-rows ]
.RB [ \-S | \-\-select
.IR Selection ]
.RB [ \-\-separator .RB [ \-\-separator
.IR Separator ] .IR Separator ]
.RB [ \-\-unbuffered ] .RB [ \-\-unbuffered ]
@ -49,6 +55,18 @@ Use binary values "0" or "1" instead of descriptive literal values
for columns that have exactly two valid values to report (not counting for columns that have exactly two valid values to report (not counting
the "unknown" value which denotes that the value could not be determined). the "unknown" value which denotes that the value could not be determined).
.TP .TP
.B \-\-configreport \fI ReportName
Make any subsequent \fB\-o, \-\-options\fP, \fB\-O, \-\-sort\fP or
\fB\-S, \-\-select\fP to apply for \fIReportName\fP where \fIReportName\fP
is either 'vgs' for command's main report or 'log' for log report.
If \fB\-\-configreport\fP option is not used to identify a report, then
command's main report is assumed. The log report is available only if
enabled by \fBlog/report_command_log\fP \fBlvm.conf\fP(5) setting or
if \fB\-\-logonly\fP option is used.
.TP
.B \-\-logonly
Suppress the vgs report itself and display only log report on output.
.TP
.B \-\-nameprefixes .B \-\-nameprefixes
Add an "LVM2_" prefix plus the field name to the output. Useful Add an "LVM2_" prefix plus the field name to the output. Useful
with \fB\-\-noheadings\fP to produce a list of field=value pairs that can with \fB\-\-noheadings\fP to produce a list of field=value pairs that can

View File

@ -11,6 +11,8 @@ vgscan \(em scan all disks for volume groups and rebuild caches
.RB [ \-\-mknodes ] .RB [ \-\-mknodes ]
.RB [ \-\-notifydbus ] .RB [ \-\-notifydbus ]
.RB [ \-P | \-\-partial ] .RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-v | \-\-verbose ] .RB [ \-v | \-\-verbose ]
.SH DESCRIPTION .SH DESCRIPTION
vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch