HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

p
pvck(1M) pvck(1M)
NAME
pvck - check or repair a physical volume in LVM volume group
SYNOPSIS
/usr/sbin/pvck -y
pv_path
/usr/sbin/pvck -n
pv_path
DESCRIPTION
Note: Currently
pvck is only capable of detecting bad checksums caused by a forward system migration
after a backward system migration. It should not be used in other situations.
The
pvck command examines and repairs LVM data structures on a raw disk (pv_path )inavolume
group.
Options and Arguments
pvck recognizes the following options and arguments.
-y Repair problems found.
-n Report, but do not repair problems.
pv_path The raw device path name of a physical volume.
RETURN VALUE
pvck returns the following values
0 Either no problems were found or all problems were corrected.
1 Unable to repair.
EXAMPLES
Examine LVM checksums on
/dev/rdsk/c0t6d0
without modifying anything:
pvck -n /dev/rdsk/c0t6d0
Repair LVM checksums on /dev/rdsk/c0t6d0
if necessary:
pvck -y /dev/rdsk/c0t6d0
WARNINGS
pvck should only be run on a device whose volume group has not been activated.
It is designed to repair the root device or devices while the system is booted in maintenance mode ("
hpux
-lm", see hpux(1M)).
AUTHOR
pvck was developed by HP.
Section 1M626 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003