41
43
"\t[-o|--options [+]Field[,Field]]\n"
42
44
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
46
"\t[-S|--select Selection]\n"
44
47
"\t[--separator Separator]\n"
45
48
"\t[--unbuffered]\n"
48
50
"\t[--version]" "\n",
50
aligned_ARG, nameprefixes_ARG,
52
aligned_ARG, binary_ARG, nameprefixes_ARG,
51
53
noheadings_ARG, nosuffix_ARG, options_ARG,
52
rows_ARG, separator_ARG, sort_ARG,
54
rows_ARG, select_ARG, separator_ARG, sort_ARG,
53
55
unbuffered_ARG, unquoted_ARG)
57
59
PERMITTED_READ_ONLY,
59
61
"\t[-f|--file filename] \n"
60
"\t[--type {current|default|diff|missing|new|profilable} \n"
62
"\t[--type {current|default|diff|missing|new|profilable|profilable-command|profilable-metadata} \n"
61
63
"\t[--atversion version]] \n"
62
64
"\t[--ignoreadvanced] \n"
63
65
"\t[--ignoreunsupported] \n"
66
"\t[--config ConfigurationString] \n"
67
"\t[--commandprofile ProfileName] \n"
68
"\t[--profile ProfileName] \n"
69
"\t[--metadataprofile ProfileName] \n"
64
70
"\t[--mergedconfig] \n"
66
72
"\t[--withcomments] \n"
67
73
"\t[--withversions] \n"
68
74
"\t[ConfigurationNode...]\n",
69
75
atversion_ARG, configtype_ARG, file_ARG, ignoreadvanced_ARG,
70
ignoreunsupported_ARG, mergedconfig_ARG, validate_ARG,
71
withcomments_ARG, withversions_ARG)
76
ignoreunsupported_ARG, mergedconfig_ARG, metadataprofile_ARG,
77
validate_ARG, withcomments_ARG, withversions_ARG)
74
80
"List available metadata formats",
133
141
"\t[-Z|--zero {y|n}]\n"
134
142
"\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
136
addtag_ARG, alloc_ARG, autobackup_ARG, activate_ARG, available_ARG,
144
activationmode_ARG, addtag_ARG, alloc_ARG, autobackup_ARG, activate_ARG,
137
146
contiguous_ARG, deltag_ARG, discards_ARG, detachprofile_ARG, force_ARG,
138
147
ignorelockingfailure_ARG, ignoremonitoring_ARG, ignoreactivationskip_ARG,
139
ignoreskippedcluster_ARG,
140
major_ARG, minor_ARG, monitor_ARG, minrecoveryrate_ARG, maxrecoveryrate_ARG,
141
noudevsync_ARG, partial_ARG, permission_ARG, persistent_ARG, poll_ARG,
142
profile_ARG, raidminrecoveryrate_ARG, raidmaxrecoveryrate_ARG,
143
raidsyncaction_ARG, raidwritebehind_ARG, raidwritemostly_ARG, readahead_ARG,
144
resync_ARG, refresh_ARG, setactivationskip_ARG, syncaction_ARG, sysinit_ARG,
145
test_ARG, writebehind_ARG, writemostly_ARG, zero_ARG)
148
ignoreskippedcluster_ARG, major_ARG, metadataprofile_ARG, minor_ARG,
149
monitor_ARG, minrecoveryrate_ARG, maxrecoveryrate_ARG, noudevsync_ARG,
150
partial_ARG, permission_ARG, persistent_ARG, poll_ARG,
151
raidminrecoveryrate_ARG, raidmaxrecoveryrate_ARG, raidsyncaction_ARG,
152
raidwritebehind_ARG, raidwritemostly_ARG, readahead_ARG, resync_ARG,
153
refresh_ARG, setactivationskip_ARG, syncaction_ARG, sysinit_ARG, test_ARG,
154
writebehind_ARG, writemostly_ARG, zero_ARG)
156
#define COMMON_OPTS \
157
"\t[--commandprofile ProfileName] [-d|--debug] [-h|-?|--help]\n" \
158
"\t[--noudevsync] [-t|--test] [-v|--verbose] [--version] [-y|--yes]\n"
148
161
"Change logical volume layout",
155
168
"\t[-R|--regionsize MirrorLogRegionSize]\n"
156
169
"\t[--alloc AllocationPolicy]\n"
157
170
"\t[-b|--background]\n"
159
171
"\t[-f|--force]\n"
161
172
"\t[-i|--interval seconds]\n"
162
173
"\t[--stripes Stripes [-I|--stripesize StripeSize]]\n"
167
175
"\tLogicalVolume[Path] [PhysicalVolume[Path]...]\n\n"
170
178
"[--splitmirrors Images --trackchanges]\n"
171
"[--splitmirrors Images --name SplitLogicalVolumeName]\n"
179
"\t[--splitmirrors Images --name SplitLogicalVolumeName]\n"
172
181
"\tLogicalVolume[Path] [SplittablePhysicalVolume[Path]...]\n\n"
175
184
"--splitsnapshot\n"
181
186
"\tSnapshotLogicalVolume[Path]\n\n"
189
"[--type snapshot|-s|--snapshot]\n"
185
190
"\t[-c|--chunksize]\n"
190
191
"\t[-Z|--zero {y|n}]\n"
192
193
"\tOriginalLogicalVolume[Path] SnapshotLogicalVolume[Path]\n\n"
196
197
"\t[-b|--background]\n"
197
198
"\t[-i|--interval seconds]\n"
201
200
"\tLogicalVolume[Path]\n\n"
204
"--thinpool ThinPoolLogicalVolume[Path]\n"
203
"[--type thin[-pool]|-T|--thin]\n"
204
"\t[--thinpool ThinPoolLogicalVolume[Path]]\n"
205
205
"\t[--chunksize size]\n"
206
206
"\t[--discards {ignore|nopassdown|passdown}]\n"
207
"\t[--poolmetadataspare {y|n}]\n"
207
208
"\t[--poolmetadata ThinMetadataLogicalVolume[Path] |\n"
208
209
"\t [--poolmetadatasize size]\n"
209
"\t [--poolmetadataspare {y|n}]\n"
210
210
"\t [-r|--readahead ReadAheadSectors|auto|none]\n"
211
211
"\t [--stripes Stripes [-I|--stripesize StripeSize]]]\n"
212
"\t[-T|--thin ExternalLogicalVolume[Path]\n"
213
"\t [--originname NewExternalOriginVolumeName]]\n"
212
"\t[--originname NewExternalOriginVolumeName]]\n"
214
213
"\t[-Z|--zero {y|n}]\n"
215
"\t[-d|--debug] [-h|-?|--help] [-v|--verbose]\n\n"
215
"\t[ExternalOrigin|ThinDataPool]LogicalVolume[Path]\n\n"
218
"--type cache-pool\n"
218
"[--type cache[-pool]|--cache]\n"
219
"\t[--cachepool CacheDataLogicalVolume[Path]]\n"
219
220
"\t[--cachemode CacheMode]\n"
220
221
"\t[--chunksize size]\n"
222
"\t[--poolmetadataspare {y|n}]]\n"
221
223
"\t[--poolmetadata CacheMetadataLogicalVolume[Path] |\n"
222
224
"\t [--poolmetadatasize size]\n"
223
"\t [--poolmetadataspare {y|n}]]\n"
224
"\tCacheDataLogicalVolume[Path]\n\n"
228
"\t--cachepool CachePoolLogicalVolume[Path]\n"
229
"\tLogicalVolume[Path]\n\n",
231
alloc_ARG, background_ARG, cachemode_ARG, cachepool_ARG, chunksize_ARG,
226
"\t[Cache|CacheDataPool]LogicalVolume[Path]\n\n",
228
alloc_ARG, background_ARG, cache_ARG, cachemode_ARG, cachepool_ARG, chunksize_ARG,
232
229
corelog_ARG, discards_ARG, force_ARG, interval_ARG, merge_ARG, mirrorlog_ARG,
233
230
mirrors_ARG, name_ARG, noudevsync_ARG, originname_ARG, poolmetadata_ARG,
234
231
poolmetadatasize_ARG, poolmetadataspare_ARG, readahead_ARG, regionsize_ARG,
313
314
addtag_ARG, alloc_ARG, autobackup_ARG, activate_ARG, available_ARG,
314
315
cachemode_ARG, chunksize_ARG, contiguous_ARG, corelog_ARG, discards_ARG,
315
316
extents_ARG, ignoreactivationskip_ARG, ignoremonitoring_ARG, major_ARG,
316
minor_ARG, mirrorlog_ARG, mirrors_ARG, monitor_ARG, minrecoveryrate_ARG,
317
maxrecoveryrate_ARG, name_ARG, nosync_ARG, noudevsync_ARG,
318
permission_ARG, persistent_ARG, poolmetadatasize_ARG, poolmetadataspare_ARG,
319
raidminrecoveryrate_ARG, raidmaxrecoveryrate_ARG, readahead_ARG,
320
regionsize_ARG, setactivationskip_ARG, size_ARG, snapshot_ARG, stripes_ARG,
321
stripesize_ARG, test_ARG, thin_ARG, thinpool_ARG,
322
type_ARG, virtualoriginsize_ARG, virtualsize_ARG,
323
wipesignatures_ARG, zero_ARG)
317
metadataprofile_ARG, minor_ARG, mirrorlog_ARG, mirrors_ARG, monitor_ARG,
318
minrecoveryrate_ARG, maxrecoveryrate_ARG, name_ARG, nosync_ARG,
319
noudevsync_ARG, permission_ARG, persistent_ARG, poolmetadatasize_ARG,
320
poolmetadataspare_ARG, raidminrecoveryrate_ARG, raidmaxrecoveryrate_ARG,
321
readahead_ARG, regionsize_ARG, setactivationskip_ARG, size_ARG, snapshot_ARG,
322
stripes_ARG, stripesize_ARG, test_ARG, thin_ARG, thinpool_ARG, type_ARG,
323
virtualoriginsize_ARG, virtualsize_ARG, wipesignatures_ARG, zero_ARG)
326
326
"Display information about a logical volume",
363
368
aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
364
369
ignoreskippedcluster_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG,
365
options_ARG, sort_ARG, partial_ARG, segments_ARG, separator_ARG,
366
unbuffered_ARG, units_ARG)
370
options_ARG, sort_ARG, partial_ARG, readonly_ARG, segments_ARG,
371
select_ARG, separator_ARG, unbuffered_ARG, units_ARG)
369
374
"Add space to a logical volume",
550
569
"\t[--version]" "\n"
551
570
"\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
553
aligned_ARG, all_ARG, ignorelockingfailure_ARG, ignoreskippedcluster_ARG,
555
noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
556
rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG,
557
unbuffered_ARG, units_ARG, unquoted_ARG)
572
aligned_ARG, all_ARG, binary_ARG, ignorelockingfailure_ARG,
573
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG,
574
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
575
readonly_ARG, rows_ARG, segments_ARG, select_ARG, separator_ARG,
576
sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
560
579
"List all logical volumes in all volume groups",
564
583
"\t[-b|--blockdevice] " "\n"
585
"\t[--commandprofile ProfileName]\n"
565
586
"\t[-d|--debug] " "\n"
566
587
"\t[-h|-?|--help] " "\n"
567
588
"\t[--ignorelockingfailure]\n"
568
589
"\t[-P|--partial] " "\n"
569
591
"\t[-v|--verbose] " "\n"
570
592
"\t[--version]\n",
572
all_ARG, blockdevice_ARG, ignorelockingfailure_ARG, partial_ARG)
594
all_ARG, blockdevice_ARG, ignorelockingfailure_ARG, partial_ARG,
595
readonly_ARG, cache_ARG)
575
598
"Change attributes of physical volume(s)",
708
741
aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
709
742
ignoreskippedcluster_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG,
710
options_ARG, separator_ARG, short_ARG, sort_ARG, unbuffered_ARG, units_ARG)
743
options_ARG, readonly_ARG, select_ARG, separator_ARG, short_ARG, sort_ARG,
744
unbuffered_ARG, units_ARG)
713
747
"Move extents from one physical volume to another",
751
"\t[--alloc AllocationPolicy]\n"
717
753
"\t[-A|--autobackup {y|n}]\n"
718
"\t[--alloc AllocationPolicy]\n"
719
754
"\t[-b|--background]\n"
755
"\t[--commandprofile ProfileName]\n"
720
756
"\t[-d|--debug]\n "
721
757
"\t[-h|-?|--help]\n"
722
758
"\t[-i|--interval seconds]\n"
729
765
"\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n"
730
766
"\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
732
abort_ARG, alloc_ARG, autobackup_ARG, background_ARG,
768
abort_ARG, alloc_ARG, atomic_ARG, autobackup_ARG, background_ARG,
733
769
interval_ARG, name_ARG, noudevsync_ARG, test_ARG)
736
772
"Remove LVM label(s) from physical volume(s)",
775
"\t[--commandprofile ProfileName]\n"
739
776
"\t[-d|--debug]" "\n"
740
777
"\t[-f[f]|--force [--force]] " "\n"
741
778
"\t[-h|-?|--help] " "\n"
774
815
"\t[--version]\n"
775
816
"\t[PhysicalVolume [PhysicalVolume...]]\n",
777
aligned_ARG, all_ARG, ignorelockingfailure_ARG, ignoreskippedcluster_ARG,
778
nameprefixes_ARG, noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG,
779
partial_ARG, rows_ARG, segments_ARG, separator_ARG, sort_ARG,
780
trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
818
aligned_ARG, all_ARG, binary_ARG, ignorelockingfailure_ARG,
819
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG, nolocking_ARG,
820
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, rows_ARG,
821
segments_ARG, select_ARG, separator_ARG, sort_ARG, trustcache_ARG,
822
unbuffered_ARG, units_ARG, unquoted_ARG)
783
825
"List all physical volumes",
798
842
activate_ARG, available_ARG, backgroundfork_ARG, cache_ARG,
799
843
exported_ARG, ignorelockingfailure_ARG, major_ARG, minor_ARG,
800
novolumegroup_ARG, partial_ARG, short_ARG, uuid_ARG)
844
novolumegroup_ARG, partial_ARG, readonly_ARG, short_ARG, uuid_ARG)
803
847
"List available segment types",
813
857
"Backup volume group configuration(s)",
814
858
PERMITTED_READ_ONLY,
815
859
"vgcfgbackup " "\n"
860
"\t[--commandprofile ProfileName]\n"
816
861
"\t[-d|--debug] " "\n"
817
862
"\t[-f|--file filename] " "\n"
818
863
"\t[-h|-?|--help] " "\n"
819
864
"\t[--ignorelockingfailure]\n"
820
865
"\t[-P|--partial] " "\n"
821
867
"\t[-v|--verbose]" "\n"
822
868
"\t[--version] " "\n"
823
869
"\t[VolumeGroupName...]\n",
825
file_ARG, ignorelockingfailure_ARG, partial_ARG)
871
file_ARG, ignorelockingfailure_ARG, partial_ARG, readonly_ARG)
828
874
"Restore volume group configuration",
830
876
"vgcfgrestore " "\n"
877
"\t[--commandprofile ProfileName]\n"
831
878
"\t[-d|--debug] " "\n"
832
879
"\t[-f|--file filename] " "\n"
866
915
"\t[-v|--verbose] " "\n"
867
916
"\t[--version]" "\n"
868
917
"\t{-a|--activate [a|e|l]{y|n} |" "\n"
918
"\t[--activationmode {complete|degraded|partial}]" "\n"
869
919
"\t -c|--clustered {y|n} |" "\n"
870
920
"\t -x|--resizeable {y|n} |" "\n"
871
921
"\t -l|--logicalvolume MaxLogicalVolumes |" "\n"
872
922
"\t -p|--maxphysicalvolumes MaxPhysicalVolumes |" "\n"
873
923
"\t -s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE] |" "\n"
874
"\t[--profile ProfileName\n"
875
924
"\t --addtag Tag |\n"
876
925
"\t --deltag Tag}\n"
877
926
"\t[VolumeGroupName...]\n",
879
addtag_ARG, alloc_ARG, allocation_ARG, autobackup_ARG, activate_ARG,
928
activationmode_ARG, addtag_ARG, alloc_ARG, allocation_ARG, autobackup_ARG,
880
930
available_ARG, clustered_ARG, deltag_ARG, detachprofile_ARG,
881
931
ignoreactivationskip_ARG, ignorelockingfailure_ARG, ignoremonitoring_ARG,
882
ignoreskippedcluster_ARG,
883
logicalvolume_ARG, maxphysicalvolumes_ARG, monitor_ARG, noudevsync_ARG,
884
metadatacopies_ARG, vgmetadatacopies_ARG, partial_ARG, profile_ARG,
885
physicalextentsize_ARG, poll_ARG, refresh_ARG, resizeable_ARG,
886
resizable_ARG, sysinit_ARG, test_ARG, uuid_ARG)
932
ignoreskippedcluster_ARG, logicalvolume_ARG, maxphysicalvolumes_ARG,
933
metadataprofile_ARG, monitor_ARG, noudevsync_ARG, metadatacopies_ARG,
934
vgmetadatacopies_ARG, partial_ARG, physicalextentsize_ARG, poll_ARG,
935
refresh_ARG, resizeable_ARG, resizable_ARG, sysinit_ARG, test_ARG, uuid_ARG)
889
938
"Check the consistency of volume group(s)",
941
"\t[--commandprofile ProfileName]\n"
892
942
"\t[-d|--debug]\n"
893
943
"\t[-h|--help]\n"
894
944
"\t[-v|--verbose]\n"
938
991
"\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
940
993
addtag_ARG, alloc_ARG, autobackup_ARG, clustered_ARG, maxlogicalvolumes_ARG,
941
maxphysicalvolumes_ARG, metadatatype_ARG, physicalextentsize_ARG, test_ARG,
942
force_ARG, zero_ARG, labelsector_ARG, metadatasize_ARG,
943
pvmetadatacopies_ARG, metadatacopies_ARG, vgmetadatacopies_ARG,
944
dataalignment_ARG, dataalignmentoffset_ARG)
994
maxphysicalvolumes_ARG, metadataprofile_ARG, metadatatype_ARG,
995
physicalextentsize_ARG, test_ARG, force_ARG, zero_ARG, labelsector_ARG,
996
metadatasize_ARG, pvmetadatacopies_ARG, metadatacopies_ARG,
997
vgmetadatacopies_ARG, dataalignment_ARG, dataalignmentoffset_ARG)
947
1000
"Display volume group information",
949
1002
"vgdisplay " "\n"
950
1003
"\t[-A|--activevolumegroups]" "\n"
951
1004
"\t[-c|--colon | -s|--short | -v|--verbose]" "\n"
1005
"\t[--commandprofile ProfileName]\n"
952
1006
"\t[-d|--debug] " "\n"
953
1007
"\t[-h|--help] " "\n"
954
1008
"\t[--ignorelockingfailure]" "\n"
955
1009
"\t[--ignoreskippedcluster]\n"
956
1010
"\t[--nosuffix]\n"
957
1011
"\t[-P|--partial] " "\n"
958
1013
"\t[--units hHbBsSkKmMgGtTpPeE]\n"
959
1014
"\t[--version]" "\n"
960
1015
"\t[VolumeGroupName [VolumeGroupName...]]\n"
962
1017
"vgdisplay --columns|-C\n"
963
1018
"\t[--aligned]\n"
1019
"\t[--commandprofile ProfileName]\n"
964
1020
"\t[-d|--debug] " "\n"
965
1021
"\t[-h|--help] " "\n"
966
1022
"\t[--ignorelockingfailure]" "\n"
980
1038
activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG,
981
1039
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, noheadings_ARG,
982
nosuffix_ARG, options_ARG, partial_ARG, short_ARG, separator_ARG,
983
sort_ARG, unbuffered_ARG, units_ARG)
1040
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, select_ARG,
1041
short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG)
986
1044
"Unregister volume group(s) from the system",
988
1046
"vgexport " "\n"
989
1047
"\t[-a|--all] " "\n"
1048
"\t[--commandprofile ProfileName]\n"
990
1049
"\t[-d|--debug] " "\n"
991
1050
"\t[-h|--help]" "\n"
992
1051
"\t[-v|--verbose] " "\n"
1137
1207
"\t[--version]\n"
1138
1208
"\t[VolumeGroupName [VolumeGroupName...]]\n",
1140
aligned_ARG, all_ARG, ignorelockingfailure_ARG, ignoreskippedcluster_ARG,
1142
noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1143
rows_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG,
1210
aligned_ARG, all_ARG, binary_ARG, ignorelockingfailure_ARG,
1211
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG,
1212
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1213
readonly_ARG, rows_ARG, select_ARG, separator_ARG, sort_ARG,
1214
trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
1147
1217
"Search for all volume groups",
1148
1218
PERMITTED_READ_ONLY,
1150
1220
"\t[--cache]\n"
1221
"\t[--commandprofile ProfileName]\n"
1151
1222
"\t[-d|--debug]\n"
1152
1223
"\t[-h|--help]\n"
1153
1224
"\t[--ignorelockingfailure]\n"