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