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