summaryrefslogtreecommitdiff
path: root/tools/args.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-02-06 13:39:41 -0600
committerDavid Teigland <teigland@redhat.com>2019-06-07 15:54:04 -0500
commit47effdc025384cef5b3235a9c4b90e7fd74d68a4 (patch)
tree4375b23990ef1eaca064f67bdc546b8984d7e8eb /tools/args.h
parentde3d3b11f493a89ebee2eab7efae70d33face954 (diff)
downloadlvm2-47effdc025384cef5b3235a9c4b90e7fd74d68a4.tar.gz
vgck --updatemetadata is a new command
uses vg_write to correct more common or less severe issues, and also adds the ability to repair some metadata corruption that couldn't be handled previously.
Diffstat (limited to 'tools/args.h')
-rw-r--r--tools/args.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/args.h b/tools/args.h
index 69f7e0790..e972c7dd9 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -1393,6 +1393,9 @@ arg(thin_ARG, 'T', "thin", 0, 0, 0,
"See --type thin, --type thin-pool, and --virtualsize.\n"
"See \\fBlvmthin\\fP(7) for more information about LVM thin provisioning.\n")
+arg(updatemetadata_ARG, '\0', "updatemetadata", 0, 0, 0,
+ "Update VG metadata to correct problems.\n")
+
arg(uuid_ARG, 'u', "uuid", 0, 0, 0,
"#pvchange\n"
"Generate new random UUID for specified PVs.\n"