mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
vgchange: also -l is uint32
This commit is contained in:
parent
8a93cde75e
commit
0d2a9ebec6
@ -63,6 +63,11 @@ check vg_field $vg max_pv 4294967295
|
|||||||
# vgchange -l MaxLogicalVolumes
|
# vgchange -l MaxLogicalVolumes
|
||||||
check vg_field $vg max_lv 0
|
check vg_field $vg max_lv 0
|
||||||
invalid vgchange -l -128 $vg
|
invalid vgchange -l -128 $vg
|
||||||
|
vgchange -l 4294967295 $vg
|
||||||
|
invalid vgchange -l 4294967296 $vg
|
||||||
|
invalid vgchange -l 18446744073709551615 $vg
|
||||||
|
invalid vgchange -l 18446744073709551616 $vg
|
||||||
|
check vg_field $vg max_lv 4294967295
|
||||||
vgchange -l 128 $vg
|
vgchange -l 128 $vg
|
||||||
check vg_field $vg max_lv 128
|
check vg_field $vg max_lv 128
|
||||||
|
|
||||||
|
@ -178,8 +178,8 @@ arg(interval_ARG, 'i', "interval", int_arg, 0, 0)
|
|||||||
arg(iop_version_ARG, 'i', "iop_version", NULL, 0, 0)
|
arg(iop_version_ARG, 'i', "iop_version", NULL, 0, 0)
|
||||||
arg(stripes_ARG, 'i', "stripes", int_arg, 0, 0)
|
arg(stripes_ARG, 'i', "stripes", int_arg, 0, 0)
|
||||||
arg(stripesize_ARG, 'I', "stripesize", size_kb_arg, 0, 0)
|
arg(stripesize_ARG, 'I', "stripesize", size_kb_arg, 0, 0)
|
||||||
arg(logicalvolume_ARG, 'l', "logicalvolume", int_arg, 0, 0)
|
arg(logicalvolume_ARG, 'l', "logicalvolume", uint32_arg, 0, 0)
|
||||||
arg(maxlogicalvolumes_ARG, 'l', "maxlogicalvolumes", int_arg, 0, 0)
|
arg(maxlogicalvolumes_ARG, 'l', "maxlogicalvolumes", uint32_arg, 0, 0)
|
||||||
arg(extents_ARG, 'l', "extents", int_arg_with_sign_and_percent, 0, 0)
|
arg(extents_ARG, 'l', "extents", int_arg_with_sign_and_percent, 0, 0)
|
||||||
arg(list_ARG, 'l', "list", NULL, 0, 0)
|
arg(list_ARG, 'l', "list", NULL, 0, 0)
|
||||||
arg(lvmpartition_ARG, 'l', "lvmpartition", NULL, 0, 0)
|
arg(lvmpartition_ARG, 'l', "lvmpartition", NULL, 0, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user