]> sourceware.org Git - lvm2.git/blame - tools/commands.h
thin: tighten discard string conversions
[lvm2.git] / tools / commands.h
CommitLineData
269930c0 1/*
6606c3ae 2 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
be684599 3 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
269930c0 4 *
6606c3ae 5 * This file is part of LVM2.
269930c0 6 *
6606c3ae
AK
7 * This copyrighted material is made available to anyone wishing to use,
8 * modify, copy, or redistribute it subject to the terms and conditions
be684599 9 * of the GNU Lesser General Public License v.2.1.
269930c0 10 *
be684599 11 * You should have received a copy of the GNU Lesser General Public License
6606c3ae
AK
12 * along with this program; if not, write to the Free Software Foundation,
13 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
269930c0
AK
14 */
15
5a52dca9
AK
16/*********** Replace with script?
17xx(e2fsadm,
18 "Resize logical volume and ext2 filesystem",
19 "e2fsadm "
20 "[-d|--debug] " "[-h|--help] " "[-n|--nofsck]" "\n"
21 "\t{[-l|--extents] [+|-]LogicalExtentsNumber |" "\n"
c1060e13 22 "\t [-L|--size] [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}" "\n"
5a52dca9
AK
23 "\t[-t|--test] " "\n"
24 "\t[-v|--verbose] " "\n"
25 "\t[--version] " "\n"
26 "\tLogicalVolumePath" "\n",
27
28 extents_ARG, size_ARG, nofsck_ARG, test_ARG)
29*********/
30
dcc31da5
AK
31xx(dumpconfig,
32 "Dump active configuration",
b83af516 33 PERMITTED_READ_ONLY,
2eeb2a1f
AK
34 "dumpconfig "
35 "\t[-f|--file filename] " "\n"
36 "[ConfigurationVariable...]\n",
37 file_ARG)
dcc31da5 38
156dd4f1
AK
39xx(formats,
40 "List available metadata formats",
b83af516 41 PERMITTED_READ_ONLY,
156dd4f1
AK
42 "formats\n")
43
269930c0
AK
44xx(help,
45 "Display help for commands",
b83af516 46 PERMITTED_READ_ONLY,
a03f2320 47 "help <command>" "\n")
269930c0 48
677a06d5 49/*********
269930c0
AK
50xx(lvactivate,
51 "Activate logical volume on given partition(s)",
e6efb2b0 52 "lvactivate "
c80325ca
AK
53 "\t[-d|--debug]\n"
54 "\t[-h|--help]\n"
55 "\t[-v|--verbose]\n"
e6efb2b0 56 "Logical Volume(s)\n")
677a06d5 57***********/
269930c0
AK
58
59xx(lvchange,
60 "Change the attributes of logical volume(s)",
b83af516 61 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
269930c0 62 "lvchange\n"
c80325ca 63 "\t[-A|--autobackup y|n]\n"
c9b9077b 64 "\t[-a|--activate [a|e|l]{y|n}]\n"
cf6dd251 65 "\t[--addtag Tag]\n"
63bea03e 66 "\t[--alloc AllocationPolicy]\n"
c80325ca
AK
67 "\t[-C|--contiguous y|n]\n"
68 "\t[-d|--debug]\n"
cf6dd251 69 "\t[--deltag Tag]\n"
0b946db9 70 "\t[-f|--force]\n"
c80325ca 71 "\t[-h|--help]\n"
48367c5b 72 "\t[--discard {ignore|nopassdown|passdown}]\n"
5a52dca9 73 "\t[--ignorelockingfailure]\n"
53c774b9 74 "\t[--ignoremonitoring]\n"
3e3d5d85 75 "\t[--monitor {y|n}]\n"
7a8fa6aa 76 "\t[--poll {y|n}]\n"
49886d09 77 "\t[--noudevsync]\n"
27f364af 78 "\t[-M|--persistent y|n] [--major major] [--minor minor]\n"
c80325ca
AK
79 "\t[-P|--partial] " "\n"
80 "\t[-p|--permission r|rw]\n"
b4068515 81 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
71b9fadf 82 "\t[--refresh]\n"
99f247f8 83 "\t[--resync]\n"
d50c6d4b 84 "\t[--sysinit]\n"
c80325ca
AK
85 "\t[-t|--test]\n"
86 "\t[-v|--verbose]\n"
04e023be 87 "\t[-y|--yes]\n"
48367c5b
ZK
88 "\t[--version]\n"
89 "\t[-Z|--zero {y|n}]\n"
269930c0
AK
90 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
91
2729720f
PR
92 alloc_ARG, autobackup_ARG, activate_ARG, available_ARG, contiguous_ARG,
93 force_ARG, ignorelockingfailure_ARG, ignoremonitoring_ARG, major_ARG,
94 minor_ARG, monitor_ARG, noudevsync_ARG, partial_ARG, permission_ARG,
95 persistent_ARG, poll_ARG, readahead_ARG, resync_ARG, refresh_ARG,
48367c5b
ZK
96 addtag_ARG, deltag_ARG, sysinit_ARG, test_ARG, yes_ARG,
97 discard_ARG, zero_ARG)
269930c0 98
1a1f3d3e
AK
99xx(lvconvert,
100 "Change logical volume layout",
bf7dea97 101 0,
1c8b86c7 102 "lvconvert "
7a369d37 103 "[-m|--mirrors Mirrors [{--mirrorlog {disk|core|mirrored}|--corelog}]]\n"
d3582e02 104 "\t[--type SegmentType]\n"
c26488d3 105 "\t[--repair [--use-policies]]\n"
0c506d9a 106 "\t[--replace PhysicalVolume]\n"
b42eb4c3 107 "\t[-R|--regionsize MirrorLogRegionSize]\n"
1a1f3d3e 108 "\t[--alloc AllocationPolicy]\n"
ba0c495d 109 "\t[-b|--background]\n"
1a1f3d3e 110 "\t[-d|--debug]\n"
476d4633 111 "\t[-f|--force]\n"
1a1f3d3e 112 "\t[-h|-?|--help]\n"
ba0c495d 113 "\t[-i|--interval seconds]\n"
68176be1 114 "\t[--stripes Stripes [-I|--stripesize StripeSize]]\n"
49886d09 115 "\t[--noudevsync]\n"
1a1f3d3e 116 "\t[-v|--verbose]\n"
476d4633 117 "\t[-y|--yes]\n"
1a1f3d3e 118 "\t[--version]" "\n"
1c8b86c7
AK
119 "\tLogicalVolume[Path] [PhysicalVolume[Path]...]\n\n"
120
72e07436 121 "lvconvert "
6d04311e 122 "[--splitmirrors Images --trackchanges]\n"
72e07436
JEB
123 "[--splitmirrors Images --name SplitLogicalVolumeName]\n"
124 "\tLogicalVolume[Path] [SplittablePhysicalVolume[Path]...]\n\n"
125
1c8b86c7
AK
126 "lvconvert "
127 "[-s|--snapshot]\n"
128 "\t[-c|--chunksize]\n"
129 "\t[-d|--debug]\n"
130 "\t[-h|-?|--help]\n"
49886d09 131 "\t[--noudevsync]\n"
1c8b86c7
AK
132 "\t[-v|--verbose]\n"
133 "\t[-Z|--zero {y|n}]\n"
134 "\t[--version]" "\n"
154b64d7
MS
135 "\tOriginalLogicalVolume[Path] SnapshotLogicalVolume[Path]\n\n"
136
137 "lvconvert "
138 "--merge\n"
139 "\t[-b|--background]\n"
140 "\t[-i|--interval seconds]\n"
141 "\t[-d|--debug]\n"
142 "\t[-h|-?|--help]\n"
143 "\t[-v|--verbose]\n"
0a9f894f
ZK
144 "\tLogicalVolume[Path]\n\n"
145
146 "lvconvert "
147 "--thinpool ThinPoolLogicalVolume[Path]\n"
148 "\t[--chunksize size]\n"
149 "\t[[--poolmetadatasize size] | ThinMetadataLogicalVolume[Path]]\n"
150 "\t[-z|--zero {y|n}]\n"
151 "\t[-d|--debug] [-h|-?|--help] [-v|--verbose]\n",
1a1f3d3e 152
ba0c495d 153 alloc_ARG, background_ARG, chunksize_ARG, corelog_ARG, interval_ARG,
154b64d7 154 merge_ARG, mirrorlog_ARG, mirrors_ARG, name_ARG, noudevsync_ARG,
0c506d9a
JEB
155 regionsize_ARG, repair_ARG, replace_ARG, snapshot_ARG, splitmirrors_ARG,
156 trackchanges_ARG, type_ARG, stripes_long_ARG, stripesize_ARG, test_ARG,
0a9f894f 157 chunksize_ARG, poolmetadatasize_ARG, thinpool_ARG,
154b64d7 158 use_policies_ARG, yes_ARG, force_ARG, zero_ARG)
1a1f3d3e 159
269930c0
AK
160xx(lvcreate,
161 "Create a logical volume",
bf7dea97 162 0,
03888774 163 "lvcreate " "\n"
0eb83127 164 "\t[-A|--autobackup {y|n}]\n"
a2f4ccd8 165 "\t[-a|--activate [a|e|l]{y|n}]\n"
cf6dd251 166 "\t[--addtag Tag]\n"
63bea03e 167 "\t[--alloc AllocationPolicy]\n"
0eb83127
JT
168 "\t[-C|--contiguous {y|n}]\n"
169 "\t[-d|--debug]\n"
c80325ca 170 "\t[-h|-?|--help]\n"
a6bc975a
MS
171 "\t[--ignoremonitoring]\n"
172 "\t[--monitor {y|n}]\n"
0eb83127 173 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 174 "\t{-l|--extents LogicalExtentsNumber[%{VG|PVS|FREE}] |\n"
c1060e13 175 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
27f364af 176 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
7a369d37 177 "\t[-m|--mirrors Mirrors [--nosync] [{--mirrorlog {disk|core|mirrored}|--corelog}]]\n"
0eb83127 178 "\t[-n|--name LogicalVolumeName]\n"
49886d09 179 "\t[--noudevsync]\n"
0eb83127 180 "\t[-p|--permission {r|rw}]\n"
b4068515 181 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
60f13f01 182 "\t[-R|--regionsize MirrorLogRegionSize]\n"
ebbf7d8e
ZK
183 "\t[-T|--thin [-c|--chunksize ChunkSize]\n"
184 "\t [--discard {ignore|nopassdown|passdown}]\n"
185 "\t [--poolmetadatasize MetadataSize[bBsSkKmMgG]]]\n"
186 "\t[--thinpool ThinPoolLogicalVolume{Name|Path}]\n"
0eb83127 187 "\t[-t|--test]\n"
1832f310 188 "\t[--type VolumeType]\n"
0eb83127
JT
189 "\t[-v|--verbose]\n"
190 "\t[-Z|--zero {y|n}]\n"
191 "\t[--version]\n"
c80325ca 192 "\tVolumeGroupName [PhysicalVolumePath...]\n\n"
8b46b545 193
154753db
AK
194 "lvcreate \n"
195 "\t{ {-s|--snapshot} OriginalLogicalVolume[Path] |\n"
f1c2a5af 196 "\t [-s|--snapshot] VolumeGroupName[Path] -V|--virtualsize VirtualSize}\n"
9ac61d2b
AK
197 "\t {-T|--thin} VolumeGroupName[Path][/PoolLogicalVolume] \n"
198 "\t -V|--virtualsize VirtualSize}\n"
8b46b545
HM
199 "\t[-c|--chunksize]\n"
200 "\t[-A|--autobackup {y|n}]\n"
cf6dd251 201 "\t[--addtag Tag]\n"
63bea03e 202 "\t[--alloc AllocationPolicy]\n"
8b46b545
HM
203 "\t[-C|--contiguous {y|n}]\n"
204 "\t[-d|--debug]\n"
c80325ca 205 "\t[-h|-?|--help]\n"
a6bc975a
MS
206 "\t[--ignoremonitoring]\n"
207 "\t[--monitor {y|n}]\n"
8b46b545 208 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 209 "\t{-l|--extents LogicalExtentsNumber[%{VG|FREE|ORIGIN}] |\n"
c1060e13 210 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
b8cac455 211 "\t[--poolmetadatasize Size[bBsSkKmMgG]]\n"
27f364af 212 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
8b46b545 213 "\t[-n|--name LogicalVolumeName]\n"
49886d09 214 "\t[--noudevsync]\n"
8b46b545 215 "\t[-p|--permission {r|rw}]\n"
b4068515 216 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
8b46b545 217 "\t[-t|--test]\n"
9ac61d2b 218 "\t[--thinpool] PoolLogicalVolume\n"
8b46b545
HM
219 "\t[-v|--verbose]\n"
220 "\t[--version]\n"
154753db 221
87f42fda 222 "\t[PhysicalVolumePath...]\n\n",
a03f2320 223
2729720f 224 addtag_ARG, alloc_ARG, autobackup_ARG, activate_ARG, available_ARG,
ebbf7d8e 225 chunksize_ARG, contiguous_ARG, corelog_ARG, extents_ARG, discard_ARG,
2729720f
PR
226 ignoremonitoring_ARG, major_ARG, minor_ARG, mirrorlog_ARG, mirrors_ARG,
227 monitor_ARG, name_ARG, nosync_ARG, noudevsync_ARG, permission_ARG,
228 persistent_ARG, readahead_ARG, regionsize_ARG, size_ARG, snapshot_ARG,
229 stripes_ARG, stripesize_ARG, test_ARG, thin_ARG, thinpool_ARG, type_ARG,
230 virtualoriginsize_ARG, poolmetadatasize_ARG, virtualsize_ARG, zero_ARG)
269930c0
AK
231
232xx(lvdisplay,
233 "Display information about a logical volume",
b83af516 234 PERMITTED_READ_ONLY,
269930c0 235 "lvdisplay\n"
8211a13c 236 "\t[-a|--all]\n"
c80325ca
AK
237 "\t[-c|--colon]\n"
238 "\t[-d|--debug]\n"
239 "\t[-h|--help]\n"
8b46b545 240 "\t[--ignorelockingfailure]\n"
c80325ca 241 "\t[-m|--maps]\n"
4c64ed4c 242 "\t[--nosuffix]\n"
c80325ca 243 "\t[-P|--partial] " "\n"
7c638cc2 244 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
c80325ca 245 "\t[-v|--verbose]\n"
4c64ed4c
AK
246 "\t[--version]" "\n"
247 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n"
248 "\n"
249 "lvdisplay --columns|-C\n"
250 "\t[--aligned]\n"
8211a13c 251 "\t[-a|--all]\n"
4c64ed4c
AK
252 "\t[-d|--debug]\n"
253 "\t[-h|--help]\n"
254 "\t[--ignorelockingfailure]\n"
255 "\t[--noheadings]\n"
256 "\t[--nosuffix]\n"
257 "\t[-o|--options [+]Field[,Field]]\n"
258 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
259 "\t[-P|--partial] " "\n"
260 "\t[--segments]\n"
261 "\t[--separator Separator]\n"
262 "\t[--unbuffered]\n"
7c638cc2 263 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
4c64ed4c
AK
264 "\t[-v|--verbose]\n"
265 "\t[--version]" "\n"
266 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
269930c0 267
7c638cc2 268 aligned_ARG, all_ARG, colon_ARG, columns_ARG,
8211a13c
AK
269 ignorelockingfailure_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG,
270 options_ARG, sort_ARG, partial_ARG, segments_ARG, separator_ARG,
271 unbuffered_ARG, units_ARG)
269930c0
AK
272
273xx(lvextend,
274 "Add space to a logical volume",
bf7dea97 275 0,
269930c0 276 "lvextend\n"
c80325ca 277 "\t[-A|--autobackup y|n]\n"
63bea03e 278 "\t[--alloc AllocationPolicy]\n"
c80325ca 279 "\t[-d|--debug]\n"
dc868e56 280 "\t[-f|--force]\n"
c80325ca 281 "\t[-h|--help]\n"
52dc2139 282 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 283 "\t{-l|--extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
c1060e13 284 "\t -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
ffb0e538 285 "\t[-m|--mirrors Mirrors]\n"
a80192b6 286 "\t[--nosync]\n"
a341cab7 287 "\t[--use-policies]\n"
1a9ea74d 288 "\t[-n|--nofsck]\n"
49886d09 289 "\t[--noudevsync]\n"
1a9ea74d 290 "\t[-r|--resizefs]\n"
c80325ca 291 "\t[-t|--test]\n"
1832f310 292 "\t[--type VolumeType]\n"
c80325ca 293 "\t[-v|--verbose]\n"
4c64ed4c 294 "\t[--version]" "\n"
269930c0
AK
295 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
296
dc868e56 297 alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, mirrors_ARG,
a80192b6 298 nofsck_ARG, nosync_ARG, noudevsync_ARG, resizefs_ARG, size_ARG, stripes_ARG,
a341cab7 299 stripesize_ARG, test_ARG, type_ARG, use_policies_ARG)
269930c0
AK
300
301xx(lvmchange,
a03f2320 302 "With the device mapper, this is obsolete and does nothing.",
bf7dea97 303 0,
03888774 304 "lvmchange\n"
c80325ca
AK
305 "\t[-d|--debug]\n"
306 "\t[-h|--help]\n"
307 "\t[-R|--reset]\n"
4c64ed4c
AK
308 "\t[-v|--verbose]\n"
309 "\t[--version]" "\n",
269930c0 310
a03f2320 311 reset_ARG)
269930c0
AK
312
313xx(lvmdiskscan,
314 "List devices that may be used as physical volumes",
b83af516 315 PERMITTED_READ_ONLY,
269930c0 316 "lvmdiskscan\n"
c80325ca
AK
317 "\t[-d|--debug]\n"
318 "\t[-h|--help]\n"
4c64ed4c
AK
319 "\t[-l|--lvmpartition]\n"
320 "\t[--version]" "\n",
269930c0
AK
321
322 lvmpartition_ARG)
323
324xx(lvmsadc,
325 "Collect activity data",
bf7dea97 326 0,
269930c0 327 "lvmsadc\n"
c80325ca
AK
328 "\t[-d|--debug]\n"
329 "\t[-h|--help]\n"
330 "\t[-v|--verbose]\n"
4c64ed4c 331 "\t[--version]" "\n"
269930c0
AK
332 "\t[LogFilePath]\n" )
333
334xx(lvmsar,
335 "Create activity report",
bf7dea97 336 0,
269930c0 337 "lvmsar\n"
c80325ca
AK
338 "\t[-d|--debug]\n"
339 "\t[-f|--full]\n"
340 "\t[-h|--help]\n"
341 "\t[-s|--stdin]\n"
342 "\t[-v|--verbose]\n"
4c64ed4c 343 "\t[--version]" "\n"
269930c0
AK
344 "\tLogFilePath\n",
345
8b46b545 346 full_ARG, stdin_ARG)
269930c0
AK
347
348xx(lvreduce,
349 "Reduce the size of a logical volume",
bf7dea97 350 0,
269930c0 351 "lvreduce\n"
c80325ca
AK
352 "\t[-A|--autobackup y|n]\n"
353 "\t[-d|--debug]\n"
354 "\t[-f|--force]\n"
355 "\t[-h|--help]\n"
5bc2af26 356 "\t{-l|--extents [-]LogicalExtentsNumber[%{VG|LV|FREE|ORIGIN}] |\n"
c1060e13 357 "\t -L|--size [-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
1a9ea74d 358 "\t[-n|--nofsck]\n"
49886d09 359 "\t[--noudevsync]\n"
1a9ea74d 360 "\t[-r|--resizefs]\n"
c80325ca
AK
361 "\t[-t|--test]\n"
362 "\t[-v|--verbose]\n"
04e023be 363 "\t[-y|--yes]\n"
4c64ed4c 364 "\t[--version]" "\n"
269930c0
AK
365 "\tLogicalVolume[Path]\n",
366
49886d09
PR
367 autobackup_ARG, force_ARG, extents_ARG, nofsck_ARG, noudevsync_ARG,
368 resizefs_ARG, size_ARG, test_ARG, yes_ARG)
269930c0
AK
369
370xx(lvremove,
371 "Remove logical volume(s) from the system",
bf7dea97 372 0,
269930c0 373 "lvremove\n"
c80325ca
AK
374 "\t[-A|--autobackup y|n]\n"
375 "\t[-d|--debug]\n"
376 "\t[-f|--force]\n"
377 "\t[-h|--help]\n"
49886d09 378 "\t[--noudevsync]\n"
c80325ca
AK
379 "\t[-t|--test]\n"
380 "\t[-v|--verbose]\n"
4c64ed4c 381 "\t[--version]" "\n"
269930c0
AK
382 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
383
49886d09 384 autobackup_ARG, force_ARG, noudevsync_ARG, test_ARG)
269930c0
AK
385
386xx(lvrename,
387 "Rename a logical volume",
bf7dea97 388 0,
33d6fe9b 389 "lvrename\n"
a03f2320
AK
390 "\t[-A|--autobackup {y|n}] " "\n"
391 "\t[-d|--debug] " "\n"
c80325ca 392 "\t[-h|-?|--help] " "\n"
49886d09 393 "\t[--noudevsync]\n"
a03f2320
AK
394 "\t[-t|--test] " "\n"
395 "\t[-v|--verbose]" "\n"
396 "\t[--version] " "\n"
397 "\t{ OldLogicalVolumePath NewLogicalVolumePath |" "\n"
398 "\t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName }\n",
269930c0 399
49886d09 400 autobackup_ARG, noudevsync_ARG, test_ARG)
269930c0 401
03a8a07d
AK
402xx(lvresize,
403 "Resize a logical volume",
bf7dea97 404 0,
03a8a07d 405 "lvresize\n"
c80325ca 406 "\t[-A|--autobackup y|n]\n"
63bea03e 407 "\t[--alloc AllocationPolicy]\n"
c80325ca 408 "\t[-d|--debug]\n"
dc868e56 409 "\t[-f|--force]\n"
c80325ca 410 "\t[-h|--help]\n"
52dc2139 411 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 412 "\t{-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
c1060e13 413 "\t -L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
1a9ea74d 414 "\t[-n|--nofsck]\n"
49886d09 415 "\t[--noudevsync]\n"
1a9ea74d 416 "\t[-r|--resizefs]\n"
c2d72fd4 417 "\t[-t|--test]\n"
1832f310 418 "\t[--type VolumeType]\n"
c80325ca 419 "\t[-v|--verbose]\n"
4c64ed4c 420 "\t[--version]" "\n"
03a8a07d
AK
421 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
422
dc868e56 423 alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, nofsck_ARG,
49886d09
PR
424 noudevsync_ARG, resizefs_ARG, size_ARG, stripes_ARG, stripesize_ARG,
425 test_ARG, type_ARG)
03a8a07d 426
4c64ed4c
AK
427xx(lvs,
428 "Display information about logical volumes",
b83af516 429 PERMITTED_READ_ONLY,
4c64ed4c 430 "lvs" "\n"
8211a13c 431 "\t[-a|--all]\n"
4c64ed4c
AK
432 "\t[--aligned]\n"
433 "\t[-d|--debug]\n"
434 "\t[-h|--help]\n"
435 "\t[--ignorelockingfailure]\n"
ec40d928 436 "\t[--nameprefixes]\n"
4c64ed4c
AK
437 "\t[--noheadings]\n"
438 "\t[--nosuffix]\n"
439 "\t[-o|--options [+]Field[,Field]]\n"
440 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
441 "\t[-P|--partial] " "\n"
1f787aca 442 "\t[--rows]\n"
4c64ed4c
AK
443 "\t[--segments]\n"
444 "\t[--separator Separator]\n"
e3ad1d19 445 "\t[--trustcache]\n"
4c64ed4c 446 "\t[--unbuffered]\n"
7c638cc2 447 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
30ef4c73 448 "\t[--unquoted]\n"
4c64ed4c
AK
449 "\t[-v|--verbose]\n"
450 "\t[--version]" "\n"
451 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
3e3d5d85 452
ec40d928
AK
453 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
454 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1f787aca
AK
455 rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG,
456 unbuffered_ARG, units_ARG, unquoted_ARG)
4c64ed4c 457
269930c0
AK
458xx(lvscan,
459 "List all logical volumes in all volume groups",
b83af516 460 PERMITTED_READ_ONLY,
a03f2320 461 "lvscan " "\n"
191abde9 462 "\t[-a|--all]\n"
a03f2320
AK
463 "\t[-b|--blockdevice] " "\n"
464 "\t[-d|--debug] " "\n"
c80325ca 465 "\t[-h|-?|--help] " "\n"
8b46b545 466 "\t[--ignorelockingfailure]\n"
6b4c9ff7 467 "\t[-P|--partial] " "\n"
a03f2320
AK
468 "\t[-v|--verbose] " "\n"
469 "\t[--version]\n",
269930c0 470
7c638cc2 471 all_ARG, blockdevice_ARG, ignorelockingfailure_ARG, partial_ARG)
269930c0
AK
472
473xx(pvchange,
474 "Change attributes of physical volume(s)",
bf7dea97 475 0,
269930c0 476 "pvchange\n"
15e6db35 477 "\t[-a|--all]\n"
c80325ca
AK
478 "\t[-A|--autobackup y|n]\n"
479 "\t[-d|--debug]\n"
96c3c464 480 "\t[-f|--force]\n"
c80325ca 481 "\t[-h|--help]\n"
c2d72fd4 482 "\t[-t|--test]\n"
15e6db35 483 "\t[-u|--uuid]\n"
c80325ca 484 "\t[-x|--allocatable y|n]\n"
88fc1b14 485 "\t[--metadataignore y|n]\n"
15e6db35 486 "\t[-v|--verbose]\n"
cf6dd251
AK
487 "\t[--addtag Tag]\n"
488 "\t[--deltag Tag]\n"
15e6db35 489 "\t[--version]" "\n"
269930c0
AK
490 "\t[PhysicalVolumePath...]\n",
491
cf6dd251 492 all_ARG, allocatable_ARG, allocation_ARG, autobackup_ARG, deltag_ARG,
96c3c464 493 addtag_ARG, force_ARG, metadataignore_ARG, test_ARG, uuid_ARG)
269930c0 494
3bf5f6f5
AK
495xx(pvresize,
496 "Resize physical volume(s)",
bf7dea97 497 0,
3bf5f6f5
AK
498 "pvresize " "\n"
499 "\t[-d|--debug]" "\n"
500 "\t[-h|-?|--help] " "\n"
c1060e13 501 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
3bf5f6f5
AK
502 "\t[-t|--test] " "\n"
503 "\t[-v|--verbose] " "\n"
504 "\t[--version] " "\n"
505 "\tPhysicalVolume [PhysicalVolume...]\n",
506
507 physicalvolumesize_ARG, test_ARG)
508
cc5a4e1d
DW
509xx(pvck,
510 "Check the consistency of physical volume(s)",
bf7dea97 511 0,
cc5a4e1d
DW
512 "pvck "
513 "\t[-d|--debug]\n"
514 "\t[-h|--help]\n"
d915579c 515 "\t[--labelsector sector] " "\n"
cc5a4e1d
DW
516 "\t[-v|--verbose]\n"
517 "\t[--version]" "\n"
d915579c
DW
518 "\tPhysicalVolume [PhysicalVolume...]\n",
519
520 labelsector_ARG)
cc5a4e1d 521
269930c0
AK
522xx(pvcreate,
523 "Initialize physical volume(s) for use by LVM",
bf7dea97 524 0,
a03f2320 525 "pvcreate " "\n"
dff22466 526 "\t[--norestorefile]\n"
5a52dca9 527 "\t[--restorefile file]\n"
a03f2320
AK
528 "\t[-d|--debug]" "\n"
529 "\t[-f[f]|--force [--force]] " "\n"
c80325ca 530 "\t[-h|-?|--help] " "\n"
5a52dca9
AK
531 "\t[--labelsector sector] " "\n"
532 "\t[-M|--metadatatype 1|2]" "\n"
0ddb66ef 533 "\t[--pvmetadatacopies #copies]" "\n"
c1060e13
MS
534 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
535 "\t[--dataalignment Alignment[bBsSkKmMgGtTpPeE]]" "\n"
04b2a4bd 536 "\t[--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]]" "\n"
c1060e13 537 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
a03f2320 538 "\t[-t|--test] " "\n"
add7dc2d 539 "\t[-u|--uuid uuid] " "\n"
a03f2320 540 "\t[-v|--verbose] " "\n"
5a52dca9 541 "\t[-y|--yes]" "\n"
2245e1c4 542 "\t[-Z|--zero {y|n}]\n"
a03f2320
AK
543 "\t[--version] " "\n"
544 "\tPhysicalVolume [PhysicalVolume...]\n",
269930c0 545
04b2a4bd 546 dataalignment_ARG, dataalignmentoffset_ARG, force_ARG, test_ARG,
dff22466
MS
547 labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
548 metadatasize_ARG, metadataignore_ARG, norestorefile_ARG,
549 physicalvolumesize_ARG, pvmetadatacopies_ARG,
a5bf7001 550 restorefile_ARG, uuidstr_ARG, yes_ARG, zero_ARG)
269930c0
AK
551
552xx(pvdata,
553 "Display the on-disk metadata for physical volume(s)",
bf7dea97 554 0,
a03f2320
AK
555 "pvdata " "\n"
556 "\t[-a|--all] " "\n"
557 "\t[-d|--debug] " "\n"
558 "\t[-E|--physicalextent] " "\n"
c80325ca 559 "\t[-h|-?|--help]" "\n"
a03f2320
AK
560 "\t[-L|--logicalvolume] " "\n"
561 "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n"
562 "\t[-U|--uuidlist] " "\n"
563 "\t[-v[v]|--verbose [--verbose]] " "\n"
564 "\t[-V|--volumegroup]" "\n"
565 "\t[--version] " "\n"
566 "\tPhysicalVolume [PhysicalVolume...]\n",
269930c0
AK
567
568 all_ARG, logicalextent_ARG, physicalextent_ARG,
569 physicalvolume_ARG, uuidlist_ARG, volumegroup_ARG)
570
571xx(pvdisplay,
4c64ed4c 572 "Display various attributes of physical volume(s)",
b83af516 573 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
269930c0 574 "pvdisplay\n"
c80325ca
AK
575 "\t[-c|--colon]\n"
576 "\t[-d|--debug]\n"
577 "\t[-h|--help]\n"
8b46b545 578 "\t[--ignorelockingfailure]\n"
c80325ca 579 "\t[-m|--maps]\n"
4c64ed4c 580 "\t[--nosuffix]\n"
c80325ca 581 "\t[-s|--short]\n"
7c638cc2 582 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
c80325ca 583 "\t[-v|--verbose]\n"
4c64ed4c
AK
584 "\t[--version]" "\n"
585 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n"
586 "\n"
587 "pvdisplay --columns|-C\n"
588 "\t[--aligned]\n"
200ef4db 589 "\t[-a|--all]\n"
4c64ed4c
AK
590 "\t[-d|--debug]\n"
591 "\t[-h|--help]\n"
592 "\t[--ignorelockingfailure]\n"
593 "\t[--noheadings]\n"
594 "\t[--nosuffix]\n"
595 "\t[-o|--options [+]Field[,Field]]\n"
596 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
597 "\t[--separator Separator]\n"
598 "\t[--unbuffered]\n"
7c638cc2 599 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
4c64ed4c
AK
600 "\t[-v|--verbose]\n"
601 "\t[--version]" "\n"
602 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
269930c0 603
200ef4db
AK
604 aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
605 maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG,
606 short_ARG, sort_ARG, unbuffered_ARG, units_ARG)
269930c0 607
269930c0
AK
608xx(pvmove,
609 "Move extents from one physical volume to another",
bf7dea97 610 0,
43ecb8ff 611 "pvmove " "\n"
3a61b054 612 "\t[--abort]\n"
43ecb8ff 613 "\t[-A|--autobackup {y|n}]\n"
63bea03e 614 "\t[--alloc AllocationPolicy]\n"
3a61b054 615 "\t[-b|--background]\n"
43ecb8ff 616 "\t[-d|--debug]\n "
43ecb8ff
AK
617 "\t[-h|-?|--help]\n"
618 "\t[-i|--interval seconds]\n"
49886d09 619 "\t[--noudevsync]\n"
43ecb8ff
AK
620 "\t[-t|--test]\n "
621 "\t[-v|--verbose]\n "
622 "\t[--version]\n"
57c74fb5 623 "\t[{-n|--name} LogicalVolume]\n"
43ecb8ff 624/* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */
9bd40d31 625 "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n"
43ecb8ff 626 "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
269930c0 627
3e3d5d85 628 abort_ARG, alloc_ARG, autobackup_ARG, background_ARG,
49886d09 629 interval_ARG, name_ARG, noudevsync_ARG, test_ARG)
269930c0 630
5a52dca9
AK
631xx(pvremove,
632 "Remove LVM label(s) from physical volume(s)",
bf7dea97 633 0,
5a52dca9
AK
634 "pvremove " "\n"
635 "\t[-d|--debug]" "\n"
636 "\t[-f[f]|--force [--force]] " "\n"
c80325ca 637 "\t[-h|-?|--help] " "\n"
5a52dca9
AK
638 "\t[-t|--test] " "\n"
639 "\t[-v|--verbose] " "\n"
640 "\t[-y|--yes]" "\n"
641 "\t[--version] " "\n"
642 "\tPhysicalVolume [PhysicalVolume...]\n",
643
644 force_ARG, test_ARG, yes_ARG)
645
4c64ed4c
AK
646xx(pvs,
647 "Display information about physical volumes",
b83af516 648 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
4c64ed4c 649 "pvs" "\n"
c29d2465 650 "\t[-a|--all]\n"
7c638cc2 651 "\t[--aligned]\n"
4c64ed4c
AK
652 "\t[-d|--debug]" "\n"
653 "\t[-h|-?|--help] " "\n"
4c64ed4c 654 "\t[--ignorelockingfailure]\n"
ec40d928
AK
655 "\t[--nameprefixes]\n"
656 "\t[--noheadings]\n"
4c64ed4c
AK
657 "\t[--nosuffix]\n"
658 "\t[-o|--options [+]Field[,Field]]\n"
659 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
f855ac38 660 "\t[-P|--partial] " "\n"
1f787aca 661 "\t[--rows]\n"
c54a9405 662 "\t[--segments]\n"
4c64ed4c 663 "\t[--separator Separator]\n"
e3ad1d19 664 "\t[--trustcache]\n"
4c64ed4c 665 "\t[--unbuffered]\n"
7c638cc2 666 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
30ef4c73 667 "\t[--unquoted]\n"
4c64ed4c
AK
668 "\t[-v|--verbose]\n"
669 "\t[--version]\n"
670 "\t[PhysicalVolume [PhysicalVolume...]]\n",
3e3d5d85 671
ec40d928
AK
672 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
673 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1f787aca
AK
674 rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG,
675 unbuffered_ARG, units_ARG, unquoted_ARG)
4c64ed4c 676
269930c0
AK
677xx(pvscan,
678 "List all physical volumes",
b83af516 679 PERMITTED_READ_ONLY,
a03f2320 680 "pvscan " "\n"
d2df8ddd 681 "\t[-a|--activate ay]\n"
fa25bdc3 682 "\t[--cache [ DevicePath | --major major --minor minor]...]\n"
a03f2320 683 "\t[-d|--debug] " "\n"
c80325ca
AK
684 "\t{-e|--exported | -n|--novolumegroup} " "\n"
685 "\t[-h|-?|--help]" "\n"
8b46b545 686 "\t[--ignorelockingfailure]\n"
6b4c9ff7 687 "\t[-P|--partial] " "\n"
a03f2320
AK
688 "\t[-s|--short] " "\n"
689 "\t[-u|--uuid] " "\n"
690 "\t[-v|--verbose] " "\n"
691 "\t[--version]\n",
269930c0 692
d2df8ddd
PR
693 activate_ARG, available_ARG, cache_ARG, exported_ARG,
694 ignorelockingfailure_ARG, major_ARG, minor_ARG,
b343d75a 695 novolumegroup_ARG, partial_ARG, short_ARG, uuid_ARG)
269930c0 696
156dd4f1
AK
697xx(segtypes,
698 "List available segment types",
b83af516 699 PERMITTED_READ_ONLY,
156dd4f1
AK
700 "segtypes\n")
701
269930c0
AK
702xx(vgcfgbackup,
703 "Backup volume group configuration(s)",
b83af516 704 PERMITTED_READ_ONLY,
a03f2320
AK
705 "vgcfgbackup " "\n"
706 "\t[-d|--debug] " "\n"
952d12a5 707 "\t[-f|--file filename] " "\n"
c80325ca 708 "\t[-h|-?|--help] " "\n"
8b46b545 709 "\t[--ignorelockingfailure]\n"
407332cb 710 "\t[-P|--partial] " "\n"
a03f2320 711 "\t[-v|--verbose]" "\n"
4c64ed4c 712 "\t[--version] " "\n"
2041d905 713 "\t[VolumeGroupName...]\n",
8b46b545
HM
714
715 file_ARG, ignorelockingfailure_ARG, partial_ARG)
269930c0
AK
716
717xx(vgcfgrestore,
718 "Restore volume group configuration",
bf7dea97 719 0,
a03f2320
AK
720 "vgcfgrestore " "\n"
721 "\t[-d|--debug] " "\n"
952d12a5 722 "\t[-f|--file filename] " "\n"
a03f2320 723 "\t[-l[l]|--list [--list]]" "\n"
5a52dca9 724 "\t[-M|--metadatatype 1|2]" "\n"
a03f2320 725 "\t[-h|--help]" "\n"
a03f2320
AK
726 "\t[-t|--test] " "\n"
727 "\t[-v|--verbose]" "\n"
728 "\t[--version] " "\n"
288adea2 729 "\tVolumeGroupName",
269930c0 730
ff403ee2 731 file_ARG, list_ARG, metadatatype_ARG, test_ARG)
269930c0
AK
732
733xx(vgchange,
734 "Change volume group attributes",
b83af516 735 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
a03f2320
AK
736 "vgchange" "\n"
737 "\t[-A|--autobackup {y|n}] " "\n"
63bea03e 738 "\t[--alloc AllocationPolicy] " "\n"
f53c6aa6 739 "\t[-P|--partial] " "\n"
a03f2320
AK
740 "\t[-d|--debug] " "\n"
741 "\t[-h|--help] " "\n"
8b46b545 742 "\t[--ignorelockingfailure]\n"
53c774b9 743 "\t[--ignoremonitoring]\n"
3e3d5d85 744 "\t[--monitor {y|n}]\n"
1779cc34 745 "\t[--[vg]metadatacopies #copies] " "\n"
7a8fa6aa 746 "\t[--poll {y|n}]\n"
49886d09 747 "\t[--noudevsync]\n"
da1ba4ed 748 "\t[--refresh]\n"
d50c6d4b 749 "\t[--sysinit]\n"
a03f2320 750 "\t[-t|--test]" "\n"
15e6db35 751 "\t[-u|--uuid] " "\n"
a03f2320
AK
752 "\t[-v|--verbose] " "\n"
753 "\t[--version]" "\n"
215a314f 754 "\t{-a|--activate [a|e|l]{y|n} |" "\n"
343a8c92 755 "\t -c|--clustered {y|n} |" "\n"
b80f32dd 756 "\t -x|--resizeable {y|n} |" "\n"
cf6dd251 757 "\t -l|--logicalvolume MaxLogicalVolumes |" "\n"
e95d8284 758 "\t -p|--maxphysicalvolumes MaxPhysicalVolumes |" "\n"
c1060e13 759 "\t -s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE] |" "\n"
cf6dd251
AK
760 "\t --addtag Tag |\n"
761 "\t --deltag Tag}\n"
a03f2320 762 "\t[VolumeGroupName...]\n",
269930c0 763
2729720f
PR
764 addtag_ARG, alloc_ARG, allocation_ARG, autobackup_ARG, activate_ARG,
765 available_ARG, clustered_ARG, deltag_ARG, ignorelockingfailure_ARG,
766 ignoremonitoring_ARG, logicalvolume_ARG, maxphysicalvolumes_ARG,
767 monitor_ARG, noudevsync_ARG, metadatacopies_ARG, vgmetadatacopies_ARG,
768 partial_ARG, physicalextentsize_ARG, poll_ARG, refresh_ARG, resizeable_ARG,
d50c6d4b 769 resizable_ARG, sysinit_ARG, test_ARG, uuid_ARG)
269930c0
AK
770
771xx(vgck,
772 "Check the consistency of volume group(s)",
bf7dea97 773 0,
269930c0 774 "vgck "
c80325ca
AK
775 "\t[-d|--debug]\n"
776 "\t[-h|--help]\n"
777 "\t[-v|--verbose]\n"
43ecb8ff 778 "\t[--version]" "\n"
269930c0
AK
779 "\t[VolumeGroupName...]\n" )
780
5a52dca9
AK
781xx(vgconvert,
782 "Change volume group metadata format",
bf7dea97 783 0,
5a52dca9
AK
784 "vgconvert " "\n"
785 "\t[-d|--debug]" "\n"
786 "\t[-h|--help] " "\n"
787 "\t[--labelsector sector] " "\n"
788 "\t[-M|--metadatatype 1|2]" "\n"
0ddb66ef 789 "\t[--pvmetadatacopies #copies]" "\n"
c1060e13 790 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
5a52dca9
AK
791 "\t[-t|--test] " "\n"
792 "\t[-v|--verbose] " "\n"
793 "\t[--version] " "\n"
794 "\tVolumeGroupName [VolumeGroupName...]\n",
795
796 force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
0ddb66ef 797 pvmetadatacopies_ARG, metadatasize_ARG )
5a52dca9 798
269930c0
AK
799xx(vgcreate,
800 "Create a volume group",
bf7dea97 801 0,
a03f2320
AK
802 "vgcreate" "\n"
803 "\t[-A|--autobackup {y|n}] " "\n"
cf6dd251 804 "\t[--addtag Tag] " "\n"
63bea03e 805 "\t[--alloc AllocationPolicy] " "\n"
147b7d5e 806 "\t[-c|--clustered {y|n}] " "\n"
a03f2320 807 "\t[-d|--debug]" "\n"
25b73380 808 "\t[-h|--help]" "\n"
a03f2320 809 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
5a52dca9 810 "\t[-M|--metadatatype 1|2] " "\n"
9e111ef6 811 "\t[--[vg]metadatacopies #copies] " "\n"
a03f2320 812 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
c1060e13 813 "\t[-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]] " "\n"
a03f2320
AK
814 "\t[-t|--test] " "\n"
815 "\t[-v|--verbose]" "\n"
816 "\t[--version] " "\n"
a7dfe4f2
DW
817 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
818 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
269930c0 819
343a8c92 820 addtag_ARG, alloc_ARG, autobackup_ARG, clustered_ARG, maxlogicalvolumes_ARG,
2e201936
DW
821 maxphysicalvolumes_ARG, metadatatype_ARG, physicalextentsize_ARG, test_ARG,
822 force_ARG, yes_ARG, zero_ARG, labelsector_ARG, metadatasize_ARG,
9e111ef6
DW
823 pvmetadatacopies_ARG, metadatacopies_ARG, vgmetadatacopies_ARG,
824 dataalignment_ARG, dataalignmentoffset_ARG)
269930c0
AK
825
826xx(vgdisplay,
827 "Display volume group information",
b83af516 828 PERMITTED_READ_ONLY,
a03f2320 829 "vgdisplay " "\n"
7c638cc2 830 "\t[-A|--activevolumegroups]" "\n"
a03f2320
AK
831 "\t[-c|--colon | -s|--short | -v|--verbose]" "\n"
832 "\t[-d|--debug] " "\n"
833 "\t[-h|--help] " "\n"
5a52dca9 834 "\t[--ignorelockingfailure]" "\n"
4c64ed4c 835 "\t[--nosuffix]\n"
7ae5a778 836 "\t[-P|--partial] " "\n"
7c638cc2 837 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
7ae5a778 838 "\t[--version]" "\n"
4c64ed4c
AK
839 "\t[VolumeGroupName [VolumeGroupName...]]\n"
840 "\n"
841 "vgdisplay --columns|-C\n"
842 "\t[--aligned]\n"
843 "\t[-d|--debug] " "\n"
844 "\t[-h|--help] " "\n"
845 "\t[--ignorelockingfailure]" "\n"
846 "\t[--noheadings]\n"
847 "\t[--nosuffix]\n"
848 "\t[-o|--options [+]Field[,Field]]\n"
849 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
850 "\t[-P|--partial] " "\n"
851 "\t[--separator Separator]\n"
852 "\t[--unbuffered]\n"
7c638cc2 853 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
4c64ed4c
AK
854 "\t[--verbose]" "\n"
855 "\t[--version]" "\n"
856 "\t[VolumeGroupName [VolumeGroupName...]]\n",
269930c0 857
7c638cc2 858 activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG,
4c64ed4c 859 ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, options_ARG,
bc0d0ce0 860 partial_ARG, short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG)
269930c0
AK
861
862xx(vgexport,
863 "Unregister volume group(s) from the system",
bf7dea97 864 0,
a03f2320
AK
865 "vgexport " "\n"
866 "\t[-a|--all] " "\n"
867 "\t[-d|--debug] " "\n"
868 "\t[-h|--help]" "\n"
869 "\t[-v|--verbose] " "\n"
870 "\t[--version] " "\n"
871 "\tVolumeGroupName [VolumeGroupName...]\n",
269930c0 872
c2d72fd4 873 all_ARG, test_ARG)
269930c0
AK
874
875xx(vgextend,
876 "Add physical volumes to a volume group",
bf7dea97 877 0,
269930c0 878 "vgextend\n"
c80325ca 879 "\t[-A|--autobackup y|n]\n"
49908a9a 880 "\t[--restoremissing]\n"
c80325ca 881 "\t[-d|--debug]\n"
96c3c464 882 "\t[-f|--force]\n"
c80325ca
AK
883 "\t[-h|--help]\n"
884 "\t[-t|--test]\n"
885 "\t[-v|--verbose]\n"
4c64ed4c 886 "\t[--version]" "\n"
a7dfe4f2 887 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
a03f2320 888 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
269930c0 889
2e201936
DW
890 autobackup_ARG, test_ARG,
891 force_ARG, yes_ARG, zero_ARG, labelsector_ARG, metadatatype_ARG,
0ddb66ef 892 metadatasize_ARG, pvmetadatacopies_ARG, metadatacopies_ARG,
49908a9a
PR
893 metadataignore_ARG, dataalignment_ARG, dataalignmentoffset_ARG,
894 restoremissing_ARG)
269930c0
AK
895
896xx(vgimport,
897 "Register exported volume group with system",
bf7dea97 898 0,
a03f2320 899 "vgimport " "\n"
c80325ca 900 "\t[-a|--all]\n"
a03f2320
AK
901 "\t[-d|--debug] " "\n"
902 "\t[-f|--force] " "\n"
903 "\t[-h|--help] " "\n"
904 "\t[-t|--test] " "\n"
905 "\t[-v|--verbose]" "\n"
4c64ed4c 906 "\t[--version]" "\n"
df91af91 907 "\tVolumeGroupName..." "\n",
269930c0 908
df91af91 909 all_ARG, force_ARG, test_ARG)
269930c0
AK
910
911xx(vgmerge,
912 "Merge volume groups",
bf7dea97 913 0,
269930c0 914 "vgmerge\n"
c80325ca
AK
915 "\t[-A|--autobackup y|n]\n"
916 "\t[-d|--debug]\n"
917 "\t[-h|--help]\n"
918 "\t[-l|--list]\n"
919 "\t[-t|--test]\n"
920 "\t[-v|--verbose]\n"
4c64ed4c 921 "\t[--version]" "\n"
269930c0
AK
922 "\tDestinationVolumeGroupName SourceVolumeGroupName\n",
923
924 autobackup_ARG, list_ARG, test_ARG)
925
926xx(vgmknodes,
927 "Create the special files for volume group devices in /dev",
bf7dea97 928 0,
269930c0 929 "vgmknodes\n"
c80325ca
AK
930 "\t[-d|--debug]\n"
931 "\t[-h|--help]\n"
0a0f13e6 932 "\t[--ignorelockingfailure]\n"
da1ba4ed 933 "\t[--refresh]\n"
c80325ca 934 "\t[-v|--verbose]\n"
4c64ed4c 935 "\t[--version]" "\n"
0a0f13e6
AK
936 "\t[VolumeGroupName...]\n",
937
da1ba4ed 938 ignorelockingfailure_ARG, refresh_ARG)
269930c0
AK
939
940xx(vgreduce,
941 "Remove physical volume(s) from a volume group",
bf7dea97 942 0,
269930c0 943 "vgreduce\n"
c80325ca
AK
944 "\t[-a|--all]\n"
945 "\t[-A|--autobackup y|n]\n"
946 "\t[-d|--debug]\n"
947 "\t[-h|--help]\n"
c9dcba6b 948 "\t[--mirrorsonly]\n"
a421f743 949 "\t[--removemissing]\n"
8c5bcdab 950 "\t[-f|--force]\n"
c80325ca
AK
951 "\t[-t|--test]\n"
952 "\t[-v|--verbose]\n"
4c64ed4c 953 "\t[--version]" "\n"
269930c0
AK
954 "\tVolumeGroupName\n"
955 "\t[PhysicalVolumePath...]\n",
956
87ec9484
AK
957 all_ARG, autobackup_ARG, force_ARG, mirrorsonly_ARG, removemissing_ARG,
958 test_ARG)
269930c0
AK
959
960xx(vgremove,
961 "Remove volume group(s)",
bf7dea97 962 0,
269930c0 963 "vgremove\n"
c80325ca 964 "\t[-d|--debug]\n"
f603fe64 965 "\t[-f|--force]\n"
c80325ca 966 "\t[-h|--help]\n"
49886d09 967 "\t[--noudevsync]\n"
c80325ca
AK
968 "\t[-t|--test]\n"
969 "\t[-v|--verbose]\n"
4c64ed4c 970 "\t[--version]" "\n"
c2d72fd4
AK
971 "\tVolumeGroupName [VolumeGroupName...]\n",
972
49886d09 973 force_ARG, noudevsync_ARG, test_ARG)
269930c0
AK
974
975xx(vgrename,
976 "Rename a volume group",
bf7dea97 977 0,
269930c0 978 "vgrename\n"
c80325ca
AK
979 "\t[-A|--autobackup y|n]\n"
980 "\t[-d|--debug]\n"
981 "\t[-h|--help]\n"
982 "\t[-t|--test]\n"
983 "\t[-v|--verbose]\n"
4c64ed4c 984 "\t[--version]" "\n"
a03f2320 985 "\tOldVolumeGroupPath NewVolumeGroupPath |\n"
269930c0
AK
986 "\tOldVolumeGroupName NewVolumeGroupName\n",
987
c2d72fd4 988 autobackup_ARG, force_ARG, test_ARG)
269930c0 989
4c64ed4c
AK
990xx(vgs,
991 "Display information about volume groups",
b83af516 992 PERMITTED_READ_ONLY,
4c64ed4c
AK
993 "vgs" "\n"
994 "\t[--aligned]\n"
8211a13c 995 "\t[-a|--all]\n"
4c64ed4c
AK
996 "\t[-d|--debug]\n"
997 "\t[-h|--help]\n"
998 "\t[--ignorelockingfailure]\n"
ec40d928 999 "\t[--nameprefixes]\n"
4c64ed4c
AK
1000 "\t[--noheadings]\n"
1001 "\t[--nosuffix]\n"
1002 "\t[-o|--options [+]Field[,Field]]\n"
1003 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
1004 "\t[-P|--partial] " "\n"
1f787aca 1005 "\t[--rows]\n"
4c64ed4c 1006 "\t[--separator Separator]\n"
e3ad1d19 1007 "\t[--trustcache]\n"
4c64ed4c 1008 "\t[--unbuffered]\n"
7c638cc2 1009 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
30ef4c73 1010 "\t[--unquoted]\n"
4c64ed4c
AK
1011 "\t[-v|--verbose]\n"
1012 "\t[--version]\n"
1013 "\t[VolumeGroupName [VolumeGroupName...]]\n",
3e3d5d85 1014
ec40d928
AK
1015 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
1016 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1f787aca 1017 rows_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG,
30ef4c73 1018 unquoted_ARG)
4c64ed4c 1019
269930c0
AK
1020xx(vgscan,
1021 "Search for all volume groups",
b83af516 1022 PERMITTED_READ_ONLY,
269930c0 1023 "vgscan "
3be9089c 1024 "\t[--cache]\n"
c80325ca
AK
1025 "\t[-d|--debug]\n"
1026 "\t[-h|--help]\n"
8b46b545 1027 "\t[--ignorelockingfailure]\n"
5a8fa8c9 1028 "\t[--mknodes]\n"
c80325ca 1029 "\t[-P|--partial] " "\n"
3e3d5d85 1030 "\t[-v|--verbose]\n"
4c64ed4c 1031 "\t[--version]" "\n",
8b46b545 1032
3be9089c 1033 cache_ARG, ignorelockingfailure_ARG, mknodes_ARG, partial_ARG)
269930c0
AK
1034
1035xx(vgsplit,
1ce224d1 1036 "Move physical volumes into a new or existing volume group",
bf7dea97 1037 0,
a03f2320
AK
1038 "vgsplit " "\n"
1039 "\t[-A|--autobackup {y|n}] " "\n"
b8daca85
DW
1040 "\t[--alloc AllocationPolicy] " "\n"
1041 "\t[-c|--clustered {y|n}] " "\n"
a03f2320
AK
1042 "\t[-d|--debug] " "\n"
1043 "\t[-h|--help] " "\n"
b8daca85 1044 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
5a52dca9 1045 "\t[-M|--metadatatype 1|2] " "\n"
458a107e 1046 "\t[--[vg]metadatacopies #copies] " "\n"
85f5392e 1047 "\t[-n|--name LogicalVolumeName]\n"
b8daca85 1048 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
a03f2320
AK
1049 "\t[-t|--test] " "\n"
1050 "\t[-v|--verbose] " "\n"
1051 "\t[--version]" "\n"
b8daca85 1052 "\tSourceVolumeGroupName DestinationVolumeGroupName" "\n"
85f5392e 1053 "\t[PhysicalVolumePath...]\n",
269930c0 1054
6ab424ac 1055 alloc_ARG, autobackup_ARG, clustered_ARG,
b8daca85 1056 maxlogicalvolumes_ARG, maxphysicalvolumes_ARG,
458a107e 1057 metadatatype_ARG, vgmetadatacopies_ARG, name_ARG, test_ARG)
fae0c576
AK
1058
1059xx(version,
1060 "Display software and driver version information",
b83af516 1061 PERMITTED_READ_ONLY,
fae0c576
AK
1062 "version\n" )
1063
This page took 0.23926 seconds and 5 git commands to generate.