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