summaryrefslogtreecommitdiffstats
path: root/man/pvck.8.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-10-08 12:50:13 +0000
committerAlasdair Kergon <agk@redhat.com>2008-10-08 12:50:13 +0000
commit5951ef331af40743f368401afc091467513e3a07 (patch)
tree99cf242f24fb629e50ecca8551ed10f9aaef18dd /man/pvck.8.in
parent68f2de6d4ae2bccc596a97b020c253186110ed36 (diff)
downloadlvm2-5951ef331af40743f368401afc091467513e3a07.tar.gz
lvm2-5951ef331af40743f368401afc091467513e3a07.tar.xz
lvm2-5951ef331af40743f368401afc091467513e3a07.zip
Generate man pages from templates and include version. (romster)
Diffstat (limited to 'man/pvck.8.in')
-rw-r--r--man/pvck.8.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/man/pvck.8.in b/man/pvck.8.in
new file mode 100644
index 00000000..de3dfacb
--- /dev/null
+++ b/man/pvck.8.in
@@ -0,0 +1,33 @@
+.TH PVCK 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
+.SH NAME
+pvck \- check physical volume metadata
+.SH SYNOPSIS
+.B pvck
+.RB [ \-d | \-\-debug ]
+.RB [ \-h | \-\-help ]
+.RB [ \-v | \-\-verbose ]
+.RB [ \-\-labelsector ]
+.IR PhysicalVolume " [" PhysicalVolume ...]
+.SH DESCRIPTION
+pvck checks physical volume LVM metadata for consistency.
+.SH OPTIONS
+See \fBlvm\fP for common options.
+.TP
+.BR \-\-labelsector " sector"
+By default, 4 sectors of \fBPhysicalVolume\fP are scanned for an LVM label,
+starting at sector 0. This parameter allows you to specify a different
+starting sector for the scan and is useful for recovery situations. For
+example, suppose the partition table is corrupted or lost on /dev/sda,
+but you suspect there was an LVM partition at approximately 100 MB. This
+area of the disk may be scanned by using the \fB--labelsector\fP parameter
+with a value of 204800 (100 * 1024 * 1024 / 512 = 204800):
+.sp
+.BI "pvck --labelsector 204800 /dev/sda"
+.sp
+Note that a script can be used with \fB--labelsector\fP to automate the
+process of finding LVM labels.
+.SH SEE ALSO
+.BR lvm (8),
+.BR pvcreate (8),
+.BR pvscan (8)
+.BR vgck (8)