xref: /dragonfly/contrib/lvm2/dist/man/pvck.8 (revision 548a3528)
$NetBSD: pvck.8,v 1.2 2009/02/18 12:16:13 haad Exp $

PVCK 8 "LVM TOOLS 2.02.44-cvs (02-17-09)" "Sistina Software UK" \" -*- nroff -*-
NAME
pvck - check physical volume metadata
SYNOPSIS
pvck [ -d | --debug ] [ -h | --help ] [ -v | --verbose ] [ --labelsector ] PhysicalVolume " [" PhysicalVolume ...]
DESCRIPTION
pvck checks physical volume LVM metadata for consistency.
OPTIONS
See lvm for common options.

--labelsector " sector" By default, 4 sectors of PhysicalVolume 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 --labelsector parameter with a value of 204800 (100 * 1024 * 1024 / 512 = 204800): "pvck --labelsector 204800 /dev/sda" Note that a script can be used with --labelsector to automate the process of finding LVM labels.

SEE ALSO
lvm (8), pvcreate (8), pvscan (8) vgck (8)