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