2008-10-08 16:50:13 +04:00
.TH PVCK 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2007-03-31 01:00:26 +04:00
.SH NAME
2014-06-11 13:06:30 +04:00
pvck \(em check physical volume metadata
2007-03-31 01:00:26 +04:00
.SH SYNOPSIS
.B pvck
2014-05-21 16:53:56 +04:00
.RB [ \- \- commandprofile
.IR ProfileName ]
2007-04-26 00:03:16 +04:00
.RB [ \- d | \- \- debug ]
.RB [ \- h | \- \- help ]
.RB [ \- v | \- \- verbose ]
2012-04-11 16:42:10 +04:00
.RB [ \- \- labelsector
.IR sector ]
.I PhysicalVolume
.RI [ PhysicalVolume ...]
2007-03-31 01:00:26 +04:00
.SH DESCRIPTION
pvck checks physical volume LVM metadata for consistency.
.SH OPTIONS
2012-04-11 16:42:10 +04:00
See \fB lvm\fP (8) for common options.
2007-04-26 00:03:16 +04:00
.TP
2012-04-11 16:42:10 +04:00
.B \- \- labelsector \fI sector
2007-04-26 00:03:16 +04:00
By default, 4 sectors of \fB PhysicalVolume\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,
2012-04-11 16:42:10 +04:00
but you suspect there was an LVM partition at approximately 100 MiB. This
area of the disk may be scanned by using the \fB \- \- labelsector\fP parameter
2007-04-26 00:03:16 +04:00
with a value of 204800 (100 * 1024 * 1024 / 512 = 204800):
.sp
2012-04-11 16:42:10 +04:00
.B pvck \- \- labelsector 204800 /dev/sda
2007-04-26 00:03:16 +04:00
.sp
2012-04-11 16:42:10 +04:00
Note that a script can be used with \fB \- \- labelsector\fP to automate the
2007-04-26 00:03:16 +04:00
process of finding LVM labels.
2007-03-31 01:00:26 +04:00
.SH SEE ALSO
.BR lvm (8),
.BR pvcreate (8),
.BR pvscan (8)
.BR vgck (8)