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