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