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