]> sourceware.org Git - lvm2.git/blame - tools/commands.h
Basic support for mirrors.
[lvm2.git] / tools / commands.h
CommitLineData
269930c0 1/*
6606c3ae
AK
2 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 * Copyright (C) 2004 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
9 * of the GNU General Public License v.2.
269930c0
AK
10 *
11 * You should have received a copy of the GNU 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"
22 "\t [-L|--size] [+|-]LogicalVolumeSize[kKmMgGtT]}" "\n"
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",
33 "dumpconfig <filename>\n")
34
156dd4f1
AK
35xx(formats,
36 "List available metadata formats",
37 "formats\n")
38
269930c0
AK
39xx(help,
40 "Display help for commands",
a03f2320 41 "help <command>" "\n")
269930c0 42
677a06d5 43/*********
269930c0
AK
44xx(lvactivate,
45 "Activate logical volume on given partition(s)",
e6efb2b0 46 "lvactivate "
c80325ca
AK
47 "\t[-d|--debug]\n"
48 "\t[-h|--help]\n"
49 "\t[-v|--verbose]\n"
e6efb2b0 50 "Logical Volume(s)\n")
677a06d5 51***********/
269930c0
AK
52
53xx(lvchange,
54 "Change the attributes of logical volume(s)",
55 "lvchange\n"
c80325ca 56 "\t[-A|--autobackup y|n]\n"
d6cf4325 57 "\t[-a|--available [e|l]y|n]\n"
cf6dd251 58 "\t[--addtag Tag]\n"
63bea03e 59 "\t[--alloc AllocationPolicy]\n"
c80325ca
AK
60 "\t[-C|--contiguous y|n]\n"
61 "\t[-d|--debug]\n"
cf6dd251 62 "\t[--deltag Tag]\n"
0b946db9 63 "\t[-f|--force]\n"
c80325ca 64 "\t[-h|--help]\n"
5a52dca9 65 "\t[--ignorelockingfailure]\n"
27f364af 66 "\t[-M|--persistent y|n] [--major major] [--minor minor]\n"
c80325ca
AK
67 "\t[-P|--partial] " "\n"
68 "\t[-p|--permission r|rw]\n"
69 "\t[-r|--readahead ReadAheadSectors]\n"
71b9fadf 70 "\t[--refresh]\n"
c80325ca
AK
71 "\t[-t|--test]\n"
72 "\t[-v|--verbose]\n"
4c64ed4c 73 "\t[--version]" "\n"
269930c0
AK
74 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
75
a0a23eff 76 alloc_ARG, autobackup_ARG, available_ARG, contiguous_ARG, force_ARG,
27f364af 77 ignorelockingfailure_ARG, major_ARG, minor_ARG, partial_ARG, permission_ARG,
71b9fadf 78 persistent_ARG, readahead_ARG, refresh_ARG, addtag_ARG, deltag_ARG,
cf6dd251 79 test_ARG)
269930c0
AK
80
81xx(lvcreate,
82 "Create a logical volume",
03888774 83 "lvcreate " "\n"
0eb83127 84 "\t[-A|--autobackup {y|n}]\n"
cf6dd251 85 "\t[--addtag Tag]\n"
63bea03e 86 "\t[--alloc AllocationPolicy]\n"
0eb83127
JT
87 "\t[-C|--contiguous {y|n}]\n"
88 "\t[-d|--debug]\n"
c80325ca 89 "\t[-h|-?|--help]\n"
0eb83127
JT
90 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
91 "\t{-l|--extents LogicalExtentsNumber |\n"
92 "\t -L|--size LogicalVolumeSize[kKmMgGtT]}\n"
27f364af 93 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
60f13f01 94 "\t[-m|--mirrors Mirrors]\n"
0eb83127
JT
95 "\t[-n|--name LogicalVolumeName]\n"
96 "\t[-p|--permission {r|rw}]\n"
97 "\t[-r|--readahead ReadAheadSectors]\n"
60f13f01 98 "\t[-R|--regionsize MirrorLogRegionSize]\n"
0eb83127 99 "\t[-t|--test]\n"
1832f310 100 "\t[--type VolumeType]\n"
0eb83127
JT
101 "\t[-v|--verbose]\n"
102 "\t[-Z|--zero {y|n}]\n"
103 "\t[--version]\n"
c80325ca 104 "\tVolumeGroupName [PhysicalVolumePath...]\n\n"
8b46b545 105
c80325ca 106 "lvcreate -s|--snapshot\n"
8b46b545
HM
107 "\t[-c|--chunksize]\n"
108 "\t[-A|--autobackup {y|n}]\n"
cf6dd251 109 "\t[--addtag Tag]\n"
63bea03e 110 "\t[--alloc AllocationPolicy]\n"
8b46b545
HM
111 "\t[-C|--contiguous {y|n}]\n"
112 "\t[-d|--debug]\n"
c80325ca 113 "\t[-h|-?|--help]\n"
8b46b545
HM
114 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
115 "\t{-l|--extents LogicalExtentsNumber |\n"
116 "\t -L|--size LogicalVolumeSize[kKmMgGtT]}\n"
27f364af 117 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
8b46b545
HM
118 "\t[-n|--name LogicalVolumeName]\n"
119 "\t[-p|--permission {r|rw}]\n"
120 "\t[-r|--readahead ReadAheadSectors]\n"
121 "\t[-t|--test]\n"
122 "\t[-v|--verbose]\n"
123 "\t[--version]\n"
124 "\tOriginalLogicalVolume[Path] [PhysicalVolumePath...]\n\n",
a03f2320 125
a0a23eff 126 addtag_ARG, alloc_ARG, autobackup_ARG, chunksize_ARG, contiguous_ARG,
60f13f01
AK
127 extents_ARG, major_ARG, minor_ARG, mirrors_ARG, name_ARG, permission_ARG,
128 persistent_ARG, readahead_ARG, regionsize_ARG, size_ARG, snapshot_ARG,
129 stripes_ARG, stripesize_ARG, test_ARG, type_ARG, zero_ARG)
269930c0
AK
130
131xx(lvdisplay,
132 "Display information about a logical volume",
133 "lvdisplay\n"
c80325ca
AK
134 "\t[-c|--colon]\n"
135 "\t[-d|--debug]\n"
136 "\t[-h|--help]\n"
8b46b545 137 "\t[--ignorelockingfailure]\n"
c80325ca 138 "\t[-m|--maps]\n"
4c64ed4c 139 "\t[--nosuffix]\n"
c80325ca 140 "\t[-P|--partial] " "\n"
4c64ed4c 141 "\t[--units hsbkmgtHKMGT]\n"
c80325ca 142 "\t[-v|--verbose]\n"
4c64ed4c
AK
143 "\t[--version]" "\n"
144 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n"
145 "\n"
146 "lvdisplay --columns|-C\n"
147 "\t[--aligned]\n"
148 "\t[-d|--debug]\n"
149 "\t[-h|--help]\n"
150 "\t[--ignorelockingfailure]\n"
151 "\t[--noheadings]\n"
152 "\t[--nosuffix]\n"
153 "\t[-o|--options [+]Field[,Field]]\n"
154 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
155 "\t[-P|--partial] " "\n"
156 "\t[--segments]\n"
157 "\t[--separator Separator]\n"
158 "\t[--unbuffered]\n"
159 "\t[--units hsbkmgtHKMGT]\n"
160 "\t[-v|--verbose]\n"
161 "\t[--version]" "\n"
162 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
269930c0 163
4c64ed4c
AK
164 aligned_ARG, colon_ARG, columns_ARG, disk_ARG, ignorelockingfailure_ARG,
165 maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, sort_ARG,
166 partial_ARG, segments_ARG, separator_ARG, unbuffered_ARG, units_ARG)
269930c0
AK
167
168xx(lvextend,
169 "Add space to a logical volume",
170 "lvextend\n"
c80325ca 171 "\t[-A|--autobackup y|n]\n"
63bea03e 172 "\t[--alloc AllocationPolicy]\n"
c80325ca
AK
173 "\t[-d|--debug]\n"
174 "\t[-h|--help]\n"
52dc2139 175 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
c80325ca
AK
176 "\t{-l|--extents [+]LogicalExtentsNumber |\n"
177 "\t -L|--size [+]LogicalVolumeSize[kKmMgGtT]}\n"
1a9ea74d
AK
178 "\t[-n|--nofsck]\n"
179 "\t[-r|--resizefs]\n"
c80325ca 180 "\t[-t|--test]\n"
1832f310 181 "\t[--type VolumeType]\n"
c80325ca 182 "\t[-v|--verbose]\n"
4c64ed4c 183 "\t[--version]" "\n"
269930c0
AK
184 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
185
1a9ea74d
AK
186 alloc_ARG, autobackup_ARG, extents_ARG, nofsck_ARG, resizefs_ARG,
187 size_ARG, stripes_ARG, stripesize_ARG, test_ARG, type_ARG)
269930c0
AK
188
189xx(lvmchange,
a03f2320 190 "With the device mapper, this is obsolete and does nothing.",
03888774 191 "lvmchange\n"
c80325ca
AK
192 "\t[-d|--debug]\n"
193 "\t[-h|--help]\n"
194 "\t[-R|--reset]\n"
4c64ed4c
AK
195 "\t[-v|--verbose]\n"
196 "\t[--version]" "\n",
269930c0 197
a03f2320 198 reset_ARG)
269930c0
AK
199
200xx(lvmdiskscan,
201 "List devices that may be used as physical volumes",
202 "lvmdiskscan\n"
c80325ca
AK
203 "\t[-d|--debug]\n"
204 "\t[-h|--help]\n"
4c64ed4c
AK
205 "\t[-l|--lvmpartition]\n"
206 "\t[--version]" "\n",
269930c0
AK
207
208 lvmpartition_ARG)
209
210xx(lvmsadc,
211 "Collect activity data",
212 "lvmsadc\n"
c80325ca
AK
213 "\t[-d|--debug]\n"
214 "\t[-h|--help]\n"
215 "\t[-v|--verbose]\n"
4c64ed4c 216 "\t[--version]" "\n"
269930c0
AK
217 "\t[LogFilePath]\n" )
218
219xx(lvmsar,
220 "Create activity report",
221 "lvmsar\n"
c80325ca
AK
222 "\t[-d|--debug]\n"
223 "\t[-f|--full]\n"
224 "\t[-h|--help]\n"
225 "\t[-s|--stdin]\n"
226 "\t[-v|--verbose]\n"
4c64ed4c 227 "\t[--version]" "\n"
269930c0
AK
228 "\tLogFilePath\n",
229
8b46b545 230 full_ARG, stdin_ARG)
269930c0
AK
231
232xx(lvreduce,
233 "Reduce the size of a logical volume",
234 "lvreduce\n"
c80325ca
AK
235 "\t[-A|--autobackup y|n]\n"
236 "\t[-d|--debug]\n"
237 "\t[-f|--force]\n"
238 "\t[-h|--help]\n"
239 "\t{-l|--extents [-]LogicalExtentsNumber |\n"
240 "\t -L|--size [-]LogicalVolumeSize[kKmMgGtT]}\n"
1a9ea74d
AK
241 "\t[-n|--nofsck]\n"
242 "\t[-r|--resizefs]\n"
c80325ca
AK
243 "\t[-t|--test]\n"
244 "\t[-v|--verbose]\n"
4c64ed4c 245 "\t[--version]" "\n"
269930c0
AK
246 "\tLogicalVolume[Path]\n",
247
1a9ea74d 248 autobackup_ARG, force_ARG, extents_ARG, nofsck_ARG, resizefs_ARG,
c2d72fd4 249 size_ARG, test_ARG, yes_ARG)
269930c0
AK
250
251xx(lvremove,
252 "Remove logical volume(s) from the system",
253 "lvremove\n"
c80325ca
AK
254 "\t[-A|--autobackup y|n]\n"
255 "\t[-d|--debug]\n"
256 "\t[-f|--force]\n"
257 "\t[-h|--help]\n"
258 "\t[-t|--test]\n"
259 "\t[-v|--verbose]\n"
4c64ed4c 260 "\t[--version]" "\n"
269930c0
AK
261 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
262
c2d72fd4 263 autobackup_ARG, force_ARG, test_ARG)
269930c0
AK
264
265xx(lvrename,
266 "Rename a logical volume",
267 "lvrename "
a03f2320
AK
268 "\t[-A|--autobackup {y|n}] " "\n"
269 "\t[-d|--debug] " "\n"
c80325ca 270 "\t[-h|-?|--help] " "\n"
a03f2320
AK
271 "\t[-t|--test] " "\n"
272 "\t[-v|--verbose]" "\n"
273 "\t[--version] " "\n"
274 "\t{ OldLogicalVolumePath NewLogicalVolumePath |" "\n"
275 "\t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName }\n",
269930c0 276
c2d72fd4 277 autobackup_ARG, test_ARG)
269930c0 278
03a8a07d
AK
279xx(lvresize,
280 "Resize a logical volume",
281 "lvresize\n"
c80325ca 282 "\t[-A|--autobackup y|n]\n"
63bea03e 283 "\t[--alloc AllocationPolicy]\n"
c80325ca
AK
284 "\t[-d|--debug]\n"
285 "\t[-h|--help]\n"
52dc2139 286 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
c80325ca
AK
287 "\t{-l|--extents [+|-]LogicalExtentsNumber |\n"
288 "\t -L|--size [+|-]LogicalVolumeSize[kKmMgGtT]}\n"
1a9ea74d
AK
289 "\t[-n|--nofsck]\n"
290 "\t[-r|--resizefs]\n"
c2d72fd4 291 "\t[-t|--test]\n"
1832f310 292 "\t[--type VolumeType]\n"
c80325ca 293 "\t[-v|--verbose]\n"
4c64ed4c 294 "\t[--version]" "\n"
03a8a07d
AK
295 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
296
1a9ea74d
AK
297 alloc_ARG, autobackup_ARG, extents_ARG, nofsck_ARG, resizefs_ARG,
298 size_ARG, stripes_ARG, stripesize_ARG, test_ARG, type_ARG)
03a8a07d 299
4c64ed4c
AK
300xx(lvs,
301 "Display information about logical volumes",
302 "lvs" "\n"
303 "\t[--aligned]\n"
304 "\t[-d|--debug]\n"
305 "\t[-h|--help]\n"
306 "\t[--ignorelockingfailure]\n"
307 "\t[--noheadings]\n"
308 "\t[--nosuffix]\n"
309 "\t[-o|--options [+]Field[,Field]]\n"
310 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
311 "\t[-P|--partial] " "\n"
312 "\t[--segments]\n"
313 "\t[--separator Separator]\n"
314 "\t[--unbuffered]\n"
315 "\t[--units hsbkmgtHKMGT]\n"
316 "\t[-v|--verbose]\n"
317 "\t[--version]" "\n"
318 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
319
acd03445
AK
320 aligned_ARG, ignorelockingfailure_ARG, noheadings_ARG, nolocking_ARG,
321 nosuffix_ARG, options_ARG, partial_ARG, segments_ARG, separator_ARG,
322 sort_ARG, unbuffered_ARG, units_ARG)
4c64ed4c 323
269930c0
AK
324xx(lvscan,
325 "List all logical volumes in all volume groups",
a03f2320
AK
326 "lvscan " "\n"
327 "\t[-b|--blockdevice] " "\n"
328 "\t[-d|--debug] " "\n"
c80325ca 329 "\t[-h|-?|--help] " "\n"
8b46b545 330 "\t[--ignorelockingfailure]\n"
6b4c9ff7 331 "\t[-P|--partial] " "\n"
a03f2320
AK
332 "\t[-v|--verbose] " "\n"
333 "\t[--version]\n",
269930c0 334
8b46b545 335 blockdevice_ARG, disk_ARG, ignorelockingfailure_ARG, partial_ARG)
269930c0
AK
336
337xx(pvchange,
338 "Change attributes of physical volume(s)",
339 "pvchange\n"
15e6db35 340 "\t[-a|--all]\n"
c80325ca
AK
341 "\t[-A|--autobackup y|n]\n"
342 "\t[-d|--debug]\n"
343 "\t[-h|--help]\n"
c2d72fd4 344 "\t[-t|--test]\n"
15e6db35 345 "\t[-u|--uuid]\n"
c80325ca 346 "\t[-x|--allocatable y|n]\n"
15e6db35 347 "\t[-v|--verbose]\n"
cf6dd251
AK
348 "\t[--addtag Tag]\n"
349 "\t[--deltag Tag]\n"
15e6db35 350 "\t[--version]" "\n"
269930c0
AK
351 "\t[PhysicalVolumePath...]\n",
352
cf6dd251
AK
353 all_ARG, allocatable_ARG, allocation_ARG, autobackup_ARG, deltag_ARG,
354 addtag_ARG, test_ARG, uuid_ARG)
269930c0
AK
355
356xx(pvcreate,
357 "Initialize physical volume(s) for use by LVM",
a03f2320 358 "pvcreate " "\n"
5a52dca9 359 "\t[--restorefile file]\n"
a03f2320
AK
360 "\t[-d|--debug]" "\n"
361 "\t[-f[f]|--force [--force]] " "\n"
c80325ca 362 "\t[-h|-?|--help] " "\n"
5a52dca9
AK
363 "\t[--labelsector sector] " "\n"
364 "\t[-M|--metadatatype 1|2]" "\n"
365 "\t[--metadatacopies #copies]" "\n"
366 "\t[--metadatasize MetadataSize[kKmMgGtT]]" "\n"
367 "\t[--setphysicalvolumesize PhysicalVolumeSize[kKmMgGtT]" "\n"
a03f2320 368 "\t[-t|--test] " "\n"
add7dc2d 369 "\t[-u|--uuid uuid] " "\n"
a03f2320 370 "\t[-v|--verbose] " "\n"
5a52dca9 371 "\t[-y|--yes]" "\n"
2245e1c4 372 "\t[-Z|--zero {y|n}]\n"
a03f2320
AK
373 "\t[--version] " "\n"
374 "\tPhysicalVolume [PhysicalVolume...]\n",
269930c0 375
5a52dca9
AK
376 force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
377 metadatasize_ARG, physicalvolumesize_ARG, restorefile_ARG, uuidstr_ARG,
2245e1c4 378 yes_ARG, zero_ARG)
269930c0
AK
379
380xx(pvdata,
381 "Display the on-disk metadata for physical volume(s)",
a03f2320
AK
382 "pvdata " "\n"
383 "\t[-a|--all] " "\n"
384 "\t[-d|--debug] " "\n"
385 "\t[-E|--physicalextent] " "\n"
c80325ca 386 "\t[-h|-?|--help]" "\n"
a03f2320
AK
387 "\t[-L|--logicalvolume] " "\n"
388 "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n"
389 "\t[-U|--uuidlist] " "\n"
390 "\t[-v[v]|--verbose [--verbose]] " "\n"
391 "\t[-V|--volumegroup]" "\n"
392 "\t[--version] " "\n"
393 "\tPhysicalVolume [PhysicalVolume...]\n",
269930c0
AK
394
395 all_ARG, logicalextent_ARG, physicalextent_ARG,
396 physicalvolume_ARG, uuidlist_ARG, volumegroup_ARG)
397
398xx(pvdisplay,
4c64ed4c 399 "Display various attributes of physical volume(s)",
269930c0 400 "pvdisplay\n"
c80325ca
AK
401 "\t[-c|--colon]\n"
402 "\t[-d|--debug]\n"
403 "\t[-h|--help]\n"
8b46b545 404 "\t[--ignorelockingfailure]\n"
c80325ca 405 "\t[-m|--maps]\n"
4c64ed4c 406 "\t[--nosuffix]\n"
c80325ca 407 "\t[-s|--short]\n"
4c64ed4c 408 "\t[--units hsbkmgtHKMGT]\n"
c80325ca 409 "\t[-v|--verbose]\n"
4c64ed4c
AK
410 "\t[--version]" "\n"
411 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n"
412 "\n"
413 "pvdisplay --columns|-C\n"
414 "\t[--aligned]\n"
200ef4db 415 "\t[-a|--all]\n"
4c64ed4c
AK
416 "\t[-d|--debug]\n"
417 "\t[-h|--help]\n"
418 "\t[--ignorelockingfailure]\n"
419 "\t[--noheadings]\n"
420 "\t[--nosuffix]\n"
421 "\t[-o|--options [+]Field[,Field]]\n"
422 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
423 "\t[--separator Separator]\n"
424 "\t[--unbuffered]\n"
425 "\t[--units hsbkmgtHKMGT]\n"
426 "\t[-v|--verbose]\n"
427 "\t[--version]" "\n"
428 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
269930c0 429
200ef4db
AK
430 aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
431 maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG,
432 short_ARG, sort_ARG, unbuffered_ARG, units_ARG)
269930c0 433
269930c0
AK
434xx(pvmove,
435 "Move extents from one physical volume to another",
43ecb8ff 436 "pvmove " "\n"
3a61b054 437 "\t[--abort]\n"
43ecb8ff 438 "\t[-A|--autobackup {y|n}]\n"
63bea03e 439 "\t[--alloc AllocationPolicy]\n"
3a61b054 440 "\t[-b|--background]\n"
43ecb8ff 441 "\t[-d|--debug]\n "
43ecb8ff
AK
442 "\t[-h|-?|--help]\n"
443 "\t[-i|--interval seconds]\n"
444 "\t[-t|--test]\n "
445 "\t[-v|--verbose]\n "
446 "\t[--version]\n"
57c74fb5 447 "\t[{-n|--name} LogicalVolume]\n"
43ecb8ff 448/* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */
9bd40d31 449 "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n"
43ecb8ff 450 "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
269930c0 451
421c2a6a 452 abort_ARG, alloc_ARG, autobackup_ARG, background_ARG,
00b47204 453 interval_ARG, name_ARG, test_ARG)
269930c0 454
5a52dca9
AK
455xx(pvremove,
456 "Remove LVM label(s) from physical volume(s)",
457 "pvremove " "\n"
458 "\t[-d|--debug]" "\n"
459 "\t[-f[f]|--force [--force]] " "\n"
c80325ca 460 "\t[-h|-?|--help] " "\n"
5a52dca9
AK
461 "\t[-t|--test] " "\n"
462 "\t[-v|--verbose] " "\n"
463 "\t[-y|--yes]" "\n"
464 "\t[--version] " "\n"
465 "\tPhysicalVolume [PhysicalVolume...]\n",
466
467 force_ARG, test_ARG, yes_ARG)
468
9c42e035
HM
469xx(pvresize,
470 "Resize a physical volume in use by a volume group",
5a52dca9
AK
471 "Not implemented. Use pvcreate options.",
472/***
473 "pvresize "
9c42e035
HM
474 "[-A|--autobackup {y|n}] "
475 "[-d|--debug] "
c80325ca 476 "[-h|-?|--help]\n\t"
9c42e035
HM
477 "[-s|--size PhysicalVolumeSize[kKmMgGtT]" "\n"
478 "[-v|--verbose] "
479 "[--version]\n\t"
480 "\tPhysicalVolumePath [PhysicalVolumePath...]\n",
5a52dca9 481***/
9c42e035
HM
482 autobackup_ARG, physicalvolumesize_ARG)
483
4c64ed4c
AK
484xx(pvs,
485 "Display information about physical volumes",
486 "pvs" "\n"
487 "\t[--aligned]\n"
c29d2465 488 "\t[-a|--all]\n"
4c64ed4c
AK
489 "\t[-d|--debug]" "\n"
490 "\t[-h|-?|--help] " "\n"
491 "\t[--noheadings]\n"
492 "\t[--ignorelockingfailure]\n"
493 "\t[--nosuffix]\n"
494 "\t[-o|--options [+]Field[,Field]]\n"
495 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
c54a9405 496 "\t[--segments]\n"
4c64ed4c
AK
497 "\t[--separator Separator]\n"
498 "\t[--unbuffered]\n"
499 "\t[--units hsbkmgtHKMGT]\n"
500 "\t[-v|--verbose]\n"
501 "\t[--version]\n"
502 "\t[PhysicalVolume [PhysicalVolume...]]\n",
503
c29d2465 504 aligned_ARG, all_ARG, ignorelockingfailure_ARG, noheadings_ARG,
c54a9405
AK
505 nolocking_ARG, nosuffix_ARG, options_ARG, segments_ARG, separator_ARG,
506 sort_ARG, unbuffered_ARG, units_ARG)
4c64ed4c 507
269930c0
AK
508xx(pvscan,
509 "List all physical volumes",
a03f2320
AK
510 "pvscan " "\n"
511 "\t[-d|--debug] " "\n"
c80325ca
AK
512 "\t{-e|--exported | -n|--novolumegroup} " "\n"
513 "\t[-h|-?|--help]" "\n"
8b46b545 514 "\t[--ignorelockingfailure]\n"
6b4c9ff7 515 "\t[-P|--partial] " "\n"
a03f2320
AK
516 "\t[-s|--short] " "\n"
517 "\t[-u|--uuid] " "\n"
518 "\t[-v|--verbose] " "\n"
519 "\t[--version]\n",
269930c0 520
8b46b545
HM
521 exported_ARG, ignorelockingfailure_ARG, novolumegroup_ARG, partial_ARG,
522 short_ARG, uuid_ARG)
269930c0 523
156dd4f1
AK
524xx(segtypes,
525 "List available segment types",
526 "segtypes\n")
527
269930c0
AK
528xx(vgcfgbackup,
529 "Backup volume group configuration(s)",
a03f2320
AK
530 "vgcfgbackup " "\n"
531 "\t[-d|--debug] " "\n"
952d12a5 532 "\t[-f|--file filename] " "\n"
c80325ca 533 "\t[-h|-?|--help] " "\n"
8b46b545 534 "\t[--ignorelockingfailure]\n"
407332cb 535 "\t[-P|--partial] " "\n"
a03f2320 536 "\t[-v|--verbose]" "\n"
4c64ed4c 537 "\t[--version] " "\n"
2041d905 538 "\t[VolumeGroupName...]\n",
8b46b545
HM
539
540 file_ARG, ignorelockingfailure_ARG, partial_ARG)
269930c0
AK
541
542xx(vgcfgrestore,
543 "Restore volume group configuration",
a03f2320
AK
544 "vgcfgrestore " "\n"
545 "\t[-d|--debug] " "\n"
952d12a5 546 "\t[-f|--file filename] " "\n"
a03f2320 547 "\t[-l[l]|--list [--list]]" "\n"
5a52dca9 548 "\t[-M|--metadatatype 1|2]" "\n"
a03f2320
AK
549 "\t[-n|--name VolumeGroupName] " "\n"
550 "\t[-h|--help]" "\n"
a03f2320
AK
551 "\t[-t|--test] " "\n"
552 "\t[-v|--verbose]" "\n"
553 "\t[--version] " "\n"
288adea2 554 "\tVolumeGroupName",
269930c0 555
5a52dca9 556 file_ARG, list_ARG, metadatatype_ARG, name_ARG, test_ARG)
269930c0
AK
557
558xx(vgchange,
559 "Change volume group attributes",
a03f2320
AK
560 "vgchange" "\n"
561 "\t[-A|--autobackup {y|n}] " "\n"
63bea03e 562 "\t[--alloc AllocationPolicy] " "\n"
f53c6aa6 563 "\t[-P|--partial] " "\n"
a03f2320
AK
564 "\t[-d|--debug] " "\n"
565 "\t[-h|--help] " "\n"
8b46b545 566 "\t[--ignorelockingfailure]\n"
a03f2320 567 "\t[-t|--test]" "\n"
15e6db35 568 "\t[-u|--uuid] " "\n"
a03f2320
AK
569 "\t[-v|--verbose] " "\n"
570 "\t[--version]" "\n"
d6cf4325 571 "\t{-a|--available [e|l]{y|n} |" "\n"
343a8c92 572 "\t -c|--clustered {y|n} |" "\n"
b80f32dd 573 "\t -x|--resizeable {y|n} |" "\n"
cf6dd251 574 "\t -l|--logicalvolume MaxLogicalVolumes |" "\n"
66278a80 575 "\t -s|--physicalextentsize PhysicalExtentSize[kKmMgGtT] |" "\n"
cf6dd251
AK
576 "\t --addtag Tag |\n"
577 "\t --deltag Tag}\n"
a03f2320 578 "\t[VolumeGroupName...]\n",
269930c0 579
a0a23eff 580 addtag_ARG, alloc_ARG, allocation_ARG, autobackup_ARG, available_ARG,
343a8c92 581 clustered_ARG, deltag_ARG, ignorelockingfailure_ARG, logicalvolume_ARG,
66278a80
AK
582 partial_ARG, physicalextentsize_ARG, resizeable_ARG, resizable_ARG,
583 test_ARG, uuid_ARG)
269930c0
AK
584
585xx(vgck,
586 "Check the consistency of volume group(s)",
587 "vgck "
c80325ca
AK
588 "\t[-d|--debug]\n"
589 "\t[-h|--help]\n"
590 "\t[-v|--verbose]\n"
43ecb8ff 591 "\t[--version]" "\n"
269930c0
AK
592 "\t[VolumeGroupName...]\n" )
593
5a52dca9
AK
594xx(vgconvert,
595 "Change volume group metadata format",
596 "vgconvert " "\n"
597 "\t[-d|--debug]" "\n"
598 "\t[-h|--help] " "\n"
599 "\t[--labelsector sector] " "\n"
600 "\t[-M|--metadatatype 1|2]" "\n"
601 "\t[--metadatacopies #copies]" "\n"
602 "\t[--metadatasize MetadataSize[kKmMgGtT]]" "\n"
603 "\t[-t|--test] " "\n"
604 "\t[-v|--verbose] " "\n"
605 "\t[--version] " "\n"
606 "\tVolumeGroupName [VolumeGroupName...]\n",
607
608 force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
609 metadatasize_ARG )
610
269930c0
AK
611xx(vgcreate,
612 "Create a volume group",
a03f2320
AK
613 "vgcreate" "\n"
614 "\t[-A|--autobackup {y|n}] " "\n"
cf6dd251 615 "\t[--addtag Tag] " "\n"
63bea03e 616 "\t[--alloc AllocationPolicy] " "\n"
343a8c92 617 "\t[-c|--clustered] " "\n"
a03f2320 618 "\t[-d|--debug]" "\n"
25b73380 619 "\t[-h|--help]" "\n"
a03f2320 620 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
5a52dca9 621 "\t[-M|--metadatatype 1|2] " "\n"
a03f2320 622 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
a03f2320
AK
623 "\t[-s|--physicalextentsize PhysicalExtentSize[kKmMgGtT]] " "\n"
624 "\t[-t|--test] " "\n"
625 "\t[-v|--verbose]" "\n"
626 "\t[--version] " "\n"
627 "\tVolumeGroupName PhysicalVolume [PhysicalVolume...]\n",
269930c0 628
343a8c92 629 addtag_ARG, alloc_ARG, autobackup_ARG, clustered_ARG, maxlogicalvolumes_ARG,
a0a23eff 630 maxphysicalvolumes_ARG, metadatatype_ARG, physicalextentsize_ARG, test_ARG)
269930c0
AK
631
632xx(vgdisplay,
633 "Display volume group information",
a03f2320
AK
634 "vgdisplay " "\n"
635 "\t[-c|--colon | -s|--short | -v|--verbose]" "\n"
636 "\t[-d|--debug] " "\n"
637 "\t[-h|--help] " "\n"
5a52dca9 638 "\t[--ignorelockingfailure]" "\n"
4c64ed4c 639 "\t[--nosuffix]\n"
7ae5a778 640 "\t[-P|--partial] " "\n"
4c64ed4c 641 "\t[--units hsbkmgtHKMGT]\n"
a03f2320 642 "\t[-A|--activevolumegroups | [-D|--disk]" "\n"
7ae5a778 643 "\t[--version]" "\n"
4c64ed4c
AK
644 "\t[VolumeGroupName [VolumeGroupName...]]\n"
645 "\n"
646 "vgdisplay --columns|-C\n"
647 "\t[--aligned]\n"
648 "\t[-d|--debug] " "\n"
649 "\t[-h|--help] " "\n"
650 "\t[--ignorelockingfailure]" "\n"
651 "\t[--noheadings]\n"
652 "\t[--nosuffix]\n"
653 "\t[-o|--options [+]Field[,Field]]\n"
654 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
655 "\t[-P|--partial] " "\n"
656 "\t[--separator Separator]\n"
657 "\t[--unbuffered]\n"
658 "\t[--units hsbkmgtHKMGT]\n"
659 "\t[--verbose]" "\n"
660 "\t[--version]" "\n"
661 "\t[VolumeGroupName [VolumeGroupName...]]\n",
269930c0 662
4c64ed4c
AK
663 activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG, disk_ARG,
664 ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, options_ARG,
bc0d0ce0 665 partial_ARG, short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG)
269930c0
AK
666
667xx(vgexport,
668 "Unregister volume group(s) from the system",
a03f2320
AK
669 "vgexport " "\n"
670 "\t[-a|--all] " "\n"
671 "\t[-d|--debug] " "\n"
672 "\t[-h|--help]" "\n"
673 "\t[-v|--verbose] " "\n"
674 "\t[--version] " "\n"
675 "\tVolumeGroupName [VolumeGroupName...]\n",
269930c0 676
c2d72fd4 677 all_ARG, test_ARG)
269930c0
AK
678
679xx(vgextend,
680 "Add physical volumes to a volume group",
681 "vgextend\n"
c80325ca
AK
682 "\t[-A|--autobackup y|n]\n"
683 "\t[-d|--debug]\n"
684 "\t[-h|--help]\n"
685 "\t[-t|--test]\n"
686 "\t[-v|--verbose]\n"
4c64ed4c 687 "\t[--version]" "\n"
a03f2320 688 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
269930c0 689
c2d72fd4 690 autobackup_ARG, test_ARG)
269930c0
AK
691
692xx(vgimport,
693 "Register exported volume group with system",
a03f2320 694 "vgimport " "\n"
c80325ca 695 "\t[-a|--all]\n"
a03f2320
AK
696 "\t[-d|--debug] " "\n"
697 "\t[-f|--force] " "\n"
698 "\t[-h|--help] " "\n"
699 "\t[-t|--test] " "\n"
700 "\t[-v|--verbose]" "\n"
4c64ed4c 701 "\t[--version]" "\n"
df91af91 702 "\tVolumeGroupName..." "\n",
269930c0 703
df91af91 704 all_ARG, force_ARG, test_ARG)
269930c0
AK
705
706xx(vgmerge,
707 "Merge volume groups",
708 "vgmerge\n"
c80325ca
AK
709 "\t[-A|--autobackup y|n]\n"
710 "\t[-d|--debug]\n"
711 "\t[-h|--help]\n"
712 "\t[-l|--list]\n"
713 "\t[-t|--test]\n"
714 "\t[-v|--verbose]\n"
4c64ed4c 715 "\t[--version]" "\n"
269930c0
AK
716 "\tDestinationVolumeGroupName SourceVolumeGroupName\n",
717
718 autobackup_ARG, list_ARG, test_ARG)
719
720xx(vgmknodes,
721 "Create the special files for volume group devices in /dev",
722 "vgmknodes\n"
c80325ca
AK
723 "\t[-d|--debug]\n"
724 "\t[-h|--help]\n"
0a0f13e6 725 "\t[--ignorelockingfailure]\n"
c80325ca 726 "\t[-v|--verbose]\n"
4c64ed4c 727 "\t[--version]" "\n"
0a0f13e6
AK
728 "\t[VolumeGroupName...]\n",
729
730 ignorelockingfailure_ARG)
269930c0
AK
731
732xx(vgreduce,
733 "Remove physical volume(s) from a volume group",
734 "vgreduce\n"
c80325ca
AK
735 "\t[-a|--all]\n"
736 "\t[-A|--autobackup y|n]\n"
737 "\t[-d|--debug]\n"
738 "\t[-h|--help]\n"
a421f743 739 "\t[--removemissing]\n"
c80325ca
AK
740 "\t[-t|--test]\n"
741 "\t[-v|--verbose]\n"
4c64ed4c 742 "\t[--version]" "\n"
269930c0
AK
743 "\tVolumeGroupName\n"
744 "\t[PhysicalVolumePath...]\n",
745
a421f743 746 all_ARG, autobackup_ARG, removemissing_ARG, test_ARG)
269930c0
AK
747
748xx(vgremove,
749 "Remove volume group(s)",
750 "vgremove\n"
c80325ca
AK
751 "\t[-d|--debug]\n"
752 "\t[-h|--help]\n"
753 "\t[-t|--test]\n"
754 "\t[-v|--verbose]\n"
4c64ed4c 755 "\t[--version]" "\n"
c2d72fd4
AK
756 "\tVolumeGroupName [VolumeGroupName...]\n",
757
758 test_ARG)
269930c0
AK
759
760xx(vgrename,
761 "Rename a volume group",
762 "vgrename\n"
c80325ca
AK
763 "\t[-A|--autobackup y|n]\n"
764 "\t[-d|--debug]\n"
765 "\t[-h|--help]\n"
766 "\t[-t|--test]\n"
767 "\t[-v|--verbose]\n"
4c64ed4c 768 "\t[--version]" "\n"
a03f2320 769 "\tOldVolumeGroupPath NewVolumeGroupPath |\n"
269930c0
AK
770 "\tOldVolumeGroupName NewVolumeGroupName\n",
771
c2d72fd4 772 autobackup_ARG, force_ARG, test_ARG)
269930c0 773
4c64ed4c
AK
774xx(vgs,
775 "Display information about volume groups",
776 "vgs" "\n"
777 "\t[--aligned]\n"
778 "\t[-d|--debug]\n"
779 "\t[-h|--help]\n"
780 "\t[--ignorelockingfailure]\n"
781 "\t[--noheadings]\n"
782 "\t[--nosuffix]\n"
783 "\t[-o|--options [+]Field[,Field]]\n"
784 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
785 "\t[-P|--partial] " "\n"
786 "\t[--separator Separator]\n"
787 "\t[--unbuffered]\n"
788 "\t[--units hsbkmgtHKMGT]\n"
789 "\t[-v|--verbose]\n"
790 "\t[--version]\n"
791 "\t[VolumeGroupName [VolumeGroupName...]]\n",
792
acd03445
AK
793 aligned_ARG, ignorelockingfailure_ARG, noheadings_ARG, nolocking_ARG,
794 nosuffix_ARG, options_ARG, partial_ARG, separator_ARG, sort_ARG,
795 unbuffered_ARG, units_ARG)
4c64ed4c 796
269930c0
AK
797xx(vgscan,
798 "Search for all volume groups",
799 "vgscan "
c80325ca
AK
800 "\t[-d|--debug]\n"
801 "\t[-h|--help]\n"
8b46b545 802 "\t[--ignorelockingfailure]\n"
5a8fa8c9 803 "\t[--mknodes]\n"
c80325ca 804 "\t[-P|--partial] " "\n"
4c64ed4c
AK
805 "\t[-v|--verbose]\n"
806 "\t[--version]" "\n",
8b46b545 807
5a8fa8c9 808 ignorelockingfailure_ARG, mknodes_ARG, partial_ARG)
269930c0
AK
809
810xx(vgsplit,
811 "Move physical volumes into a new volume group",
a03f2320
AK
812 "vgsplit " "\n"
813 "\t[-A|--autobackup {y|n}] " "\n"
814 "\t[-d|--debug] " "\n"
815 "\t[-h|--help] " "\n"
816 "\t[-l|--list]" "\n"
5a52dca9 817 "\t[-M|--metadatatype 1|2] " "\n"
a03f2320
AK
818 "\t[-t|--test] " "\n"
819 "\t[-v|--verbose] " "\n"
820 "\t[--version]" "\n"
821 "\tExistingVolumeGroupName NewVolumeGroupName" "\n"
822 "\tPhysicalVolumePath [PhysicalVolumePath...]\n",
269930c0 823
fbbe942c 824 autobackup_ARG, list_ARG, metadatatype_ARG, test_ARG)
fae0c576
AK
825
826xx(version,
827 "Display software and driver version information",
828 "version\n" )
829
This page took 0.138613 seconds and 5 git commands to generate.