2 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
5 * This file is part of LVM2.
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 Lesser General Public License v.2.1.
11 * You should have received a copy of the GNU Lesser General Public License
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
16 /*********** Replace with script?
18 "Resize logical volume and ext2 filesystem",
20 "[-d|--debug] " "[-h|--help] " "[-n|--nofsck]" "\n"
21 "\t{[-l|--extents] [+|-]LogicalExtentsNumber |" "\n"
22 "\t [-L|--size] [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}" "\n"
24 "\t[-v|--verbose] " "\n"
26 "\tLogicalVolumePath" "\n",
28 extents_ARG, size_ARG, nofsck_ARG, test_ARG)
32 "Dump active configuration",
35 "\t[-f|--file filename] " "\n"
36 "[ConfigurationVariable...]\n",
40 "List available metadata formats",
45 "Display help for commands",
47 "help <command>" "\n")
51 "Activate logical volume on given partition(s)",
56 "Logical Volume(s)\n")
60 "Change the attributes of logical volume(s)",
61 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
63 "\t[-A|--autobackup y|n]\n"
64 "\t[-a|--available [e|l]y|n]\n"
66 "\t[--alloc AllocationPolicy]\n"
67 "\t[-C|--contiguous y|n]\n"
72 "\t[--ignorelockingfailure]\n"
73 "\t[--ignoremonitoring]\n"
74 "\t[--monitor {y|n}]\n"
77 "\t[-M|--persistent y|n] [--major major] [--minor minor]\n"
78 "\t[-P|--partial] " "\n"
79 "\t[-p|--permission r|rw]\n"
80 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
88 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
90 alloc_ARG, autobackup_ARG, available_ARG, contiguous_ARG, force_ARG,
91 ignorelockingfailure_ARG, ignoremonitoring_ARG, major_ARG, minor_ARG,
92 monitor_ARG, noudevsync_ARG, partial_ARG, permission_ARG, persistent_ARG,
93 poll_ARG, readahead_ARG, resync_ARG, refresh_ARG, addtag_ARG, deltag_ARG,
94 sysinit_ARG, test_ARG, yes_ARG)
97 "Change logical volume layout",
100 "[-m|--mirrors Mirrors [{--mirrorlog {disk|core|mirrored}|--corelog}]]\n"
101 "\t[--repair [--use-policies]]\n"
102 "\t[-R|--regionsize MirrorLogRegionSize]\n"
103 "\t[--alloc AllocationPolicy]\n"
104 "\t[-b|--background]\n"
108 "\t[-i|--interval seconds]\n"
109 "\t[--stripes Stripes [-I|--stripesize StripeSize]]\n"
114 "\tLogicalVolume[Path] [PhysicalVolume[Path]...]\n\n"
117 "[--splitmirrors Images --name SplitLogicalVolumeName]\n"
118 "\tLogicalVolume[Path] [SplittablePhysicalVolume[Path]...]\n\n"
122 "\t[-c|--chunksize]\n"
127 "\t[-Z|--zero {y|n}]\n"
129 "\tOriginalLogicalVolume[Path] SnapshotLogicalVolume[Path]\n\n"
133 "\t[-b|--background]\n"
134 "\t[-i|--interval seconds]\n"
138 "\tSnapshotLogicalVolume[Path]\n",
140 alloc_ARG, background_ARG, chunksize_ARG, corelog_ARG, interval_ARG,
141 merge_ARG, mirrorlog_ARG, mirrors_ARG, name_ARG, noudevsync_ARG,
142 regionsize_ARG, repair_ARG, snapshot_ARG, splitmirrors_ARG,
143 stripes_long_ARG, stripesize_ARG, test_ARG,
144 use_policies_ARG, yes_ARG, force_ARG, zero_ARG)
147 "Create a logical volume",
150 "\t[-A|--autobackup {y|n}]\n"
152 "\t[--alloc AllocationPolicy]\n"
153 "\t[-C|--contiguous {y|n}]\n"
156 "\t[--ignoremonitoring]\n"
157 "\t[--monitor {y|n}]\n"
158 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
159 "\t{-l|--extents LogicalExtentsNumber[%{VG|PVS|FREE}] |\n"
160 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
161 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
162 "\t[-m|--mirrors Mirrors [--nosync] [{--mirrorlog {disk|core|mirrored}|--corelog}]]\n"
163 "\t[-n|--name LogicalVolumeName]\n"
165 "\t[-p|--permission {r|rw}]\n"
166 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
167 "\t[-R|--regionsize MirrorLogRegionSize]\n"
169 "\t[--type VolumeType]\n"
171 "\t[-Z|--zero {y|n}]\n"
173 "\tVolumeGroupName [PhysicalVolumePath...]\n\n"
176 "\t{ {-s|--snapshot} OriginalLogicalVolume[Path] |\n"
177 "\t [-s|--snapshot] VolumeGroupName[Path] --virtualsize VirtualSize}\n"
178 "\t[-c|--chunksize]\n"
179 "\t[-A|--autobackup {y|n}]\n"
181 "\t[--alloc AllocationPolicy]\n"
182 "\t[-C|--contiguous {y|n}]\n"
185 "\t[--ignoremonitoring]\n"
186 "\t[--monitor {y|n}]\n"
187 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
188 "\t{-l|--extents LogicalExtentsNumber[%{VG|FREE|ORIGIN}] |\n"
189 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
190 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
191 "\t[-n|--name LogicalVolumeName]\n"
193 "\t[-p|--permission {r|rw}]\n"
194 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
199 "\t[PhysicalVolumePath...]\n\n",
201 addtag_ARG, alloc_ARG, autobackup_ARG, chunksize_ARG, contiguous_ARG,
202 corelog_ARG, extents_ARG, ignoremonitoring_ARG, major_ARG, minor_ARG,
203 mirrorlog_ARG, mirrors_ARG, monitor_ARG, name_ARG, nosync_ARG, noudevsync_ARG,
204 permission_ARG, persistent_ARG, readahead_ARG, regionsize_ARG, size_ARG,
205 snapshot_ARG, stripes_ARG, stripesize_ARG, test_ARG, type_ARG,
206 virtualoriginsize_ARG, virtualsize_ARG, zero_ARG)
209 "Display information about a logical volume",
216 "\t[--ignorelockingfailure]\n"
219 "\t[-P|--partial] " "\n"
220 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
223 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n"
225 "lvdisplay --columns|-C\n"
230 "\t[--ignorelockingfailure]\n"
233 "\t[-o|--options [+]Field[,Field]]\n"
234 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
235 "\t[-P|--partial] " "\n"
237 "\t[--separator Separator]\n"
239 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
242 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
244 aligned_ARG, all_ARG, colon_ARG, columns_ARG,
245 ignorelockingfailure_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG,
246 options_ARG, sort_ARG, partial_ARG, segments_ARG, separator_ARG,
247 unbuffered_ARG, units_ARG)
250 "Add space to a logical volume",
253 "\t[-A|--autobackup y|n]\n"
254 "\t[--alloc AllocationPolicy]\n"
258 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
259 "\t{-l|--extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
260 "\t -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
261 "\t[-m|--mirrors Mirrors]\n"
262 "\t[--use-policies]\n"
265 "\t[-r|--resizefs]\n"
267 "\t[--type VolumeType]\n"
270 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
272 alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, mirrors_ARG,
273 nofsck_ARG, noudevsync_ARG, resizefs_ARG, size_ARG, stripes_ARG,
274 stripesize_ARG, test_ARG, type_ARG, use_policies_ARG)
277 "With the device mapper, this is obsolete and does nothing.",
284 "\t[--version]" "\n",
289 "List devices that may be used as physical volumes",
294 "\t[-l|--lvmpartition]\n"
295 "\t[--version]" "\n",
300 "Collect activity data",
307 "\t[LogFilePath]\n" )
310 "Create activity report",
324 "Reduce the size of a logical volume",
327 "\t[-A|--autobackup y|n]\n"
331 "\t{-l|--extents [-]LogicalExtentsNumber[%{VG|LV|FREE|ORIGIN}] |\n"
332 "\t -L|--size [-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
335 "\t[-r|--resizefs]\n"
340 "\tLogicalVolume[Path]\n",
342 autobackup_ARG, force_ARG, extents_ARG, nofsck_ARG, noudevsync_ARG,
343 resizefs_ARG, size_ARG, test_ARG, yes_ARG)
346 "Remove logical volume(s) from the system",
349 "\t[-A|--autobackup y|n]\n"
357 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
359 autobackup_ARG, force_ARG, noudevsync_ARG, test_ARG)
362 "Rename a logical volume",
365 "\t[-A|--autobackup {y|n}] " "\n"
366 "\t[-d|--debug] " "\n"
367 "\t[-h|-?|--help] " "\n"
369 "\t[-t|--test] " "\n"
370 "\t[-v|--verbose]" "\n"
371 "\t[--version] " "\n"
372 "\t{ OldLogicalVolumePath NewLogicalVolumePath |" "\n"
373 "\t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName }\n",
375 autobackup_ARG, noudevsync_ARG, test_ARG)
378 "Resize a logical volume",
381 "\t[-A|--autobackup y|n]\n"
382 "\t[--alloc AllocationPolicy]\n"
386 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
387 "\t{-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
388 "\t -L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
391 "\t[-r|--resizefs]\n"
393 "\t[--type VolumeType]\n"
396 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
398 alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, nofsck_ARG,
399 noudevsync_ARG, resizefs_ARG, size_ARG, stripes_ARG, stripesize_ARG,
403 "Display information about logical volumes",
410 "\t[--ignorelockingfailure]\n"
411 "\t[--nameprefixes]\n"
414 "\t[-o|--options [+]Field[,Field]]\n"
415 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
416 "\t[-P|--partial] " "\n"
419 "\t[--separator Separator]\n"
422 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
426 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
428 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
429 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
430 rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG,
431 unbuffered_ARG, units_ARG, unquoted_ARG)
434 "List all logical volumes in all volume groups",
438 "\t[-b|--blockdevice] " "\n"
439 "\t[-d|--debug] " "\n"
440 "\t[-h|-?|--help] " "\n"
441 "\t[--ignorelockingfailure]\n"
442 "\t[-P|--partial] " "\n"
443 "\t[-v|--verbose] " "\n"
446 all_ARG, blockdevice_ARG, ignorelockingfailure_ARG, partial_ARG)
449 "Change attributes of physical volume(s)",
453 "\t[-A|--autobackup y|n]\n"
459 "\t[-x|--allocatable y|n]\n"
460 "\t[--metadataignore y|n]\n"
465 "\t[PhysicalVolumePath...]\n",
467 all_ARG, allocatable_ARG, allocation_ARG, autobackup_ARG, deltag_ARG,
468 addtag_ARG, force_ARG, metadataignore_ARG, test_ARG, uuid_ARG)
471 "Resize physical volume(s)",
474 "\t[-d|--debug]" "\n"
475 "\t[-h|-?|--help] " "\n"
476 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
477 "\t[-t|--test] " "\n"
478 "\t[-v|--verbose] " "\n"
479 "\t[--version] " "\n"
480 "\tPhysicalVolume [PhysicalVolume...]\n",
482 physicalvolumesize_ARG, test_ARG)
485 "Check the consistency of physical volume(s)",
490 "\t[--labelsector sector] " "\n"
493 "\tPhysicalVolume [PhysicalVolume...]\n",
498 "Initialize physical volume(s) for use by LVM",
501 "\t[--norestorefile]\n"
502 "\t[--restorefile file]\n"
503 "\t[-d|--debug]" "\n"
504 "\t[-f[f]|--force [--force]] " "\n"
505 "\t[-h|-?|--help] " "\n"
506 "\t[--labelsector sector] " "\n"
507 "\t[-M|--metadatatype 1|2]" "\n"
508 "\t[--pvmetadatacopies #copies]" "\n"
509 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
510 "\t[--dataalignment Alignment[bBsSkKmMgGtTpPeE]]" "\n"
511 "\t[--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]]" "\n"
512 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
513 "\t[-t|--test] " "\n"
514 "\t[-u|--uuid uuid] " "\n"
515 "\t[-v|--verbose] " "\n"
517 "\t[-Z|--zero {y|n}]\n"
518 "\t[--version] " "\n"
519 "\tPhysicalVolume [PhysicalVolume...]\n",
521 dataalignment_ARG, dataalignmentoffset_ARG, force_ARG, test_ARG,
522 labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
523 metadatasize_ARG, metadataignore_ARG, norestorefile_ARG,
524 physicalvolumesize_ARG, pvmetadatacopies_ARG,
525 restorefile_ARG, uuidstr_ARG, yes_ARG, zero_ARG)
528 "Display the on-disk metadata for physical volume(s)",
532 "\t[-d|--debug] " "\n"
533 "\t[-E|--physicalextent] " "\n"
534 "\t[-h|-?|--help]" "\n"
535 "\t[-L|--logicalvolume] " "\n"
536 "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n"
537 "\t[-U|--uuidlist] " "\n"
538 "\t[-v[v]|--verbose [--verbose]] " "\n"
539 "\t[-V|--volumegroup]" "\n"
540 "\t[--version] " "\n"
541 "\tPhysicalVolume [PhysicalVolume...]\n",
543 all_ARG, logicalextent_ARG, physicalextent_ARG,
544 physicalvolume_ARG, uuidlist_ARG, volumegroup_ARG)
547 "Display various attributes of physical volume(s)",
548 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
553 "\t[--ignorelockingfailure]\n"
557 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
560 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n"
562 "pvdisplay --columns|-C\n"
567 "\t[--ignorelockingfailure]\n"
570 "\t[-o|--options [+]Field[,Field]]\n"
571 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
572 "\t[--separator Separator]\n"
574 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
577 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
579 aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
580 maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG,
581 short_ARG, sort_ARG, unbuffered_ARG, units_ARG)
584 "Move extents from one physical volume to another",
588 "\t[-A|--autobackup {y|n}]\n"
589 "\t[--alloc AllocationPolicy]\n"
590 "\t[-b|--background]\n"
593 "\t[-i|--interval seconds]\n"
596 "\t[-v|--verbose]\n "
598 "\t[{-n|--name} LogicalVolume]\n"
599 /* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */
600 "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n"
601 "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
603 abort_ARG, alloc_ARG, autobackup_ARG, background_ARG,
604 interval_ARG, name_ARG, noudevsync_ARG, test_ARG)
607 "Remove LVM label(s) from physical volume(s)",
610 "\t[-d|--debug]" "\n"
611 "\t[-f[f]|--force [--force]] " "\n"
612 "\t[-h|-?|--help] " "\n"
613 "\t[-t|--test] " "\n"
614 "\t[-v|--verbose] " "\n"
616 "\t[--version] " "\n"
617 "\tPhysicalVolume [PhysicalVolume...]\n",
619 force_ARG, test_ARG, yes_ARG)
622 "Display information about physical volumes",
623 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
627 "\t[-d|--debug]" "\n"
628 "\t[-h|-?|--help] " "\n"
629 "\t[--ignorelockingfailure]\n"
630 "\t[--nameprefixes]\n"
633 "\t[-o|--options [+]Field[,Field]]\n"
634 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
635 "\t[-P|--partial] " "\n"
638 "\t[--separator Separator]\n"
641 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
645 "\t[PhysicalVolume [PhysicalVolume...]]\n",
647 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
648 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
649 rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG,
650 unbuffered_ARG, units_ARG, unquoted_ARG)
653 "List all physical volumes",
656 "\t[-d|--debug] " "\n"
657 "\t{-e|--exported | -n|--novolumegroup} " "\n"
658 "\t[-h|-?|--help]" "\n"
659 "\t[--ignorelockingfailure]\n"
660 "\t[-P|--partial] " "\n"
661 "\t[-s|--short] " "\n"
662 "\t[-u|--uuid] " "\n"
663 "\t[-v|--verbose] " "\n"
666 exported_ARG, ignorelockingfailure_ARG, novolumegroup_ARG, partial_ARG,
670 "List available segment types",
675 "Backup volume group configuration(s)",
678 "\t[-d|--debug] " "\n"
679 "\t[-f|--file filename] " "\n"
680 "\t[-h|-?|--help] " "\n"
681 "\t[--ignorelockingfailure]\n"
682 "\t[-P|--partial] " "\n"
683 "\t[-v|--verbose]" "\n"
684 "\t[--version] " "\n"
685 "\t[VolumeGroupName...]\n",
687 file_ARG, ignorelockingfailure_ARG, partial_ARG)
690 "Restore volume group configuration",
693 "\t[-d|--debug] " "\n"
694 "\t[-f|--file filename] " "\n"
695 "\t[-l[l]|--list [--list]]" "\n"
696 "\t[-M|--metadatatype 1|2]" "\n"
698 "\t[-t|--test] " "\n"
699 "\t[-v|--verbose]" "\n"
700 "\t[--version] " "\n"
703 file_ARG, list_ARG, metadatatype_ARG, test_ARG)
706 "Change volume group attributes",
707 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
709 "\t[-A|--autobackup {y|n}] " "\n"
710 "\t[--alloc AllocationPolicy] " "\n"
711 "\t[-P|--partial] " "\n"
712 "\t[-d|--debug] " "\n"
713 "\t[-h|--help] " "\n"
714 "\t[--ignorelockingfailure]\n"
715 "\t[--ignoremonitoring]\n"
716 "\t[--monitor {y|n}]\n"
717 "\t[--[vg]metadatacopies #copies] " "\n"
723 "\t[-u|--uuid] " "\n"
724 "\t[-v|--verbose] " "\n"
726 "\t{-a|--available [e|l]{y|n} |" "\n"
727 "\t -c|--clustered {y|n} |" "\n"
728 "\t -x|--resizeable {y|n} |" "\n"
729 "\t -l|--logicalvolume MaxLogicalVolumes |" "\n"
730 "\t -p|--maxphysicalvolumes MaxPhysicalVolumes |" "\n"
731 "\t -s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE] |" "\n"
732 "\t --addtag Tag |\n"
734 "\t[VolumeGroupName...]\n",
736 addtag_ARG, alloc_ARG, allocation_ARG, autobackup_ARG, available_ARG,
737 clustered_ARG, deltag_ARG, ignorelockingfailure_ARG, ignoremonitoring_ARG,
738 logicalvolume_ARG, maxphysicalvolumes_ARG, monitor_ARG, noudevsync_ARG,
739 metadatacopies_ARG, vgmetadatacopies_ARG, partial_ARG,
740 physicalextentsize_ARG, poll_ARG, refresh_ARG, resizeable_ARG,
741 resizable_ARG, sysinit_ARG, test_ARG, uuid_ARG)
744 "Check the consistency of volume group(s)",
751 "\t[VolumeGroupName...]\n" )
754 "Change volume group metadata format",
757 "\t[-d|--debug]" "\n"
758 "\t[-h|--help] " "\n"
759 "\t[--labelsector sector] " "\n"
760 "\t[-M|--metadatatype 1|2]" "\n"
761 "\t[--pvmetadatacopies #copies]" "\n"
762 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
763 "\t[-t|--test] " "\n"
764 "\t[-v|--verbose] " "\n"
765 "\t[--version] " "\n"
766 "\tVolumeGroupName [VolumeGroupName...]\n",
768 force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
769 pvmetadatacopies_ARG, metadatasize_ARG )
772 "Create a volume group",
775 "\t[-A|--autobackup {y|n}] " "\n"
776 "\t[--addtag Tag] " "\n"
777 "\t[--alloc AllocationPolicy] " "\n"
778 "\t[-c|--clustered {y|n}] " "\n"
779 "\t[-d|--debug]" "\n"
781 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
782 "\t[-M|--metadatatype 1|2] " "\n"
783 "\t[--[vg]metadatacopies #copies] " "\n"
784 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
785 "\t[-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]] " "\n"
786 "\t[-t|--test] " "\n"
787 "\t[-v|--verbose]" "\n"
788 "\t[--version] " "\n"
789 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
790 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
792 addtag_ARG, alloc_ARG, autobackup_ARG, clustered_ARG, maxlogicalvolumes_ARG,
793 maxphysicalvolumes_ARG, metadatatype_ARG, physicalextentsize_ARG, test_ARG,
794 force_ARG, yes_ARG, zero_ARG, labelsector_ARG, metadatasize_ARG,
795 pvmetadatacopies_ARG, metadatacopies_ARG, vgmetadatacopies_ARG,
796 dataalignment_ARG, dataalignmentoffset_ARG)
799 "Display volume group information",
802 "\t[-A|--activevolumegroups]" "\n"
803 "\t[-c|--colon | -s|--short | -v|--verbose]" "\n"
804 "\t[-d|--debug] " "\n"
805 "\t[-h|--help] " "\n"
806 "\t[--ignorelockingfailure]" "\n"
808 "\t[-P|--partial] " "\n"
809 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
811 "\t[VolumeGroupName [VolumeGroupName...]]\n"
813 "vgdisplay --columns|-C\n"
815 "\t[-d|--debug] " "\n"
816 "\t[-h|--help] " "\n"
817 "\t[--ignorelockingfailure]" "\n"
820 "\t[-o|--options [+]Field[,Field]]\n"
821 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
822 "\t[-P|--partial] " "\n"
823 "\t[--separator Separator]\n"
825 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
828 "\t[VolumeGroupName [VolumeGroupName...]]\n",
830 activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG,
831 ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, options_ARG,
832 partial_ARG, short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG)
835 "Unregister volume group(s) from the system",
839 "\t[-d|--debug] " "\n"
841 "\t[-v|--verbose] " "\n"
842 "\t[--version] " "\n"
843 "\tVolumeGroupName [VolumeGroupName...]\n",
848 "Add physical volumes to a volume group",
851 "\t[-A|--autobackup y|n]\n"
852 "\t[--restoremissing]\n"
859 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
860 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
862 autobackup_ARG, test_ARG,
863 force_ARG, yes_ARG, zero_ARG, labelsector_ARG, metadatatype_ARG,
864 metadatasize_ARG, pvmetadatacopies_ARG, metadatacopies_ARG,
865 metadataignore_ARG, dataalignment_ARG, dataalignmentoffset_ARG,
869 "Register exported volume group with system",
873 "\t[-d|--debug] " "\n"
874 "\t[-f|--force] " "\n"
875 "\t[-h|--help] " "\n"
876 "\t[-t|--test] " "\n"
877 "\t[-v|--verbose]" "\n"
879 "\tVolumeGroupName..." "\n",
881 all_ARG, force_ARG, test_ARG)
884 "Merge volume groups",
887 "\t[-A|--autobackup y|n]\n"
894 "\tDestinationVolumeGroupName SourceVolumeGroupName\n",
896 autobackup_ARG, list_ARG, test_ARG)
899 "Create the special files for volume group devices in /dev",
904 "\t[--ignorelockingfailure]\n"
908 "\t[VolumeGroupName...]\n",
910 ignorelockingfailure_ARG, refresh_ARG)
913 "Remove physical volume(s) from a volume group",
917 "\t[-A|--autobackup y|n]\n"
920 "\t[--mirrorsonly]\n"
921 "\t[--removemissing]\n"
926 "\tVolumeGroupName\n"
927 "\t[PhysicalVolumePath...]\n",
929 all_ARG, autobackup_ARG, force_ARG, mirrorsonly_ARG, removemissing_ARG,
933 "Remove volume group(s)",
943 "\tVolumeGroupName [VolumeGroupName...]\n",
945 force_ARG, noudevsync_ARG, test_ARG)
948 "Rename a volume group",
951 "\t[-A|--autobackup y|n]\n"
957 "\tOldVolumeGroupPath NewVolumeGroupPath |\n"
958 "\tOldVolumeGroupName NewVolumeGroupName\n",
960 autobackup_ARG, force_ARG, test_ARG)
963 "Display information about volume groups",
970 "\t[--ignorelockingfailure]\n"
971 "\t[--nameprefixes]\n"
974 "\t[-o|--options [+]Field[,Field]]\n"
975 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
976 "\t[-P|--partial] " "\n"
978 "\t[--separator Separator]\n"
981 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
985 "\t[VolumeGroupName [VolumeGroupName...]]\n",
987 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
988 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
989 rows_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG,
993 "Search for all volume groups",
998 "\t[--ignorelockingfailure]\n"
1000 "\t[-P|--partial] " "\n"
1001 "\t[-v|--verbose]\n"
1002 "\t[--version]" "\n",
1004 ignorelockingfailure_ARG, mknodes_ARG, partial_ARG)
1007 "Move physical volumes into a new or existing volume group",
1010 "\t[-A|--autobackup {y|n}] " "\n"
1011 "\t[--alloc AllocationPolicy] " "\n"
1012 "\t[-c|--clustered {y|n}] " "\n"
1013 "\t[-d|--debug] " "\n"
1014 "\t[-h|--help] " "\n"
1015 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
1016 "\t[-M|--metadatatype 1|2] " "\n"
1017 "\t[--[vg]metadatacopies #copies] " "\n"
1018 "\t[-n|--name LogicalVolumeName]\n"
1019 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
1020 "\t[-t|--test] " "\n"
1021 "\t[-v|--verbose] " "\n"
1022 "\t[--version]" "\n"
1023 "\tSourceVolumeGroupName DestinationVolumeGroupName" "\n"
1024 "\t[PhysicalVolumePath...]\n",
1026 alloc_ARG, autobackup_ARG, clustered_ARG,
1027 maxlogicalvolumes_ARG, maxphysicalvolumes_ARG,
1028 metadatatype_ARG, vgmetadatacopies_ARG, name_ARG, test_ARG)
1031 "Display software and driver version information",
1032 PERMITTED_READ_ONLY,