From d34d85efdd8743ea15d7a7fe6e7f4c7c70bc2c00 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Mon, 28 Jun 2010 20:34:12 +0000 Subject: [PATCH] Update pvchange, pvs and vgs man pages for metadata ignore. Explain --metadataignore argument to pvchange, add new fields to pvs / vgs. Signed-off-by: Dave Wysochanski --- man/pvchange.8.in | 13 ++++++++++++- man/pvs.8.in | 3 ++- man/vgs.8.in | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/man/pvchange.8.in b/man/pvchange.8.in index 00c94a6c3..b8ce3a676 100644 --- a/man/pvchange.8.in +++ b/man/pvchange.8.in @@ -6,6 +6,7 @@ pvchange \- change attributes of a physical volume [\-\-addtag Tag] [\-A|\-\-autobackup y|n] [\-d|\-\-debug] [\-\-deltag Tag] +[\-\-metadataignore y|n] [\-h|\-?|\-\-help] [\-t|\-\-test] [\-v|\-\-verbose] [\-a|\-\-all] [\-x|\-\-allocatable y|n] @@ -25,10 +26,20 @@ Generate new random UUID for specified physical volumes. .TP .I \-x, \-\-allocatable y|n Enable or disable allocation of physical extents on this physical volume. +.TP +.I \-\-metadataignore y|n +Ignore or un-ignore metadata areas on this physical volume. If metadata +areas on a physical volume are ignored, LVM will not not store metadata +in the metadata areas present on this Physical Volume. Metadata areas +cannot be created or extended after Logical Volumes have been allocated +on the device. If you do not want to store metadata on this device, it +is still wise always to allocate a metadata area in case you need it in +the future and to use this option to instruct LVM2 to ignore it. +(This option is not applicable to the old LVM1 metadata format.) .SH Example "pvchange -x n /dev/sdk1" disallows the allocation of physical extents on this physical volume (possibly because of disk errors, or because it will be removed after freeing it. .SH SEE ALSO -.BR lvm (8), +.BR lvm (8), .BR pvcreate (8) diff --git a/man/pvs.8.in b/man/pvs.8.in index fe00d2a17..a5e1382cc 100644 --- a/man/pvs.8.in +++ b/man/pvs.8.in @@ -54,7 +54,8 @@ Use \fb-o help\fP to view the full list of columns available. .IP Column names include: pv_fmt, pv_uuid, dev_size, pv_name, pv_mda_free, pv_mda_size, pe_start, pv_size, pv_free, pv_used, pv_attr, pv_pe_count, -pv_pe_alloc_count, pv_tags, pv_mda_count, pvseg_start, and pvseg_size. +pv_pe_alloc_count, pv_tags, pv_mda_count, pv_mda_used_count, +pvseg_start, and pvseg_size. .IP With --segments, any "pvseg_" prefixes are optional; otherwise any "pv_" prefixes are optional. Columns mentioned in \fBvgs (8)\fP can also diff --git a/man/vgs.8.in b/man/vgs.8.in index b22d08b6e..a1a97dfd3 100644 --- a/man/vgs.8.in +++ b/man/vgs.8.in @@ -49,7 +49,7 @@ Use \fb-o help\fP to view the full list of columns available. Column names include: vg_fmt, vg_uuid, vg_name, vg_attr, vg_size, vg_free, vg_sysid, vg_extent_size, vg_extent_count, vg_free_count, max_lv, max_pv, pv_count, lv_count, snap_count, vg_seqno, vg_tags, vg_mda_count, vg_mda_free, -and vg_mda_size. +and vg_mda_size, vg_mda_used_count. .IP Any "vg_" prefixes are optional. Columns mentioned in either \fBpvs (8)\fP or \fBlvs (8)\fP can also be chosen, but columns cannot be taken from both