4 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
5 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
7 * This file is part of LVM2.
9 * This copyrighted material is made available to anyone wishing to use,
10 * modify, copy, or redistribute it subject to the terms and conditions
11 * of the GNU Lesser General Public License v.2.1.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, write to the Free Software Foundation,
15 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 /*********** Replace with script?
20 "Resize logical volume and ext2 filesystem",
22 "[-d|--debug] " "[-h|--help] " "[-n|--nofsck]" "\n"
23 "\t{[-l|--extents] [+|-]LogicalExtentsNumber |" "\n"
24 "\t [-L|--size] [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}" "\n"
26 "\t[-v|--verbose] " "\n"
28 "\tLogicalVolumePath" "\n",
30 extents_ARG, size_ARG, nofsck_ARG, test_ARG)
34 "Dump active configuration",
37 "\t[-f|--file filename] " "\n"
38 "[ConfigurationVariable...]\n",
42 "List available metadata formats",
47 "Display help for commands",
49 "help <command>" "\n")
53 "Activate logical volume on given partition(s)",
58 "Logical Volume(s)\n")
62 "Change the attributes of logical volume(s)",
65 "\t[-A|--autobackup y|n]\n"
66 "\t[-a|--available [e|l]y|n]\n"
68 "\t[--alloc AllocationPolicy]\n"
69 "\t[-C|--contiguous y|n]\n"
74 "\t[--ignorelockingfailure]\n"
75 "\t[--ignoremonitoring]\n"
76 "\t[--monitor {y|n}]\n"
78 "\t[-M|--persistent y|n] [--major major] [--minor minor]\n"
79 "\t[-P|--partial] " "\n"
80 "\t[-p|--permission r|rw]\n"
81 "\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 readahead_ARG
, resync_ARG
, refresh_ARG
, addtag_ARG
, deltag_ARG
, test_ARG
,
97 "Change logical volume layout",
100 "[-m|--mirrors Mirrors [{--mirrorlog {disk|core}|--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"
113 "\tLogicalVolume[Path] [PhysicalVolume[Path]...]\n\n"
117 "\t[-c|--chunksize]\n"
122 "\t[-Z|--zero {y|n}]\n"
124 "\tOriginalLogicalVolume[Path] SnapshotLogicalVolume[Path]\n",
126 alloc_ARG
, background_ARG
, chunksize_ARG
, corelog_ARG
, interval_ARG
,
127 mirrorlog_ARG
, mirrors_ARG
, noudevsync_ARG
, regionsize_ARG
, repair_ARG
,
128 snapshot_ARG
, test_ARG
, use_policies_ARG
, yes_ARG
, force_ARG
, zero_ARG
)
131 "Create a logical volume",
134 "\t[-A|--autobackup {y|n}]\n"
136 "\t[--alloc AllocationPolicy]\n"
137 "\t[-C|--contiguous {y|n}]\n"
140 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
141 "\t{-l|--extents LogicalExtentsNumber |\n"
142 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
143 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
144 "\t[-m|--mirrors Mirrors [--nosync] [{--mirrorlog {disk|core}|--corelog}]]\n"
145 "\t[-n|--name LogicalVolumeName]\n"
147 "\t[-p|--permission {r|rw}]\n"
148 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
149 "\t[-R|--regionsize MirrorLogRegionSize]\n"
151 "\t[--type VolumeType]\n"
153 "\t[-Z|--zero {y|n}]\n"
155 "\tVolumeGroupName [PhysicalVolumePath...]\n\n"
158 "\t{ {-s|--snapshot} OriginalLogicalVolume[Path] |\n"
159 "\t [-s|--snapshot] VolumeGroupName[Path] --virtualsize VirtualSize}\n"
160 "\t[-c|--chunksize]\n"
161 "\t[-A|--autobackup {y|n}]\n"
163 "\t[--alloc AllocationPolicy]\n"
164 "\t[-C|--contiguous {y|n}]\n"
167 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
168 "\t{-l|--extents LogicalExtentsNumber[%{VG|LV|PVS|FREE}] |\n"
169 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
170 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
171 "\t[-n|--name LogicalVolumeName]\n"
173 "\t[-p|--permission {r|rw}]\n"
174 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
179 "\t[PhysicalVolumePath...]\n\n",
181 addtag_ARG
, alloc_ARG
, autobackup_ARG
, chunksize_ARG
, contiguous_ARG
,
182 corelog_ARG
, extents_ARG
, major_ARG
, minor_ARG
, mirrorlog_ARG
, mirrors_ARG
,
183 name_ARG
, nosync_ARG
, noudevsync_ARG
, permission_ARG
, persistent_ARG
,
184 readahead_ARG
, regionsize_ARG
, size_ARG
, snapshot_ARG
, stripes_ARG
,
185 stripesize_ARG
, test_ARG
, type_ARG
, virtualoriginsize_ARG
, virtualsize_ARG
,
189 "Display information about a logical volume",
196 "\t[--ignorelockingfailure]\n"
199 "\t[-P|--partial] " "\n"
200 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
203 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n"
205 "lvdisplay --columns|-C\n"
210 "\t[--ignorelockingfailure]\n"
213 "\t[-o|--options [+]Field[,Field]]\n"
214 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
215 "\t[-P|--partial] " "\n"
217 "\t[--separator Separator]\n"
219 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
222 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
224 aligned_ARG
, all_ARG
, colon_ARG
, columns_ARG
,
225 ignorelockingfailure_ARG
, maps_ARG
, noheadings_ARG
, nosuffix_ARG
,
226 options_ARG
, sort_ARG
, partial_ARG
, segments_ARG
, separator_ARG
,
227 unbuffered_ARG
, units_ARG
)
230 "Add space to a logical volume",
233 "\t[-A|--autobackup y|n]\n"
234 "\t[--alloc AllocationPolicy]\n"
238 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
239 "\t{-l|--extents [+]LogicalExtentsNumber[%{VG|PVS|FREE}] |\n"
240 "\t -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
241 "\t[-m|--mirrors Mirrors]\n"
244 "\t[-r|--resizefs]\n"
246 "\t[--type VolumeType]\n"
249 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
251 alloc_ARG
, autobackup_ARG
, extents_ARG
, force_ARG
, mirrors_ARG
,
252 nofsck_ARG
, noudevsync_ARG
, resizefs_ARG
, size_ARG
, stripes_ARG
,
253 stripesize_ARG
, test_ARG
, type_ARG
)
256 "With the device mapper, this is obsolete and does nothing.",
263 "\t[--version]" "\n",
268 "List devices that may be used as physical volumes",
273 "\t[-l|--lvmpartition]\n"
274 "\t[--version]" "\n",
279 "Collect activity data",
286 "\t[LogFilePath]\n" )
289 "Create activity report",
303 "Reduce the size of a logical volume",
306 "\t[-A|--autobackup y|n]\n"
310 "\t{-l|--extents [-]LogicalExtentsNumber[%{VG|LV|FREE}] |\n"
311 "\t -L|--size [-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
314 "\t[-r|--resizefs]\n"
319 "\tLogicalVolume[Path]\n",
321 autobackup_ARG
, force_ARG
, extents_ARG
, nofsck_ARG
, noudevsync_ARG
,
322 resizefs_ARG
, size_ARG
, test_ARG
, yes_ARG
)
325 "Remove logical volume(s) from the system",
328 "\t[-A|--autobackup y|n]\n"
336 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
338 autobackup_ARG
, force_ARG
, noudevsync_ARG
, test_ARG
)
341 "Rename a logical volume",
344 "\t[-A|--autobackup {y|n}] " "\n"
345 "\t[-d|--debug] " "\n"
346 "\t[-h|-?|--help] " "\n"
348 "\t[-t|--test] " "\n"
349 "\t[-v|--verbose]" "\n"
350 "\t[--version] " "\n"
351 "\t{ OldLogicalVolumePath NewLogicalVolumePath |" "\n"
352 "\t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName }\n",
354 autobackup_ARG
, noudevsync_ARG
, test_ARG
)
357 "Resize a logical volume",
360 "\t[-A|--autobackup y|n]\n"
361 "\t[--alloc AllocationPolicy]\n"
365 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
366 "\t{-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE}] |\n"
367 "\t -L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
370 "\t[-r|--resizefs]\n"
372 "\t[--type VolumeType]\n"
375 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
377 alloc_ARG
, autobackup_ARG
, extents_ARG
, force_ARG
, nofsck_ARG
,
378 noudevsync_ARG
, resizefs_ARG
, size_ARG
, stripes_ARG
, stripesize_ARG
,
382 "Display information about logical volumes",
389 "\t[--ignorelockingfailure]\n"
390 "\t[--nameprefixes]\n"
393 "\t[-o|--options [+]Field[,Field]]\n"
394 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
395 "\t[-P|--partial] " "\n"
398 "\t[--separator Separator]\n"
401 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
405 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
407 aligned_ARG
, all_ARG
, ignorelockingfailure_ARG
, nameprefixes_ARG
,
408 noheadings_ARG
, nolocking_ARG
, nosuffix_ARG
, options_ARG
, partial_ARG
,
409 rows_ARG
, segments_ARG
, separator_ARG
, sort_ARG
, trustcache_ARG
,
410 unbuffered_ARG
, units_ARG
, unquoted_ARG
)
413 "List all logical volumes in all volume groups",
417 "\t[-b|--blockdevice] " "\n"
418 "\t[-d|--debug] " "\n"
419 "\t[-h|-?|--help] " "\n"
420 "\t[--ignorelockingfailure]\n"
421 "\t[-P|--partial] " "\n"
422 "\t[-v|--verbose] " "\n"
425 all_ARG
, blockdevice_ARG
, ignorelockingfailure_ARG
, partial_ARG
)
428 "Change attributes of physical volume(s)",
432 "\t[-A|--autobackup y|n]\n"
437 "\t[-x|--allocatable y|n]\n"
442 "\t[PhysicalVolumePath...]\n",
444 all_ARG
, allocatable_ARG
, allocation_ARG
, autobackup_ARG
, deltag_ARG
,
445 addtag_ARG
, test_ARG
, uuid_ARG
)
448 "Resize physical volume(s)",
451 "\t[-d|--debug]" "\n"
452 "\t[-h|-?|--help] " "\n"
453 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
454 "\t[-t|--test] " "\n"
455 "\t[-v|--verbose] " "\n"
456 "\t[--version] " "\n"
457 "\tPhysicalVolume [PhysicalVolume...]\n",
459 physicalvolumesize_ARG
, test_ARG
)
462 "Check the consistency of physical volume(s)",
467 "\t[--labelsector sector] " "\n"
470 "\tPhysicalVolume [PhysicalVolume...]\n",
475 "Initialize physical volume(s) for use by LVM",
478 "\t[--restorefile file]\n"
479 "\t[-d|--debug]" "\n"
480 "\t[-f[f]|--force [--force]] " "\n"
481 "\t[-h|-?|--help] " "\n"
482 "\t[--labelsector sector] " "\n"
483 "\t[-M|--metadatatype 1|2]" "\n"
484 "\t[--pvmetadatacopies #copies]" "\n"
485 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
486 "\t[--dataalignment Alignment[bBsSkKmMgGtTpPeE]]" "\n"
487 "\t[--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]]" "\n"
488 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
489 "\t[-t|--test] " "\n"
490 "\t[-u|--uuid uuid] " "\n"
491 "\t[-v|--verbose] " "\n"
493 "\t[-Z|--zero {y|n}]\n"
494 "\t[--version] " "\n"
495 "\tPhysicalVolume [PhysicalVolume...]\n",
497 dataalignment_ARG
, dataalignmentoffset_ARG
, force_ARG
, test_ARG
,
498 labelsector_ARG
, metadatatype_ARG
, metadatacopies_ARG
, pvmetadatacopies_ARG
,
499 metadatasize_ARG
, physicalvolumesize_ARG
, restorefile_ARG
, uuidstr_ARG
,
503 "Display the on-disk metadata for physical volume(s)",
507 "\t[-d|--debug] " "\n"
508 "\t[-E|--physicalextent] " "\n"
509 "\t[-h|-?|--help]" "\n"
510 "\t[-L|--logicalvolume] " "\n"
511 "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n"
512 "\t[-U|--uuidlist] " "\n"
513 "\t[-v[v]|--verbose [--verbose]] " "\n"
514 "\t[-V|--volumegroup]" "\n"
515 "\t[--version] " "\n"
516 "\tPhysicalVolume [PhysicalVolume...]\n",
518 all_ARG
, logicalextent_ARG
, physicalextent_ARG
,
519 physicalvolume_ARG
, uuidlist_ARG
, volumegroup_ARG
)
522 "Display various attributes of physical volume(s)",
528 "\t[--ignorelockingfailure]\n"
532 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
535 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n"
537 "pvdisplay --columns|-C\n"
542 "\t[--ignorelockingfailure]\n"
545 "\t[-o|--options [+]Field[,Field]]\n"
546 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
547 "\t[--separator Separator]\n"
549 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
552 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
554 aligned_ARG
, all_ARG
, colon_ARG
, columns_ARG
, ignorelockingfailure_ARG
,
555 maps_ARG
, noheadings_ARG
, nosuffix_ARG
, options_ARG
, separator_ARG
,
556 short_ARG
, sort_ARG
, unbuffered_ARG
, units_ARG
)
559 "Move extents from one physical volume to another",
563 "\t[-A|--autobackup {y|n}]\n"
564 "\t[--alloc AllocationPolicy]\n"
565 "\t[-b|--background]\n"
568 "\t[-i|--interval seconds]\n"
571 "\t[-v|--verbose]\n "
573 "\t[{-n|--name} LogicalVolume]\n"
574 /* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */
575 "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n"
576 "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
578 abort_ARG
, alloc_ARG
, autobackup_ARG
, background_ARG
,
579 interval_ARG
, name_ARG
, noudevsync_ARG
, test_ARG
)
582 "Remove LVM label(s) from physical volume(s)",
585 "\t[-d|--debug]" "\n"
586 "\t[-f[f]|--force [--force]] " "\n"
587 "\t[-h|-?|--help] " "\n"
588 "\t[-t|--test] " "\n"
589 "\t[-v|--verbose] " "\n"
591 "\t[--version] " "\n"
592 "\tPhysicalVolume [PhysicalVolume...]\n",
594 force_ARG
, test_ARG
, yes_ARG
)
597 "Display information about physical volumes",
602 "\t[-d|--debug]" "\n"
603 "\t[-h|-?|--help] " "\n"
604 "\t[--ignorelockingfailure]\n"
605 "\t[--nameprefixes]\n"
608 "\t[-o|--options [+]Field[,Field]]\n"
609 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
610 "\t[-P|--partial] " "\n"
613 "\t[--separator Separator]\n"
616 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
620 "\t[PhysicalVolume [PhysicalVolume...]]\n",
622 aligned_ARG
, all_ARG
, ignorelockingfailure_ARG
, nameprefixes_ARG
,
623 noheadings_ARG
, nolocking_ARG
, nosuffix_ARG
, options_ARG
, partial_ARG
,
624 rows_ARG
, segments_ARG
, separator_ARG
, sort_ARG
, trustcache_ARG
,
625 unbuffered_ARG
, units_ARG
, unquoted_ARG
)
628 "List all physical volumes",
631 "\t[-d|--debug] " "\n"
632 "\t{-e|--exported | -n|--novolumegroup} " "\n"
633 "\t[-h|-?|--help]" "\n"
634 "\t[--ignorelockingfailure]\n"
635 "\t[-P|--partial] " "\n"
636 "\t[-s|--short] " "\n"
637 "\t[-u|--uuid] " "\n"
638 "\t[-v|--verbose] " "\n"
641 exported_ARG
, ignorelockingfailure_ARG
, novolumegroup_ARG
, partial_ARG
,
645 "List available segment types",
650 "Backup volume group configuration(s)",
653 "\t[-d|--debug] " "\n"
654 "\t[-f|--file filename] " "\n"
655 "\t[-h|-?|--help] " "\n"
656 "\t[--ignorelockingfailure]\n"
657 "\t[-P|--partial] " "\n"
658 "\t[-v|--verbose]" "\n"
659 "\t[--version] " "\n"
660 "\t[VolumeGroupName...]\n",
662 file_ARG
, ignorelockingfailure_ARG
, partial_ARG
)
665 "Restore volume group configuration",
668 "\t[-d|--debug] " "\n"
669 "\t[-f|--file filename] " "\n"
670 "\t[-l[l]|--list [--list]]" "\n"
671 "\t[-M|--metadatatype 1|2]" "\n"
672 "\t[-n|--name VolumeGroupName] " "\n"
674 "\t[-t|--test] " "\n"
675 "\t[-v|--verbose]" "\n"
676 "\t[--version] " "\n"
679 file_ARG
, list_ARG
, metadatatype_ARG
, name_ARG
, test_ARG
)
682 "Change volume group attributes",
685 "\t[-A|--autobackup {y|n}] " "\n"
686 "\t[--alloc AllocationPolicy] " "\n"
687 "\t[-P|--partial] " "\n"
688 "\t[-d|--debug] " "\n"
689 "\t[-h|--help] " "\n"
690 "\t[--ignorelockingfailure]\n"
691 "\t[--ignoremonitoring]\n"
692 "\t[--monitor {y|n}]\n"
696 "\t[-u|--uuid] " "\n"
697 "\t[-v|--verbose] " "\n"
699 "\t{-a|--available [e|l]{y|n} |" "\n"
700 "\t -c|--clustered {y|n} |" "\n"
701 "\t -x|--resizeable {y|n} |" "\n"
702 "\t -l|--logicalvolume MaxLogicalVolumes |" "\n"
703 "\t -p|--maxphysicalvolumes MaxPhysicalVolumes |" "\n"
704 "\t -s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE] |" "\n"
705 "\t --addtag Tag |\n"
707 "\t[VolumeGroupName...]\n",
709 addtag_ARG
, alloc_ARG
, allocation_ARG
, autobackup_ARG
, available_ARG
,
710 clustered_ARG
, deltag_ARG
, ignorelockingfailure_ARG
, ignoremonitoring_ARG
,
711 logicalvolume_ARG
, maxphysicalvolumes_ARG
, monitor_ARG
, noudevsync_ARG
,
712 partial_ARG
, physicalextentsize_ARG
, refresh_ARG
, resizeable_ARG
,
713 resizable_ARG
, test_ARG
, uuid_ARG
)
716 "Check the consistency of volume group(s)",
723 "\t[VolumeGroupName...]\n" )
726 "Change volume group metadata format",
729 "\t[-d|--debug]" "\n"
730 "\t[-h|--help] " "\n"
731 "\t[--labelsector sector] " "\n"
732 "\t[-M|--metadatatype 1|2]" "\n"
733 "\t[--pvmetadatacopies #copies]" "\n"
734 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
735 "\t[-t|--test] " "\n"
736 "\t[-v|--verbose] " "\n"
737 "\t[--version] " "\n"
738 "\tVolumeGroupName [VolumeGroupName...]\n",
740 force_ARG
, test_ARG
, labelsector_ARG
, metadatatype_ARG
, metadatacopies_ARG
,
741 pvmetadatacopies_ARG
, metadatasize_ARG
)
744 "Create a volume group",
747 "\t[-A|--autobackup {y|n}] " "\n"
748 "\t[--addtag Tag] " "\n"
749 "\t[--alloc AllocationPolicy] " "\n"
750 "\t[-c|--clustered {y|n}] " "\n"
751 "\t[-d|--debug]" "\n"
753 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
754 "\t[-M|--metadatatype 1|2] " "\n"
755 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
756 "\t[-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]] " "\n"
757 "\t[-t|--test] " "\n"
758 "\t[-v|--verbose]" "\n"
759 "\t[--version] " "\n"
760 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
761 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
763 addtag_ARG
, alloc_ARG
, autobackup_ARG
, clustered_ARG
, maxlogicalvolumes_ARG
,
764 maxphysicalvolumes_ARG
, metadatatype_ARG
, physicalextentsize_ARG
, test_ARG
,
765 force_ARG
, yes_ARG
, zero_ARG
, labelsector_ARG
, metadatasize_ARG
,
766 pvmetadatacopies_ARG
, metadatacopies_ARG
, dataalignment_ARG
,
767 dataalignmentoffset_ARG
)
770 "Display volume group information",
773 "\t[-A|--activevolumegroups]" "\n"
774 "\t[-c|--colon | -s|--short | -v|--verbose]" "\n"
775 "\t[-d|--debug] " "\n"
776 "\t[-h|--help] " "\n"
777 "\t[--ignorelockingfailure]" "\n"
779 "\t[-P|--partial] " "\n"
780 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
782 "\t[VolumeGroupName [VolumeGroupName...]]\n"
784 "vgdisplay --columns|-C\n"
786 "\t[-d|--debug] " "\n"
787 "\t[-h|--help] " "\n"
788 "\t[--ignorelockingfailure]" "\n"
791 "\t[-o|--options [+]Field[,Field]]\n"
792 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
793 "\t[-P|--partial] " "\n"
794 "\t[--separator Separator]\n"
796 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
799 "\t[VolumeGroupName [VolumeGroupName...]]\n",
801 activevolumegroups_ARG
, aligned_ARG
, colon_ARG
, columns_ARG
,
802 ignorelockingfailure_ARG
, noheadings_ARG
, nosuffix_ARG
, options_ARG
,
803 partial_ARG
, short_ARG
, separator_ARG
, sort_ARG
, unbuffered_ARG
, units_ARG
)
806 "Unregister volume group(s) from the system",
810 "\t[-d|--debug] " "\n"
812 "\t[-v|--verbose] " "\n"
813 "\t[--version] " "\n"
814 "\tVolumeGroupName [VolumeGroupName...]\n",
819 "Add physical volumes to a volume group",
822 "\t[-A|--autobackup y|n]\n"
828 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
829 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
831 autobackup_ARG
, test_ARG
,
832 force_ARG
, yes_ARG
, zero_ARG
, labelsector_ARG
, metadatatype_ARG
,
833 metadatasize_ARG
, pvmetadatacopies_ARG
, metadatacopies_ARG
,
834 dataalignment_ARG
, dataalignmentoffset_ARG
)
837 "Register exported volume group with system",
841 "\t[-d|--debug] " "\n"
842 "\t[-f|--force] " "\n"
843 "\t[-h|--help] " "\n"
844 "\t[-t|--test] " "\n"
845 "\t[-v|--verbose]" "\n"
847 "\tVolumeGroupName..." "\n",
849 all_ARG
, force_ARG
, test_ARG
)
852 "Merge volume groups",
855 "\t[-A|--autobackup y|n]\n"
862 "\tDestinationVolumeGroupName SourceVolumeGroupName\n",
864 autobackup_ARG
, list_ARG
, test_ARG
)
867 "Create the special files for volume group devices in /dev",
872 "\t[--ignorelockingfailure]\n"
876 "\t[VolumeGroupName...]\n",
878 ignorelockingfailure_ARG
, refresh_ARG
)
881 "Remove physical volume(s) from a volume group",
885 "\t[-A|--autobackup y|n]\n"
888 "\t[--mirrorsonly]\n"
889 "\t[--removemissing]\n"
894 "\tVolumeGroupName\n"
895 "\t[PhysicalVolumePath...]\n",
897 all_ARG
, autobackup_ARG
, force_ARG
, mirrorsonly_ARG
, removemissing_ARG
,
901 "Remove volume group(s)",
911 "\tVolumeGroupName [VolumeGroupName...]\n",
913 force_ARG
, noudevsync_ARG
, test_ARG
)
916 "Rename a volume group",
919 "\t[-A|--autobackup y|n]\n"
925 "\tOldVolumeGroupPath NewVolumeGroupPath |\n"
926 "\tOldVolumeGroupName NewVolumeGroupName\n",
928 autobackup_ARG
, force_ARG
, test_ARG
)
931 "Display information about volume groups",
938 "\t[--ignorelockingfailure]\n"
939 "\t[--nameprefixes]\n"
942 "\t[-o|--options [+]Field[,Field]]\n"
943 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
944 "\t[-P|--partial] " "\n"
946 "\t[--separator Separator]\n"
949 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
953 "\t[VolumeGroupName [VolumeGroupName...]]\n",
955 aligned_ARG
, all_ARG
, ignorelockingfailure_ARG
, nameprefixes_ARG
,
956 noheadings_ARG
, nolocking_ARG
, nosuffix_ARG
, options_ARG
, partial_ARG
,
957 rows_ARG
, separator_ARG
, sort_ARG
, trustcache_ARG
, unbuffered_ARG
, units_ARG
,
961 "Search for all volume groups",
966 "\t[--ignorelockingfailure]\n"
968 "\t[-P|--partial] " "\n"
970 "\t[--version]" "\n",
972 ignorelockingfailure_ARG
, mknodes_ARG
, partial_ARG
)
975 "Move physical volumes into a new or existing volume group",
978 "\t[-A|--autobackup {y|n}] " "\n"
979 "\t[--alloc AllocationPolicy] " "\n"
980 "\t[-c|--clustered {y|n}] " "\n"
981 "\t[-d|--debug] " "\n"
982 "\t[-h|--help] " "\n"
983 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
984 "\t[-M|--metadatatype 1|2] " "\n"
985 "\t[-n|--name LogicalVolumeName]\n"
986 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
987 "\t[-t|--test] " "\n"
988 "\t[-v|--verbose] " "\n"
990 "\tSourceVolumeGroupName DestinationVolumeGroupName" "\n"
991 "\t[PhysicalVolumePath...]\n",
993 alloc_ARG
, autobackup_ARG
, clustered_ARG
,
994 maxlogicalvolumes_ARG
, maxphysicalvolumes_ARG
,
995 metadatatype_ARG
, name_ARG
, test_ARG
)
998 "Display software and driver version information",