Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / lvm2 / dist / man / pvck.8.in
1 .TH PVCK 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2 .SH NAME
3 pvck \- check physical volume metadata
4 .SH SYNOPSIS
5 .B pvck
6 .RB [ \-d | \-\-debug ]
7 .RB [ \-h | \-\-help ]
8 .RB [ \-v | \-\-verbose ]
9 .RB [ \-\-labelsector ]
10 .IR PhysicalVolume " [" PhysicalVolume ...]
11 .SH DESCRIPTION
12 pvck checks physical volume LVM metadata for consistency.
13 .SH OPTIONS
14 See \fBlvm\fP for common options.
15 .TP
16 .BR \-\-labelsector " sector"
17 By default, 4 sectors of \fBPhysicalVolume\fP are scanned for an LVM label,
18 starting at sector 0.  This parameter allows you to specify a different
19 starting sector for the scan and is useful for recovery situations.  For
20 example, suppose the partition table is corrupted or lost on /dev/sda,
21 but you suspect there was an LVM partition at approximately 100 MB.  This
22 area of the disk may be scanned by using the \fB--labelsector\fP parameter
23 with a value of 204800 (100 * 1024 * 1024 / 512 = 204800):
24 .sp
25 .BI "pvck --labelsector 204800 /dev/sda"
26 .sp
27 Note that a script can be used with \fB--labelsector\fP to automate the
28 process of finding LVM labels.
29 .SH SEE ALSO
30 .BR lvm (8),
31 .BR pvcreate (8),
32 .BR pvscan (8)
33 .BR vgck (8)