]>
sourceware.org Git - lvm2.git/blob - tools/commands.h
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[--type SegmentType]\n"
102 "\t[--repair [--use-policies]]\n"
103 "\t[--replace PhysicalVolume]\n"
104 "\t[-R|--regionsize MirrorLogRegionSize]\n"
105 "\t[--alloc AllocationPolicy]\n"
106 "\t[-b|--background]\n"
110 "\t[-i|--interval seconds]\n"
111 "\t[--stripes Stripes [-I|--stripesize StripeSize]]\n"
116 "\tLogicalVolume[Path] [PhysicalVolume[Path]...]\n\n"
119 "[--splitmirrors Images --trackchanges]\n"
120 "[--splitmirrors Images --name SplitLogicalVolumeName]\n"
121 "\tLogicalVolume[Path] [SplittablePhysicalVolume[Path]...]\n\n"
125 "\t[-c|--chunksize]\n"
130 "\t[-Z|--zero {y|n}]\n"
132 "\tOriginalLogicalVolume[Path] SnapshotLogicalVolume[Path]\n\n"
136 "\t[-b|--background]\n"
137 "\t[-i|--interval seconds]\n"
141 "\tLogicalVolume[Path]\n",
143 alloc_ARG
, background_ARG
, chunksize_ARG
, corelog_ARG
, interval_ARG
,
144 merge_ARG
, mirrorlog_ARG
, mirrors_ARG
, name_ARG
, noudevsync_ARG
,
145 regionsize_ARG
, repair_ARG
, replace_ARG
, snapshot_ARG
, splitmirrors_ARG
,
146 trackchanges_ARG
, type_ARG
, stripes_long_ARG
, stripesize_ARG
, test_ARG
,
147 use_policies_ARG
, yes_ARG
, force_ARG
, zero_ARG
)
150 "Create a logical volume",
153 "\t[-A|--autobackup {y|n}]\n"
154 "\t[-a|--available [e|l]y|n]\n"
156 "\t[--alloc AllocationPolicy]\n"
157 "\t[-C|--contiguous {y|n}]\n"
160 "\t[--ignoremonitoring]\n"
161 "\t[--monitor {y|n}]\n"
162 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
163 "\t{-l|--extents LogicalExtentsNumber[%{VG|PVS|FREE}] |\n"
164 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
165 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
166 "\t[-m|--mirrors Mirrors [--nosync] [{--mirrorlog {disk|core|mirrored}|--corelog}]]\n"
167 "\t[-n|--name LogicalVolumeName]\n"
169 "\t[-p|--permission {r|rw}]\n"
170 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
171 "\t[-R|--regionsize MirrorLogRegionSize]\n"
173 "\t[--type VolumeType]\n"
175 "\t[-Z|--zero {y|n}]\n"
177 "\tVolumeGroupName [PhysicalVolumePath...]\n\n"
180 "\t{ {-s|--snapshot} OriginalLogicalVolume[Path] |\n"
181 "\t [-s|--snapshot] VolumeGroupName[Path] -V|--virtualsize VirtualSize}\n"
182 "\t {-T|--thin} VolumeGroupName[Path][/PoolLogicalVolume] \n"
183 "\t -V|--virtualsize VirtualSize}\n"
184 "\t[-c|--chunksize]\n"
185 "\t[-A|--autobackup {y|n}]\n"
187 "\t[--alloc AllocationPolicy]\n"
188 "\t[-C|--contiguous {y|n}]\n"
191 "\t[--ignoremonitoring]\n"
192 "\t[--monitor {y|n}]\n"
193 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
194 "\t{-l|--extents LogicalExtentsNumber[%{VG|FREE|ORIGIN}] |\n"
195 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
196 "\t[--poolmetadatasize Size[bBsSkKmMgG]]\n"
197 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
198 "\t[-n|--name LogicalVolumeName]\n"
200 "\t[-p|--permission {r|rw}]\n"
201 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
203 "\t[--thinpool] PoolLogicalVolume\n"
207 "\t[PhysicalVolumePath...]\n\n",
209 addtag_ARG
, alloc_ARG
, autobackup_ARG
, available_ARG
, chunksize_ARG
,
210 contiguous_ARG
, corelog_ARG
, extents_ARG
, ignoremonitoring_ARG
, major_ARG
,
211 minor_ARG
, mirrorlog_ARG
, mirrors_ARG
, monitor_ARG
, name_ARG
, nosync_ARG
,
212 noudevsync_ARG
, permission_ARG
, persistent_ARG
, readahead_ARG
,
213 regionsize_ARG
, size_ARG
, snapshot_ARG
, stripes_ARG
, stripesize_ARG
,
214 test_ARG
, thin_ARG
, thinpool_ARG
, type_ARG
, virtualoriginsize_ARG
,
215 poolmetadatasize_ARG
, virtualsize_ARG
, zero_ARG
)
218 "Display information about a logical volume",
225 "\t[--ignorelockingfailure]\n"
228 "\t[-P|--partial] " "\n"
229 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
232 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n"
234 "lvdisplay --columns|-C\n"
239 "\t[--ignorelockingfailure]\n"
242 "\t[-o|--options [+]Field[,Field]]\n"
243 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
244 "\t[-P|--partial] " "\n"
246 "\t[--separator Separator]\n"
248 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
251 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
253 aligned_ARG
, all_ARG
, colon_ARG
, columns_ARG
,
254 ignorelockingfailure_ARG
, maps_ARG
, noheadings_ARG
, nosuffix_ARG
,
255 options_ARG
, sort_ARG
, partial_ARG
, segments_ARG
, separator_ARG
,
256 unbuffered_ARG
, units_ARG
)
259 "Add space to a logical volume",
262 "\t[-A|--autobackup y|n]\n"
263 "\t[--alloc AllocationPolicy]\n"
267 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
268 "\t{-l|--extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
269 "\t -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
270 "\t[-m|--mirrors Mirrors]\n"
272 "\t[--use-policies]\n"
275 "\t[-r|--resizefs]\n"
277 "\t[--type VolumeType]\n"
280 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
282 alloc_ARG
, autobackup_ARG
, extents_ARG
, force_ARG
, mirrors_ARG
,
283 nofsck_ARG
, nosync_ARG
, noudevsync_ARG
, resizefs_ARG
, size_ARG
, stripes_ARG
,
284 stripesize_ARG
, test_ARG
, type_ARG
, use_policies_ARG
)
287 "With the device mapper, this is obsolete and does nothing.",
294 "\t[--version]" "\n",
299 "List devices that may be used as physical volumes",
304 "\t[-l|--lvmpartition]\n"
305 "\t[--version]" "\n",
310 "Collect activity data",
317 "\t[LogFilePath]\n" )
320 "Create activity report",
334 "Reduce the size of a logical volume",
337 "\t[-A|--autobackup y|n]\n"
341 "\t{-l|--extents [-]LogicalExtentsNumber[%{VG|LV|FREE|ORIGIN}] |\n"
342 "\t -L|--size [-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
345 "\t[-r|--resizefs]\n"
350 "\tLogicalVolume[Path]\n",
352 autobackup_ARG
, force_ARG
, extents_ARG
, nofsck_ARG
, noudevsync_ARG
,
353 resizefs_ARG
, size_ARG
, test_ARG
, yes_ARG
)
356 "Remove logical volume(s) from the system",
359 "\t[-A|--autobackup y|n]\n"
367 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
369 autobackup_ARG
, force_ARG
, noudevsync_ARG
, test_ARG
)
372 "Rename a logical volume",
375 "\t[-A|--autobackup {y|n}] " "\n"
376 "\t[-d|--debug] " "\n"
377 "\t[-h|-?|--help] " "\n"
379 "\t[-t|--test] " "\n"
380 "\t[-v|--verbose]" "\n"
381 "\t[--version] " "\n"
382 "\t{ OldLogicalVolumePath NewLogicalVolumePath |" "\n"
383 "\t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName }\n",
385 autobackup_ARG
, noudevsync_ARG
, test_ARG
)
388 "Resize a logical volume",
391 "\t[-A|--autobackup y|n]\n"
392 "\t[--alloc AllocationPolicy]\n"
396 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
397 "\t{-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
398 "\t -L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
401 "\t[-r|--resizefs]\n"
403 "\t[--type VolumeType]\n"
406 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
408 alloc_ARG
, autobackup_ARG
, extents_ARG
, force_ARG
, nofsck_ARG
,
409 noudevsync_ARG
, resizefs_ARG
, size_ARG
, stripes_ARG
, stripesize_ARG
,
413 "Display information about logical volumes",
420 "\t[--ignorelockingfailure]\n"
421 "\t[--nameprefixes]\n"
424 "\t[-o|--options [+]Field[,Field]]\n"
425 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
426 "\t[-P|--partial] " "\n"
429 "\t[--separator Separator]\n"
432 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
436 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
438 aligned_ARG
, all_ARG
, ignorelockingfailure_ARG
, nameprefixes_ARG
,
439 noheadings_ARG
, nolocking_ARG
, nosuffix_ARG
, options_ARG
, partial_ARG
,
440 rows_ARG
, segments_ARG
, separator_ARG
, sort_ARG
, trustcache_ARG
,
441 unbuffered_ARG
, units_ARG
, unquoted_ARG
)
444 "List all logical volumes in all volume groups",
448 "\t[-b|--blockdevice] " "\n"
449 "\t[-d|--debug] " "\n"
450 "\t[-h|-?|--help] " "\n"
451 "\t[--ignorelockingfailure]\n"
452 "\t[-P|--partial] " "\n"
453 "\t[-v|--verbose] " "\n"
456 all_ARG
, blockdevice_ARG
, ignorelockingfailure_ARG
, partial_ARG
)
459 "Change attributes of physical volume(s)",
463 "\t[-A|--autobackup y|n]\n"
469 "\t[-x|--allocatable y|n]\n"
470 "\t[--metadataignore y|n]\n"
475 "\t[PhysicalVolumePath...]\n",
477 all_ARG
, allocatable_ARG
, allocation_ARG
, autobackup_ARG
, deltag_ARG
,
478 addtag_ARG
, force_ARG
, metadataignore_ARG
, test_ARG
, uuid_ARG
)
481 "Resize physical volume(s)",
484 "\t[-d|--debug]" "\n"
485 "\t[-h|-?|--help] " "\n"
486 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
487 "\t[-t|--test] " "\n"
488 "\t[-v|--verbose] " "\n"
489 "\t[--version] " "\n"
490 "\tPhysicalVolume [PhysicalVolume...]\n",
492 physicalvolumesize_ARG
, test_ARG
)
495 "Check the consistency of physical volume(s)",
500 "\t[--labelsector sector] " "\n"
503 "\tPhysicalVolume [PhysicalVolume...]\n",
508 "Initialize physical volume(s) for use by LVM",
511 "\t[--norestorefile]\n"
512 "\t[--restorefile file]\n"
513 "\t[-d|--debug]" "\n"
514 "\t[-f[f]|--force [--force]] " "\n"
515 "\t[-h|-?|--help] " "\n"
516 "\t[--labelsector sector] " "\n"
517 "\t[-M|--metadatatype 1|2]" "\n"
518 "\t[--pvmetadatacopies #copies]" "\n"
519 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
520 "\t[--dataalignment Alignment[bBsSkKmMgGtTpPeE]]" "\n"
521 "\t[--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]]" "\n"
522 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
523 "\t[-t|--test] " "\n"
524 "\t[-u|--uuid uuid] " "\n"
525 "\t[-v|--verbose] " "\n"
527 "\t[-Z|--zero {y|n}]\n"
528 "\t[--version] " "\n"
529 "\tPhysicalVolume [PhysicalVolume...]\n",
531 dataalignment_ARG
, dataalignmentoffset_ARG
, force_ARG
, test_ARG
,
532 labelsector_ARG
, metadatatype_ARG
, metadatacopies_ARG
,
533 metadatasize_ARG
, metadataignore_ARG
, norestorefile_ARG
,
534 physicalvolumesize_ARG
, pvmetadatacopies_ARG
,
535 restorefile_ARG
, uuidstr_ARG
, yes_ARG
, zero_ARG
)
538 "Display the on-disk metadata for physical volume(s)",
542 "\t[-d|--debug] " "\n"
543 "\t[-E|--physicalextent] " "\n"
544 "\t[-h|-?|--help]" "\n"
545 "\t[-L|--logicalvolume] " "\n"
546 "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n"
547 "\t[-U|--uuidlist] " "\n"
548 "\t[-v[v]|--verbose [--verbose]] " "\n"
549 "\t[-V|--volumegroup]" "\n"
550 "\t[--version] " "\n"
551 "\tPhysicalVolume [PhysicalVolume...]\n",
553 all_ARG
, logicalextent_ARG
, physicalextent_ARG
,
554 physicalvolume_ARG
, uuidlist_ARG
, volumegroup_ARG
)
557 "Display various attributes of physical volume(s)",
558 CACHE_VGMETADATA
| PERMITTED_READ_ONLY
,
563 "\t[--ignorelockingfailure]\n"
567 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
570 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n"
572 "pvdisplay --columns|-C\n"
577 "\t[--ignorelockingfailure]\n"
580 "\t[-o|--options [+]Field[,Field]]\n"
581 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
582 "\t[--separator Separator]\n"
584 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
587 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
589 aligned_ARG
, all_ARG
, colon_ARG
, columns_ARG
, ignorelockingfailure_ARG
,
590 maps_ARG
, noheadings_ARG
, nosuffix_ARG
, options_ARG
, separator_ARG
,
591 short_ARG
, sort_ARG
, unbuffered_ARG
, units_ARG
)
594 "Move extents from one physical volume to another",
598 "\t[-A|--autobackup {y|n}]\n"
599 "\t[--alloc AllocationPolicy]\n"
600 "\t[-b|--background]\n"
603 "\t[-i|--interval seconds]\n"
606 "\t[-v|--verbose]\n "
608 "\t[{-n|--name} LogicalVolume]\n"
609 /* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */
610 "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n"
611 "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
613 abort_ARG
, alloc_ARG
, autobackup_ARG
, background_ARG
,
614 interval_ARG
, name_ARG
, noudevsync_ARG
, test_ARG
)
617 "Remove LVM label(s) from physical volume(s)",
620 "\t[-d|--debug]" "\n"
621 "\t[-f[f]|--force [--force]] " "\n"
622 "\t[-h|-?|--help] " "\n"
623 "\t[-t|--test] " "\n"
624 "\t[-v|--verbose] " "\n"
626 "\t[--version] " "\n"
627 "\tPhysicalVolume [PhysicalVolume...]\n",
629 force_ARG
, test_ARG
, yes_ARG
)
632 "Display information about physical volumes",
633 CACHE_VGMETADATA
| PERMITTED_READ_ONLY
,
637 "\t[-d|--debug]" "\n"
638 "\t[-h|-?|--help] " "\n"
639 "\t[--ignorelockingfailure]\n"
640 "\t[--nameprefixes]\n"
643 "\t[-o|--options [+]Field[,Field]]\n"
644 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
645 "\t[-P|--partial] " "\n"
648 "\t[--separator Separator]\n"
651 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
655 "\t[PhysicalVolume [PhysicalVolume...]]\n",
657 aligned_ARG
, all_ARG
, ignorelockingfailure_ARG
, nameprefixes_ARG
,
658 noheadings_ARG
, nolocking_ARG
, nosuffix_ARG
, options_ARG
, partial_ARG
,
659 rows_ARG
, segments_ARG
, separator_ARG
, sort_ARG
, trustcache_ARG
,
660 unbuffered_ARG
, units_ARG
, unquoted_ARG
)
663 "List all physical volumes",
666 "\t[--cache [ DevicePath | --major major --minor minor]...]\n"
667 "\t[-d|--debug] " "\n"
668 "\t{-e|--exported | -n|--novolumegroup} " "\n"
669 "\t[-h|-?|--help]" "\n"
670 "\t[--ignorelockingfailure]\n"
671 "\t[-P|--partial] " "\n"
672 "\t[-s|--short] " "\n"
673 "\t[-u|--uuid] " "\n"
674 "\t[-v|--verbose] " "\n"
677 cache_ARG
, exported_ARG
, ignorelockingfailure_ARG
, major_ARG
, minor_ARG
,
678 novolumegroup_ARG
, partial_ARG
, short_ARG
, uuid_ARG
)
681 "List available segment types",
686 "Backup volume group configuration(s)",
689 "\t[-d|--debug] " "\n"
690 "\t[-f|--file filename] " "\n"
691 "\t[-h|-?|--help] " "\n"
692 "\t[--ignorelockingfailure]\n"
693 "\t[-P|--partial] " "\n"
694 "\t[-v|--verbose]" "\n"
695 "\t[--version] " "\n"
696 "\t[VolumeGroupName...]\n",
698 file_ARG
, ignorelockingfailure_ARG
, partial_ARG
)
701 "Restore volume group configuration",
704 "\t[-d|--debug] " "\n"
705 "\t[-f|--file filename] " "\n"
706 "\t[-l[l]|--list [--list]]" "\n"
707 "\t[-M|--metadatatype 1|2]" "\n"
709 "\t[-t|--test] " "\n"
710 "\t[-v|--verbose]" "\n"
711 "\t[--version] " "\n"
714 file_ARG
, list_ARG
, metadatatype_ARG
, test_ARG
)
717 "Change volume group attributes",
718 CACHE_VGMETADATA
| PERMITTED_READ_ONLY
,
720 "\t[-A|--autobackup {y|n}] " "\n"
721 "\t[--alloc AllocationPolicy] " "\n"
722 "\t[-P|--partial] " "\n"
723 "\t[-d|--debug] " "\n"
724 "\t[-h|--help] " "\n"
725 "\t[--ignorelockingfailure]\n"
726 "\t[--ignoremonitoring]\n"
727 "\t[--monitor {y|n}]\n"
728 "\t[--[vg]metadatacopies #copies] " "\n"
734 "\t[-u|--uuid] " "\n"
735 "\t[-v|--verbose] " "\n"
737 "\t{-a|--available [e|l]{y|n} |" "\n"
738 "\t -c|--clustered {y|n} |" "\n"
739 "\t -x|--resizeable {y|n} |" "\n"
740 "\t -l|--logicalvolume MaxLogicalVolumes |" "\n"
741 "\t -p|--maxphysicalvolumes MaxPhysicalVolumes |" "\n"
742 "\t -s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE] |" "\n"
743 "\t --addtag Tag |\n"
745 "\t[VolumeGroupName...]\n",
747 addtag_ARG
, alloc_ARG
, allocation_ARG
, autobackup_ARG
, available_ARG
,
748 clustered_ARG
, deltag_ARG
, ignorelockingfailure_ARG
, ignoremonitoring_ARG
,
749 logicalvolume_ARG
, maxphysicalvolumes_ARG
, monitor_ARG
, noudevsync_ARG
,
750 metadatacopies_ARG
, vgmetadatacopies_ARG
, partial_ARG
,
751 physicalextentsize_ARG
, poll_ARG
, refresh_ARG
, resizeable_ARG
,
752 resizable_ARG
, sysinit_ARG
, test_ARG
, uuid_ARG
)
755 "Check the consistency of volume group(s)",
762 "\t[VolumeGroupName...]\n" )
765 "Change volume group metadata format",
768 "\t[-d|--debug]" "\n"
769 "\t[-h|--help] " "\n"
770 "\t[--labelsector sector] " "\n"
771 "\t[-M|--metadatatype 1|2]" "\n"
772 "\t[--pvmetadatacopies #copies]" "\n"
773 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
774 "\t[-t|--test] " "\n"
775 "\t[-v|--verbose] " "\n"
776 "\t[--version] " "\n"
777 "\tVolumeGroupName [VolumeGroupName...]\n",
779 force_ARG
, test_ARG
, labelsector_ARG
, metadatatype_ARG
, metadatacopies_ARG
,
780 pvmetadatacopies_ARG
, metadatasize_ARG
)
783 "Create a volume group",
786 "\t[-A|--autobackup {y|n}] " "\n"
787 "\t[--addtag Tag] " "\n"
788 "\t[--alloc AllocationPolicy] " "\n"
789 "\t[-c|--clustered {y|n}] " "\n"
790 "\t[-d|--debug]" "\n"
792 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
793 "\t[-M|--metadatatype 1|2] " "\n"
794 "\t[--[vg]metadatacopies #copies] " "\n"
795 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
796 "\t[-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]] " "\n"
797 "\t[-t|--test] " "\n"
798 "\t[-v|--verbose]" "\n"
799 "\t[--version] " "\n"
800 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
801 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
803 addtag_ARG
, alloc_ARG
, autobackup_ARG
, clustered_ARG
, maxlogicalvolumes_ARG
,
804 maxphysicalvolumes_ARG
, metadatatype_ARG
, physicalextentsize_ARG
, test_ARG
,
805 force_ARG
, yes_ARG
, zero_ARG
, labelsector_ARG
, metadatasize_ARG
,
806 pvmetadatacopies_ARG
, metadatacopies_ARG
, vgmetadatacopies_ARG
,
807 dataalignment_ARG
, dataalignmentoffset_ARG
)
810 "Display volume group information",
813 "\t[-A|--activevolumegroups]" "\n"
814 "\t[-c|--colon | -s|--short | -v|--verbose]" "\n"
815 "\t[-d|--debug] " "\n"
816 "\t[-h|--help] " "\n"
817 "\t[--ignorelockingfailure]" "\n"
819 "\t[-P|--partial] " "\n"
820 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
822 "\t[VolumeGroupName [VolumeGroupName...]]\n"
824 "vgdisplay --columns|-C\n"
826 "\t[-d|--debug] " "\n"
827 "\t[-h|--help] " "\n"
828 "\t[--ignorelockingfailure]" "\n"
831 "\t[-o|--options [+]Field[,Field]]\n"
832 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
833 "\t[-P|--partial] " "\n"
834 "\t[--separator Separator]\n"
836 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
839 "\t[VolumeGroupName [VolumeGroupName...]]\n",
841 activevolumegroups_ARG
, aligned_ARG
, colon_ARG
, columns_ARG
,
842 ignorelockingfailure_ARG
, noheadings_ARG
, nosuffix_ARG
, options_ARG
,
843 partial_ARG
, short_ARG
, separator_ARG
, sort_ARG
, unbuffered_ARG
, units_ARG
)
846 "Unregister volume group(s) from the system",
850 "\t[-d|--debug] " "\n"
852 "\t[-v|--verbose] " "\n"
853 "\t[--version] " "\n"
854 "\tVolumeGroupName [VolumeGroupName...]\n",
859 "Add physical volumes to a volume group",
862 "\t[-A|--autobackup y|n]\n"
863 "\t[--restoremissing]\n"
870 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
871 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
873 autobackup_ARG
, test_ARG
,
874 force_ARG
, yes_ARG
, zero_ARG
, labelsector_ARG
, metadatatype_ARG
,
875 metadatasize_ARG
, pvmetadatacopies_ARG
, metadatacopies_ARG
,
876 metadataignore_ARG
, dataalignment_ARG
, dataalignmentoffset_ARG
,
880 "Register exported volume group with system",
884 "\t[-d|--debug] " "\n"
885 "\t[-f|--force] " "\n"
886 "\t[-h|--help] " "\n"
887 "\t[-t|--test] " "\n"
888 "\t[-v|--verbose]" "\n"
890 "\tVolumeGroupName..." "\n",
892 all_ARG
, force_ARG
, test_ARG
)
895 "Merge volume groups",
898 "\t[-A|--autobackup y|n]\n"
905 "\tDestinationVolumeGroupName SourceVolumeGroupName\n",
907 autobackup_ARG
, list_ARG
, test_ARG
)
910 "Create the special files for volume group devices in /dev",
915 "\t[--ignorelockingfailure]\n"
919 "\t[VolumeGroupName...]\n",
921 ignorelockingfailure_ARG
, refresh_ARG
)
924 "Remove physical volume(s) from a volume group",
928 "\t[-A|--autobackup y|n]\n"
931 "\t[--mirrorsonly]\n"
932 "\t[--removemissing]\n"
937 "\tVolumeGroupName\n"
938 "\t[PhysicalVolumePath...]\n",
940 all_ARG
, autobackup_ARG
, force_ARG
, mirrorsonly_ARG
, removemissing_ARG
,
944 "Remove volume group(s)",
954 "\tVolumeGroupName [VolumeGroupName...]\n",
956 force_ARG
, noudevsync_ARG
, test_ARG
)
959 "Rename a volume group",
962 "\t[-A|--autobackup y|n]\n"
968 "\tOldVolumeGroupPath NewVolumeGroupPath |\n"
969 "\tOldVolumeGroupName NewVolumeGroupName\n",
971 autobackup_ARG
, force_ARG
, test_ARG
)
974 "Display information about volume groups",
981 "\t[--ignorelockingfailure]\n"
982 "\t[--nameprefixes]\n"
985 "\t[-o|--options [+]Field[,Field]]\n"
986 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
987 "\t[-P|--partial] " "\n"
989 "\t[--separator Separator]\n"
992 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
996 "\t[VolumeGroupName [VolumeGroupName...]]\n",
998 aligned_ARG
, all_ARG
, ignorelockingfailure_ARG
, nameprefixes_ARG
,
999 noheadings_ARG
, nolocking_ARG
, nosuffix_ARG
, options_ARG
, partial_ARG
,
1000 rows_ARG
, separator_ARG
, sort_ARG
, trustcache_ARG
, unbuffered_ARG
, units_ARG
,
1004 "Search for all volume groups",
1005 PERMITTED_READ_ONLY
,
1010 "\t[--ignorelockingfailure]\n"
1012 "\t[-P|--partial] " "\n"
1013 "\t[-v|--verbose]\n"
1014 "\t[--version]" "\n",
1016 cache_ARG
, ignorelockingfailure_ARG
, mknodes_ARG
, partial_ARG
)
1019 "Move physical volumes into a new or existing volume group",
1022 "\t[-A|--autobackup {y|n}] " "\n"
1023 "\t[--alloc AllocationPolicy] " "\n"
1024 "\t[-c|--clustered {y|n}] " "\n"
1025 "\t[-d|--debug] " "\n"
1026 "\t[-h|--help] " "\n"
1027 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
1028 "\t[-M|--metadatatype 1|2] " "\n"
1029 "\t[--[vg]metadatacopies #copies] " "\n"
1030 "\t[-n|--name LogicalVolumeName]\n"
1031 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
1032 "\t[-t|--test] " "\n"
1033 "\t[-v|--verbose] " "\n"
1034 "\t[--version]" "\n"
1035 "\tSourceVolumeGroupName DestinationVolumeGroupName" "\n"
1036 "\t[PhysicalVolumePath...]\n",
1038 alloc_ARG
, autobackup_ARG
, clustered_ARG
,
1039 maxlogicalvolumes_ARG
, maxphysicalvolumes_ARG
,
1040 metadatatype_ARG
, vgmetadatacopies_ARG
, name_ARG
, test_ARG
)
1043 "Display software and driver version information",
1044 PERMITTED_READ_ONLY
,
This page took 0.08211 seconds and 5 git commands to generate.