Bug#586048: lvm2: vgchange(8) does not list additional info for --logicalvolume

Christoph Anton Mitterer calestyo at scientia.net
Tue Jun 15 23:07:28 UTC 2010


Package: lvm2
Version: 2.02.66-1
Severity: wishlist
Tags: patch


Hi.

The vgchange(8) manpage does not document the additional lvm1/2 format info
for --logicalvolume while it does for its counterpart --physicalextentsize.

The attached patch simply copies the text from vgcreate(8).

Cheers,
Chris.

btw: --logicalvolume says that it only works on inactive VGs, 
     --physicalextentsize does not mention anything, perhaps this should also
     be clarified for this and all other options.

OT: Is there any reason why we don't have to use --sysinit in our init-scripts
    and initramfs-scripts?
-------------- next part --------------
--- vgchange.8	2010-06-16 01:00:00.204303000 +0200
+++ vgchange.8	2010-06-16 01:02:15.356321598 +0200
@@ -122,6 +122,10 @@
 .BR \-l ", " \-\-logicalvolume " " \fIMaxLogicalVolumes\fR
 Changes the maximum logical volume number of an existing inactive
 volume group.
+For volume groups with metadata in lvm1 format, the limit
+and default value is 255.
+If the metadata uses lvm2 format, the default value is 0
+which removes this restriction: there is then no limit.
 .TP
 .BR \-p ", " \-\-maxphysicalvolumes " " \fIMaxPhysicalVolumes\fR
 Changes the maximum number of physical volumes that can belong


More information about the pkg-lvm-maintainers mailing list