1VGCK(8) System Manager's Manual VGCK(8)
2
3
4
6 vgck - Check the consistency of volume group(s)
7
9 vgck
10 [ option_args ]
11 [ position_args ]
12
14 vgck checks LVM metadata for consistency.
15
17 vgck
18 [ --reportformat basic|json ]
19 [ COMMON_OPTIONS ]
20 [ VG|Tag ... ]
21
22 Common options for lvm:
23 [ -d|--debug ]
24 [ -h|--help ]
25 [ -q|--quiet ]
26 [ -t|--test ]
27 [ -v|--verbose ]
28 [ -y|--yes ]
29 [ --commandprofile String ]
30 [ --config String ]
31 [ --driverloaded y|n ]
32 [ --lockopt String ]
33 [ --longhelp ]
34 [ --profile String ]
35 [ --version ]
36
38 --commandprofile String
39 The command profile to use for command configuration. See
40 lvm.conf(5) for more information about profiles.
41
42 --config String
43 Config settings for the command. These override lvm.conf set‐
44 tings. The String arg uses the same format as lvm.conf, or may
45 use section/field syntax. See lvm.conf(5) for more information
46 about config.
47
48 -d|--debug ...
49 Set debug level. Repeat from 1 to 6 times to increase the detail
50 of messages sent to the log file and/or syslog (if configured).
51
52 --driverloaded y|n
53 If set to no, the command will not attempt to use device-mapper.
54 For testing and debugging.
55
56 -h|--help
57 Display help text.
58
59 --lockopt String
60 Used to pass options for special cases to lvmlockd. See lvm‐
61 lockd(8) for more information.
62
63 --longhelp
64 Display long help text.
65
66 --profile String
67 An alias for --commandprofile or --metadataprofile, depending on
68 the command.
69
70 -q|--quiet ...
71 Suppress output and log messages. Overrides --debug and --ver‐
72 bose. Repeat once to also suppress any prompts with answer
73 'no'.
74
75 --reportformat basic|json
76 Overrides current output format for reports which is defined
77 globally by the report/output_format setting in lvm.conf. basic
78 is the original format with columns and rows. If there is more
79 than one report per command, each report is prefixed with the
80 report name for identification. json produces report output in
81 JSON format. See lvmreport(7) for more information.
82
83 -t|--test
84 Run in test mode. Commands will not update metadata. This is
85 implemented by disabling all metadata writing but nevertheless
86 returning success to the calling function. This may lead to
87 unusual error messages in multi-stage operations if a tool
88 relies on reading back metadata it believes has changed but
89 hasn't.
90
91 -v|--verbose ...
92 Set verbose level. Repeat from 1 to 4 times to increase the
93 detail of messages sent to stdout and stderr.
94
95 --version
96 Display version information.
97
98 -y|--yes
99 Do not prompt for confirmation interactively but always assume
100 the answer yes. Use with extreme caution. (For automatic no,
101 see -qq.)
102
104 VG
105 Volume Group name. See lvm(8) for valid names.
106
107 Tag
108 Tag name. See lvm(8) for information about tag names and using
109 tags in place of a VG, LV or PV.
110
111 String
112 See the option description for information about the string con‐
113 tent.
114
115 Size[UNIT]
116 Size is an input number that accepts an optional unit. Input
117 units are always treated as base two values, regardless of capi‐
118 talization, e.g. 'k' and 'K' both refer to 1024. The default
119 input unit is specified by letter, followed by |UNIT. UNIT rep‐
120 resents other possible input units: bBsSkKmMgGtTpPeE. b|B is
121 bytes, s|S is sectors of 512 bytes, k|K is kilobytes, m|M is
122 megabytes, g|G is gigabytes, t|T is terabytes, p|P is petabytes,
123 e|E is exabytes. (This should not be confused with the output
124 control --units, where capital letters mean multiple of 1000.)
125
127 See lvm(8) for information about environment variables used by lvm.
128 For example, LVM_VG_NAME can generally be substituted for a required VG
129 parameter.
130
132 lvm(8) lvm.conf(5) lvmconfig(8)
133
134 pvchange(8) pvck(8) pvcreate(8) pvdisplay(8) pvmove(8) pvremove(8)
135 pvresize(8) pvs(8) pvscan(8)
136
137 vgcfgbackup(8) vgcfgrestore(8) vgchange(8) vgck(8) vgcreate(8) vgcon‐
138 vert(8) vgdisplay(8) vgexport(8) vgextend(8) vgimport(8) vgimport‐
139 clone(8) vgmerge(8) vgmknodes(8) vgreduce(8) vgremove(8) vgrename(8)
140 vgs(8) vgscan(8) vgsplit(8)
141
142 lvcreate(8) lvchange(8) lvconvert(8) lvdisplay(8) lvextend(8) lvre‐
143 duce(8) lvremove(8) lvrename(8) lvresize(8) lvs(8) lvscan(8)
144
145 lvm-fullreport(8) lvm-lvpoll(8) lvm2-activation-generator(8) blkdeacti‐
146 vate(8) lvmdump(8)
147
148 dmeventd(8) lvmetad(8) lvmpolld(8) lvmlockd(8) lvmlockctl(8) clvmd(8)
149 cmirrord(8) lvmdbusd(8)
150
151 lvmsystemid(7) lvmreport(7) lvmraid(7) lvmthin(7) lvmcache(7)
152
153
154
155Red Hat, Inc. LVM TOOLS 2.02.183(2) (2018-12-07) VGCK(8)