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