master - dmfilemapd: clear filemap_monitor before calling _parse_args()
by Bryn Reeves
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7fbeea30e5ce4dbb487...
Commit: 7fbeea30e5ce4dbb4877910877575ed6c37dfb8c
Parent: c56d8535a722b4b7d8303e7aede627d8b0246e23
Author: Bryn M. Reeves <bmr(a)redhat.com>
AuthorDate: Fri May 5 11:48:54 2017 +0100
Committer: Bryn M. Reeves <bmr(a)redhat.com>
CommitterDate: Fri May 5 11:53:44 2017 +0100
dmfilemapd: clear filemap_monitor before calling _parse_args()
If the wrong number of arguments are given, main() will attempt
to free the uninitialised pointer in fm.path.
---
daemons/dmfilemapd/dmfilemapd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemons/dmfilemapd/dmfilemapd.c b/daemons/dmfilemapd/dmfilemapd.c
index 2dd069a..bbaabda 100644
--- a/daemons/dmfilemapd/dmfilemapd.c
+++ b/daemons/dmfilemapd/dmfilemapd.c
@@ -266,8 +266,6 @@ static int _parse_args(int argc, char **argv, struct filemap_monitor *fm)
return 0;
}
- memset(fm, 0, sizeof(*fm));
-
/*
* We don't know the true nr_regions at daemon start time,
* and it is not worth a dm_stats_list()/group walk to count:
@@ -801,6 +799,8 @@ int main(int argc, char **argv)
{
struct filemap_monitor fm;
+ memset(&fm, 0, sizeof(fm));
+
if (!_parse_args(argc, argv, &fm)) {
dm_free(fm.path);
return 1;
6 years, 11 months
master - man lvmconfig: add descriptions for typeconfig and ignorelocal
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c56d8535a722b4b7d83...
Commit: c56d8535a722b4b7d8303e7aede627d8b0246e23
Parent: 20026c9c223550633da73c5978686db389f19a17
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Thu May 4 14:04:10 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Thu May 4 14:04:10 2017 -0500
man lvmconfig: add descriptions for typeconfig and ignorelocal
---
tools/args.h | 38 ++++++++++++++++++++++++++++++++++++--
1 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/tools/args.h b/tools/args.h
index 23eaf5c..f5e864f 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -135,7 +135,38 @@ arg(configreport_ARG, '\0', "configreport", configreport_VAL, ARG_GROUPABLE, 1,
"See \\fBlvmreport\\fP(7).\n")
arg(configtype_ARG, '\0', "typeconfig", configtype_VAL, 0, 0,
- "See \\fBlvmreport\\fP(7).\n")
+ "\\fBcurrent\\fP prints the config settings that would be applied\n"
+ "to an lvm command (assuming the command does not override them\n"
+ "on the command line.) This includes:\n"
+ "settings that have been modified in lvm config files,\n"
+ "settings that get their default values from config files,\n"
+ "and default settings that have been uncommented in config files.\n"
+ "\\fBdefault\\fP prints all settings with their default values.\n"
+ "Changes made in lvm config files are not reflected in the output.\n"
+ "Some settings get their default values internally,\n"
+ "and these settings are printed as comments.\n"
+ "Other settings get their default values from config files,\n"
+ "and these settings are not printed as comments.\n"
+ "\\fBdiff\\fP prints only config settings that have been modified\n"
+ "from their default values in config files (the difference between\n"
+ "current and default.)\n"
+ "\\fBfull\\fP prints every setting uncommented and set to the\n"
+ "current value, i.e. how it would be used by an lvm command.\n"
+ "This includes settings modified in config files, settings that usually\n"
+ "get defaults internally, and settings that get defaults from config files.\n"
+ "\\fBlist\\fP prints all config names without values.\n"
+ "\\fBmissing\\fP prints settings that are missing from the\n"
+ "lvm config files. A missing setting that usually gets its default\n"
+ "from config files is printed uncommented and set to the internal default.\n"
+ "Settings that get their default internally and are not set in config files\n"
+ "are printed commented with the internal default.\n"
+ "\\fBnew\\fP prints config settings that have been added since\n"
+ "the lvm version specified by --sinceversion. They are printed\n"
+ "with their default values.\n"
+ "\\fBprofilable\\fP prints settings with their default values that can be set from a profile.\n"
+ "\\fBprofilable-command\\fP prints settings with their default values that can be set from a command profile.\n"
+ "\\fBprofilable-metadata\\fP prints settings with their default values that can be set from a metadata profile.\n"
+ "Also see \\fBlvm.conf\\fP(5).\n")
arg(dataalignment_ARG, '\0', "dataalignment", sizekb_VAL, 0, 0,
"Align the start of the data to a multiple of this number.\n"
@@ -198,7 +229,10 @@ arg(ignoreadvanced_ARG, '\0', "ignoreadvanced", 0, 0, 0,
"Exclude advanced configuration settings from the output.\n")
arg(ignorelocal_ARG, '\0', "ignorelocal", 0, 0, 0,
- "Ignore local section.\n")
+ "Ignore the local section. The local section should be defined in\n"
+ "the lvmlocal.conf file, and should contain config settings\n"
+ "specific to the local host which should not be copied to\n"
+ "other hosts.\n")
arg(ignorelockingfailure_ARG, '\0', "ignorelockingfailure", 0, 0, 0,
"Allows a command to continue with read-only metadata\n"
6 years, 11 months
master - man vgexport: reference to vgimport
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=20026c9c223550633da...
Commit: 20026c9c223550633da73c5978686db389f19a17
Parent: f2d943a4b60465f9fe06a6742bd2789372c0d15b
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 16:44:01 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 16:44:01 2017 -0500
man vgexport: reference to vgimport
---
man/vgexport.8_des | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/man/vgexport.8_des b/man/vgexport.8_des
index f9fa49c..66d3af3 100644
--- a/man/vgexport.8_des
+++ b/man/vgexport.8_des
@@ -1,6 +1,6 @@
vgexport makes inactive VGs unknown to the system. In this state, all the
PVs in the VG can be moved to a different system, from which
-\fBvgimport\fP can then be run.
+\fBvgimport\fP(8) can then be run.
Most LVM tools ignore exported VGs.
6 years, 11 months
master - man lvm fullreport and lvpoll references
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f2d943a4b60465f9fe0...
Commit: f2d943a4b60465f9fe06a6742bd2789372c0d15b
Parent: 1423ab93f9251d7c0c704bf40da0c0bd631bc08e
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 16:38:19 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 16:40:44 2017 -0500
man lvm fullreport and lvpoll references
Add references to lvm-fullreport(8) and lvm-lvpoll(8).
---
man/lvm-fullreport.8_des | 1 -
man/lvm.8_main | 2 ++
man/lvmreport.7_main | 2 +-
man/see_also.end | 2 ++
4 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/man/lvm-fullreport.8_des b/man/lvm-fullreport.8_des
index f350a0a..741cd12 100644
--- a/man/lvm-fullreport.8_des
+++ b/man/lvm-fullreport.8_des
@@ -3,4 +3,3 @@ and LV segments. The information is all gathered together for each VG
(under a per-VG lock) so it is consistent. Information gathered from
separate calls to \fBvgs\fP, \fBpvs\fP, and \fBlvs\fP can be inconsistent
if information changes between commands.
-
diff --git a/man/lvm.8_main b/man/lvm.8_main
index 7506eaf..bd5d8a7 100644
--- a/man/lvm.8_main
+++ b/man/lvm.8_main
@@ -537,6 +537,8 @@ directly.
.BR lvs (8)
.BR lvscan (8)
+.BR lvm-fullreport (8)
+.BR lvm-lvpoll (8)
.BR lvm2-activation-generator (8)
.BR blkdeactivate (8)
.BR lvmdump (8)
diff --git a/man/lvmreport.7_main b/man/lvmreport.7_main
index 7a26401..7167df0 100644
--- a/man/lvmreport.7_main
+++ b/man/lvmreport.7_main
@@ -948,7 +948,7 @@ configuration directly on command line.
You can obtain the same information with single command where all the
information about PVs, PV segments, LVs and LV segments are obtained
-per VG under a single VG lock for consistency, see also \fBlvm fullreport\fP(8)
+per VG under a single VG lock for consistency, see also \fBlvm-fullreport\fP(8)
man page for more information. The fullreport has its own configuration
settings to define field sets to use, similar to individual reports as
displayed above, but configuration settings have "_full" suffix now.
diff --git a/man/see_also.end b/man/see_also.end
index 9e7d3b2..5b07719 100644
--- a/man/see_also.end
+++ b/man/see_also.end
@@ -46,6 +46,8 @@
.BR lvs (8)
.BR lvscan (8)
+.BR lvm-fullreport (8)
+.BR lvm-lvpoll (8)
.BR lvm2-activation-generator (8)
.BR blkdeactivate (8)
.BR lvmdump (8)
6 years, 11 months
master - man clvmd: mention lvmlockd is another option
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=1423ab93f9251d7c0c7...
Commit: 1423ab93f9251d7c0c704bf40da0c0bd631bc08e
Parent: a7a28bd9985c5630990215045adb8d76c9b099e1
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 16:26:21 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 16:26:21 2017 -0500
man clvmd: mention lvmlockd is another option
---
man/clvmd.8_main | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/man/clvmd.8_main b/man/clvmd.8_main
index 8e9921d..de6ce25 100644
--- a/man/clvmd.8_main
+++ b/man/clvmd.8_main
@@ -31,6 +31,9 @@ clvmd \(em cluster LVM daemon
clvmd is the daemon that distributes LVM metadata updates around a cluster.
It must be running on all nodes in the cluster and will give an error
if a node in the cluster does not have this daemon running.
+
+Also see \fBlvmlockd\fP(8) for a newer method of using LVM on shared
+storage.
.
.SH OPTIONS
.
@@ -196,4 +199,6 @@ Defaults to \fI#LVM_PATH#\fP.
.SH SEE ALSO
.BR syslog (3),
.BR lvm.conf (5),
-.BR lvm (8)
+.BR lvm (8),
+.BR lvmlockd (8),
+.BR lvmsystemid (7)
6 years, 11 months
master - man lvm.conf: say how to get a description of settings
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=596fd0b106c2044c458...
Commit: 596fd0b106c2044c45827a9f71bc42f1917eba46
Parent: 5de3870662688ca2a81a94f7f0422dea15949566
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 16:01:19 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 16:01:19 2017 -0500
man lvm.conf: say how to get a description of settings
Many will look in 'man lvm.conf' expecting to find a
description of the lvm.conf fields, which are not there.
State at the beginning how to get this (by running
lvmconfig.)
---
man/lvm.conf.5_main | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/man/lvm.conf.5_main b/man/lvm.conf.5_main
index 7b777af..3a45f1c 100644
--- a/man/lvm.conf.5_main
+++ b/man/lvm.conf.5_main
@@ -10,6 +10,10 @@ being loaded - settings read in later override earlier
settings. File timestamps are checked between commands and if
any have changed, all the files are reloaded.
+For a description of each lvm.conf setting, run:
+
+.B lvmconfig --typeconfig default --withcomments --withspaces
+
The settings defined in lvm.conf can be overridden by any
of these extended configuration methods:
.TP
6 years, 11 months
master - pvscan: define command as taking only -aay
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5de3870662688ca2a81...
Commit: 5de3870662688ca2a81a94f7f0422dea15949566
Parent: b869db30ac9d22fbdf17218d6bdc9356922e397c
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 15:46:49 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 15:46:49 2017 -0500
pvscan: define command as taking only -aay
The fact that -an and -ay are not accepted can be
stated in the command definition.
---
tools/command-lines.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/command-lines.in b/tools/command-lines.in
index 2d9e48e..7f9c31f 100644
--- a/tools/command-lines.in
+++ b/tools/command-lines.in
@@ -1417,7 +1417,7 @@ DESC: Display PV information.
pvscan --cache_long
OO: --ignorelockingfailure, --reportformat ReportFmt, --background,
---activate Active, --major Number, --minor Number
+--activate ay, --major Number, --minor Number
OP: PV|String ...
ID: pvscan_cache
DESC: Populate the lvmetad cache by scanning PVs.
6 years, 11 months
master - man: reference other man pages with bold
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a7a28bd9985c5630990...
Commit: a7a28bd9985c5630990215045adb8d76c9b099e1
Parent: 596fd0b106c2044c45827a9f71bc42f1917eba46
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 16:21:01 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 16:21:01 2017 -0500
man: reference other man pages with bold
There were a handful of references to other man
pages using the standard command(N) form which were
not in bold, so they were not turned into links
in html formats.
---
tools/args.h | 56 ++++++++++++++++++++++++++++----------------------------
1 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/tools/args.h b/tools/args.h
index 2dc738f..23eaf5c 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -42,7 +42,7 @@ arg(activationmode_ARG, '\0', "activationmode", activationmode_VAL, 0, 0,
arg(addtag_ARG, '\0', "addtag", tag_VAL, ARG_GROUPABLE, 0,
"Adds a tag to a PV, VG or LV. This option can be repeated to add\n"
- "multiple tags at once. See lvm(8) for information about tags.\n")
+ "multiple tags at once. See \\fBlvm\\fP(8) for information about tags.\n")
arg(aligned_ARG, '\0', "aligned", 0, 0, 0,
"Use with --separator to align the output columns\n")
@@ -132,10 +132,10 @@ arg(config_ARG, '\0', "config", string_VAL, 0, 0,
"See \\fBlvm.conf\\fP(5) for more information about config.\n")
arg(configreport_ARG, '\0', "configreport", configreport_VAL, ARG_GROUPABLE, 1,
- "See lvmreport(7).\n")
+ "See \\fBlvmreport\\fP(7).\n")
arg(configtype_ARG, '\0', "typeconfig", configtype_VAL, 0, 0,
- "See lvmreport(7).\n")
+ "See \\fBlvmreport\\fP(7).\n")
arg(dataalignment_ARG, '\0', "dataalignment", sizekb_VAL, 0, 0,
"Align the start of the data to a multiple of this number.\n"
@@ -149,7 +149,7 @@ arg(dataalignmentoffset_ARG, '\0', "dataalignmentoffset", sizekb_VAL, 0, 0,
arg(deltag_ARG, '\0', "deltag", tag_VAL, ARG_GROUPABLE, 0,
"Deletes a tag from a PV, VG or LV. This option can be repeated to delete\n"
- "multiple tags at once. See lvm(8) for information about tags.\n")
+ "multiple tags at once. See \\fBlvm\\fP(8) for information about tags.\n")
arg(detachprofile_ARG, '\0', "detachprofile", 0, 0, 0,
"Detaches a metadata profile from a VG or LV.\n"
@@ -188,7 +188,7 @@ arg(force_long_ARG, '\0', "force", 0, ARG_COUNTABLE, 0,
arg(foreign_ARG, '\0', "foreign", 0, 0, 0,
"Report/display foreign VGs that would otherwise be skipped.\n"
- "See lvmsystemid(7) for more information about foreign VGs.\n")
+ "See \\fBlvmsystemid\\fP(7) for more information about foreign VGs.\n")
arg(handlemissingpvs_ARG, '\0', "handlemissingpvs", 0, 0, 0,
"Allows a polling operation to continue when PVs are missing,\n"
@@ -227,25 +227,25 @@ arg(labelsector_ARG, '\0', "labelsector", number_VAL, 0, 0,
arg(lockopt_ARG, '\0', "lockopt", string_VAL, 0, 0,
"Used to pass options for special cases to lvmlockd.\n"
- "See lvmlockd(8) for more information.\n")
+ "See \\fBlvmlockd\\fP(8) for more information.\n")
arg(lockstart_ARG, '\0', "lockstart", 0, 0, 0,
"Start the lockspace of a shared VG in lvmlockd.\n"
"lvmlockd locks becomes available for the VG, allowing LVM to use the VG.\n"
- "See lvmlockd(8) for more information.\n")
+ "See \\fBlvmlockd\\fP(8) for more information.\n")
arg(lockstop_ARG, '\0', "lockstop", 0, 0, 0,
"Stop the lockspace of a shared VG in lvmlockd.\n"
"lvmlockd locks become unavailable for the VG, preventing LVM from using the VG.\n"
- "See lvmlockd(8) for more information.\n")
+ "See \\fBlvmlockd\\fP(8) for more information.\n")
arg(locktype_ARG, '\0', "locktype", locktype_VAL, 0, 0,
"#vgchange\n"
"Change the VG lock type to or from a shared lock type used with lvmlockd.\n"
- "See lvmlockd(8) for more information.\n"
+ "See \\fBlvmlockd\\fP(8) for more information.\n"
"#vgcreate\n"
"Specify the VG lock type directly in place of using --shared.\n"
- "See lvmlockd(8) for more information.\n")
+ "See \\fBlvmlockd\\fP(8) for more information.\n")
arg(logonly_ARG, '\0', "logonly", 0, 0, 0,
"Suppress command report and display only log report.\n")
@@ -345,7 +345,7 @@ arg(monitor_ARG, '\0', "monitor", bool_VAL, 0, 0,
"Start (yes) or stop (no) monitoring an LV with dmeventd.\n"
"dmeventd monitors kernel events for an LV, and performs\n"
"automated maintenance for the LV in reponse to specific events.\n"
- "See dmeventd(8) for more information.\n")
+ "See \\fBdmeventd\\fP(8) for more information.\n")
arg(nameprefixes_ARG, '\0', "nameprefixes", 0, 0, 0,
"Add an \"LVM2_\" prefix plus the field name to the output. Useful\n"
@@ -552,7 +552,7 @@ arg(shared_ARG, '\0', "shared", 0, 0, 0,
"manager is running. This allows multiple hosts to share a VG on shared\n"
"devices. lvmlockd and a lock manager must be configured and running.\n"
"(A shared VG using lvmlockd is different from a clustered VG using clvmd.)\n"
- "See lvmlockd(8) for more information about shared VGs.\n"
+ "See \\fBlvmlockd\\fP(8) for more information about shared VGs.\n"
"#vgs\n"
"#lvs\n"
"#pvs\n"
@@ -562,7 +562,7 @@ arg(shared_ARG, '\0', "shared", 0, 0, 0,
"#pvdisplay\n"
"Report/display shared VGs that would otherwise be skipped when\n"
"lvmlockd is not being used on the host.\n"
- "See lvmlockd(8) for more information about shared VGs.\n")
+ "See \\fBlvmlockd\\fP(8) for more information about shared VGs.\n")
arg(sinceversion_ARG, '\0', "sinceversion", string_VAL, 0, 0,
"Specify an LVM version in x.y.z format where x is the major version,\n"
@@ -644,12 +644,12 @@ arg(systemid_ARG, '\0', "systemid", string_VAL, 0, 0,
"the host creating it. Using this option requires caution because the\n"
"system ID of the new VG may not match the system ID of the host running\n"
"the command, leaving the VG inaccessible to the host.\n"
- "See lvmsystemid(7) for more information.\n"
+ "See \\fBlvmsystemid\\fP(7) for more information.\n"
"#vgchange\n"
"Changes the system ID of the VG. Using this option requires caution\n"
"because the VG may become foreign to the host running the command,\n"
"leaving the host unable to access it.\n"
- "See lvmsystemid(7) for more information.\n")
+ "See \\fBlvmsystemid\\fP(7) for more information.\n")
arg(thinpool_ARG, '\0', "thinpool", lv_VAL, 0, 0,
"The name of a thin pool LV.\n")
@@ -831,8 +831,8 @@ arg(activate_ARG, 'a', "activate", activation_VAL, 0, 0,
"if the list is set but empty, no LVs match.\n"
"Autoactivation should be used during system boot to make it possible\n"
"to select which LVs should be automatically activated by the system.\n"
- "See lvmlockd(8) for more information about activation options \\fBey\\fP and \\fBsy\\fP for shared VGs.\n"
- "See clvmd(8) for more information about activation options \\fBey\\fP, \\fBsy\\fP, \\fBly\\fP and \\fBln\\fP for clustered VGs.\n"
+ "See \\fBlvmlockd\\fP(8) for more information about activation options \\fBey\\fP and \\fBsy\\fP for shared VGs.\n"
+ "See \\fBclvmd\\fP(8) for more information about activation options \\fBey\\fP, \\fBsy\\fP, \\fBly\\fP and \\fBln\\fP for clustered VGs.\n"
"#lvcreate\n"
"Controls the active state of the new LV.\n"
"\\fBy\\fP makes the LV active, or available.\n"
@@ -845,8 +845,8 @@ arg(activate_ARG, 'a', "activate", activation_VAL, 0, 0,
"If autoactivation \\fBay\\fP is used, the LV is only activated\n"
"if it matches an item in lvm.conf activation/auto_activation_volume_list.\n"
"\\fBay\\fP implies --zero n and --wipesignatures n.\n"
- "See lvmlockd(8) for more information about activation options for shared VGs.\n"
- "See clvmd(8) for more information about activation options for clustered VGs.\n")
+ "See \\fBlvmlockd\\fP(8) for more information about activation options for shared VGs.\n"
+ "See \\fBclvmd\\fP(8) for more information about activation options for clustered VGs.\n")
arg(all_ARG, 'a', "all", 0, 0, 0,
"#vgreduce\n"
@@ -870,7 +870,7 @@ arg(all_ARG, 'a', "all", 0, 0, 0,
arg(autobackup_ARG, 'A', "autobackup", bool_VAL, 0, 0,
"Specifies if metadata should be backed up automatically after a change.\n"
- "Enabling this is strongly advised! See vgcfgbackup(8) for more information.\n")
+ "Enabling this is strongly advised! See \\fBvgcfgbackup\\fP(8) for more information.\n")
arg(activevolumegroups_ARG, 'A', "activevolumegroups", 0, 0, 0,
"Only select active VGs. The VG is considered active\n"
@@ -914,20 +914,20 @@ arg(clustered_ARG, 'c', "clustered", bool_VAL, 0, 0,
"This allows multiple hosts to share a VG on shared devices.\n"
"clvmd and a lock manager must be configured and running.\n"
"(A clustered VG using clvmd is different from a shared VG using lvmlockd.)\n"
- "See clvmd(8) for more information about clustered VGs.\n"
+ "See \\fBclvmd\\fP(8) for more information about clustered VGs.\n"
"#vgchange\n"
"Change the clustered property of a VG using clvmd.\n"
- "See clvmd(8) for more information about clustered VGs.\n"
+ "See \\fBclvmd\\fP(8) for more information about clustered VGs.\n"
"#vgsplit\n"
"Specifies the clustered property of the new VG.\n")
arg(colon_ARG, 'c', "colon", 0, 0, 0,
"Generate colon separated output for easier parsing in scripts or programs.\n"
- "Also see vgs(8) which provides considerably more control over the output.\n")
+ "Also see \\fBvgs\\fP(8) which provides considerably more control over the output.\n")
arg(columns_ARG, 'C', "columns", 0, 0, 0,
- "Display output in columns, the equivalent of vgs(8).\n"
- "Options listed are the same as options given in vgs(8).\n")
+ "Display output in columns, the equivalent of \\fBvgs\\fP(8).\n"
+ "Options listed are the same as options given in \\fBvgs\\fP(8).\n")
arg(contiguous_ARG, 'C', "contiguous", bool_VAL, 0, 0,
"Sets or resets the contiguous allocation policy for LVs.\n"
@@ -1215,7 +1215,7 @@ arg(options_ARG, 'o', "options", string_VAL, ARG_GROUPABLE, 0,
"\\fBseg_all\\fP all LV segment fields, and\n"
"\\fBpvseg_all\\fP all PV segment columns.\n"
"See the lvm.conf report section for more config options.\n"
- "See lvmreport(7) for more information about reporting.\n")
+ "See \\fBlvmreport\\fP(7) for more information about reporting.\n")
arg(sort_ARG, 'O', "sort", string_VAL, ARG_GROUPABLE, 0,
"Comma-separated ordered list of columns to sort by. Replaces the default\n"
@@ -1355,11 +1355,11 @@ arg(uuidstr_ARG, 'u', "uuid", string_VAL, 0, 0,
"Specify a UUID for the device.\n"
"Without this option, a random UUID is generated.\n"
"This option is needed before restoring a backup of LVM metadata\n"
- "onto a replacement device; see vgcfgrestore(8). As such, use of\n"
+ "onto a replacement device; see \\fBvgcfgrestore\\fP(8). As such, use of\n"
"--restorefile is compulsory unless the --norestorefile is used.\n"
"All PVs must have unique UUIDs, and LVM will prevent certain operations\n"
"if multiple devices are seen with the same UUID.\n"
- "See vgimportclone(8) for more information.\n")
+ "See \\fBvgimportclone\\fP(8) for more information.\n")
/* Not used */
arg(uuidlist_ARG, 'U', "uuidlist", 0, 0, 0, NULL)
6 years, 11 months
master - man pvscan: add description for --activate
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b869db30ac9d22fbdf1...
Commit: b869db30ac9d22fbdf17218d6bdc9356922e397c
Parent: 892f3b1002837abeed5c0a239de107678c6fb794
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 15:37:48 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 15:38:53 2017 -0500
man pvscan: add description for --activate
---
tools/args.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/args.h b/tools/args.h
index 704b4e7..2dc738f 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -808,6 +808,9 @@ arg(metadatacopies_ARG, '\0', "metadatacopies", metadatacopies_VAL, 0, 0, NULL)
* ... and now the short args.
*/
arg(activate_ARG, 'a', "activate", activation_VAL, 0, 0,
+ "#pvscan\n"
+ "Auto-activate LVs in a VG when the PVs scanned have completed the VG.\n"
+ "(Only \\fBay\\fP is applicable.)\n"
"#lvchange\n"
"#vgchange\n"
"Change the active state of LVs.\n"
6 years, 11 months
master - man vgimport: add description for --all
by David Teigland
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=892f3b1002837abeed5...
Commit: 892f3b1002837abeed5c0a239de107678c6fb794
Parent: ab1de07c9747074a5d3fa0a3f49a54310854a5a0
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Wed May 3 15:19:19 2017 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Wed May 3 15:19:19 2017 -0500
man vgimport: add description for --all
---
tools/args.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/args.h b/tools/args.h
index 23a56cd..704b4e7 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -850,6 +850,8 @@ arg(all_ARG, 'a', "all", 0, 0, 0,
"Removes all empty PVs if none are named on the command line.\n"
"#pvchange\n"
"Change all visible PVs.\n"
+ "#vgimport\n"
+ "Import all visible VGs.\n"
"#lvscan\n"
"#lvdisplay\n"
"#lvs\n"
6 years, 11 months