]> sourceware.org Git - lvm2.git/blob - man/pvck.8.in
spacing
[lvm2.git] / 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 sector ]
11 .I PhysicalVolume
12 .RI [ PhysicalVolume ...]
13 .SH DESCRIPTION
14 pvck checks physical volume LVM metadata for consistency.
15 .SH OPTIONS
16 See \fBlvm\fP(8) for common options.
17 .TP
18 .B \-\-labelsector \fIsector
19 By default, 4 sectors of \fBPhysicalVolume\fP are scanned for an LVM label,
20 starting at sector 0. This parameter allows you to specify a different
21 starting sector for the scan and is useful for recovery situations. For
22 example, suppose the partition table is corrupted or lost on /dev/sda,
23 but you suspect there was an LVM partition at approximately 100 MiB. This
24 area of the disk may be scanned by using the \fB\-\-labelsector\fP parameter
25 with a value of 204800 (100 * 1024 * 1024 / 512 = 204800):
26 .sp
27 .B pvck \-\-labelsector 204800 /dev/sda
28 .sp
29 Note that a script can be used with \fB\-\-labelsector\fP to automate the
30 process of finding LVM labels.
31 .SH SEE ALSO
32 .BR lvm (8),
33 .BR pvcreate (8),
34 .BR pvscan (8)
35 .BR vgck (8)
This page took 0.035963 seconds and 5 git commands to generate.