1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

vgchange: fix uint32 parsing of logicalvolume arg

This commit is contained in:
David Teigland 2017-02-06 16:10:09 -06:00
parent 2224b6a701
commit 8152e4a99e
2 changed files with 5 additions and 5 deletions

View File

@ -964,10 +964,10 @@ arg(stripesize_ARG, 'I', "stripesize", sizekb_VAL, 0, 0,
"The amount of data that is written to one device before\n" "The amount of data that is written to one device before\n"
"moving to the next in a striped LV.\n") "moving to the next in a striped LV.\n")
arg(logicalvolume_ARG, 'l', "logicalvolume", number_VAL, 0, 0, arg(logicalvolume_ARG, 'l', "logicalvolume", uint32_VAL, 0, 0,
"Sets the maximum number of LVs allowed in a VG.\n") "Sets the maximum number of LVs allowed in a VG.\n")
arg(maxlogicalvolumes_ARG, 'l', "maxlogicalvolumes", number_VAL, 0, 0, arg(maxlogicalvolumes_ARG, 'l', "maxlogicalvolumes", uint32_VAL, 0, 0,
"Sets the maximum number of LVs allowed in a VG.\n") "Sets the maximum number of LVs allowed in a VG.\n")
arg(extents_ARG, 'l', "extents", numsignedper_VAL, 0, 0, arg(extents_ARG, 'l', "extents", numsignedper_VAL, 0, 0,

View File

@ -1339,7 +1339,7 @@ OO_VGCHANGE: --autobackup Bool, --ignoremonitoring, --ignoreskippedcluster,
# because it can function as a required opt. # because it can function as a required opt.
OO_VGCHANGE_META: --addtag Tag, --deltag Tag, OO_VGCHANGE_META: --addtag Tag, --deltag Tag,
--logicalvolume Number, --maxphysicalvolumes Uint32, --alloc Alloc, --uuid, --logicalvolume Uint32, --maxphysicalvolumes Uint32, --alloc Alloc, --uuid,
--clustered Bool, --pvmetadatacopies MetadataCopiesPV, --vgmetadatacopies MetadataCopiesVG, --clustered Bool, --pvmetadatacopies MetadataCopiesPV, --vgmetadatacopies MetadataCopiesVG,
--physicalextentsize SizeMB, --resizeable Bool, --systemid String, --locktype LockType, --physicalextentsize SizeMB, --resizeable Bool, --systemid String, --locktype LockType,
--profile String, --detachprofile, --metadataprofile String --profile String, --detachprofile, --metadataprofile String
@ -1405,7 +1405,7 @@ ID: vgconvert_general
--- ---
vgcreate VG_new PV ... vgcreate VG_new PV ...
OO: --addtag Tag, --alloc Alloc, --autobackup Bool, --clustered Bool, --maxlogicalvolumes Number, OO: --addtag Tag, --alloc Alloc, --autobackup Bool, --clustered Bool, --maxlogicalvolumes Uint32,
--maxphysicalvolumes Uint32, --metadataprofile String, --metadatatype MetadataType, --maxphysicalvolumes Uint32, --metadataprofile String, --metadatatype MetadataType,
--physicalextentsize SizeMB, --force, --zero Bool, --labelsector Number, --physicalextentsize SizeMB, --force, --zero Bool, --labelsector Number,
--metadatasize SizeMB, --pvmetadatacopies MetadataCopiesPV, --vgmetadatacopies MetadataCopiesVG, --metadatasize SizeMB, --pvmetadatacopies MetadataCopiesPV, --vgmetadatacopies MetadataCopiesVG,
@ -1539,7 +1539,7 @@ OO_VGSPLIT: --autobackup Bool
# used only when the destination VG is new # used only when the destination VG is new
OO_VGSPLIT_NEW: --alloc Alloc, --clustered Bool, OO_VGSPLIT_NEW: --alloc Alloc, --clustered Bool,
--maxlogicalvolumes Number, --maxphysicalvolumes Uint32, --maxlogicalvolumes Uint32, --maxphysicalvolumes Uint32,
--metadatatype MetadataType, --vgmetadatacopies MetadataCopiesVG --metadatatype MetadataType, --vgmetadatacopies MetadataCopiesVG
vgsplit VG VG PV ... vgsplit VG VG PV ...