Hi,i think we found some typos in the usage and man pages of the lvm tools. See the patch for details.
Futher more there seem to be some differences between manpages and the usage text in vgextend. --poolmetadatasize is not in the man page. Don't know which one is correct.
regards, Heinz -- Heinz Deinhart <heinz@tilab.tuwien.ac.at> +43 1 58801-19521 Technische Universitaet Wien, E195 Treitlstr. 3 www.tilab.tuwien.ac.at 1040 Wien
diff -ru LVM2.2.02.125/man/lvresize.8.in LVM2.2.02.125-fixedtypos/man/lvresize.8.in --- LVM2.2.02.125/man/lvresize.8.in 2015-07-07 14:57:43.000000000 +0200 +++ LVM2.2.02.125-fixedtypos/man/lvresize.8.in 2015-07-22 15:25:18.595219621 +0200 @@ -14,7 +14,7 @@ .RB [ \-L | \-\-size .RI [ + | \- ] LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]} .RB [ \-\-poolmetadatasize -.RI [ + ] MetadataVolumeSize [ bBsSkKmMgG ] +.RI [ + ] MetadataVolumeSize [ bBsSkKmMgG ]] .RB [ \-f | \-\-force ] .RB [ \-n | \-\-nofsck ] .RB [ \-r | \-\-resizefs ] diff -ru LVM2.2.02.125/tools/commands.h LVM2.2.02.125-fixedtypos/tools/commands.h --- LVM2.2.02.125/tools/commands.h 2015-07-07 14:57:43.000000000 +0200 +++ LVM2.2.02.125-fixedtypos/tools/commands.h 2015-07-22 15:24:40.594209494 +0200 @@ -458,7 +458,7 @@ "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" "\t{-l|--extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n" "\t -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n" - "\t --poolmetadatasize [+]MetadataVolumeSize[bBsSkKmMgG]}\n" + "\t[--poolmetadatasize [+]MetadataVolumeSize[bBsSkKmMgG]]\n" "\t[-m|--mirrors Mirrors]\n" "\t[--nosync]\n" "\t[--use-policies]\n" @@ -629,7 +629,7 @@ "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" "\t{-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n" "\t -L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n" - "\t --poolmetadatasize [+]MetadataVolumeSize[bBsSkKmMgG]}\n" + "\t[--poolmetadatasize [+]MetadataVolumeSize[bBsSkKmMgG]]\n" "\t[-n|--nofsck]\n" "\t[--noudevsync]\n" "\t[-r|--resizefs]\n"
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/