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