mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
0896987633
Dash should be using '\' to be typographically correct.
38 lines
1.2 KiB
Groff
38 lines
1.2 KiB
Groff
.TH PVCK 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
|
|
.SH NAME
|
|
pvck \(em check physical volume metadata
|
|
.SH SYNOPSIS
|
|
.B pvck
|
|
.RB [ \-\-commandprofile
|
|
.IR ProfileName ]
|
|
.RB [ \-d | \-\-debug ]
|
|
.RB [ \-h | \-\-help ]
|
|
.RB [ \-v | \-\-verbose ]
|
|
.RB [ \-\-labelsector
|
|
.IR sector ]
|
|
.I PhysicalVolume
|
|
.RI [ PhysicalVolume ...]
|
|
.SH DESCRIPTION
|
|
pvck checks physical volume LVM metadata for consistency.
|
|
.SH OPTIONS
|
|
See \fBlvm\fP(8) for common options.
|
|
.TP
|
|
.B \-\-labelsector \fIsector
|
|
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 MiB. 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
|
|
.B 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)
|