HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
l
lvmchk(1M) lvmchk(1M)
NAME
lvmchk - check if disk volume is under HP Logical Volume Manager (LVM) control
SYNOPSIS
/usr/sbin/lvmchk
pv_path
DESCRIPTION
The
lvmchk command returns information about the disk volume specified by the pv_path parameter.
Options
lvmchk recognizes the following option:
pv_path The device path name of a disk volume. pv_path can be a block device, raw disk, or a logi-
cal volume.
RETURN VALUE
lvmchk returns the following values
0 The disk specified by pv_path is under the control of LVM.
1 The disk specified by pv_path is not under the control of LVM.
255 There was an internal I/O error on the disk specified by pv_path, or a command line syntax or
usage error was encountered.
EXAMPLES
Examine whether disks
/dev/dsk/c0t6d0
, /dev/rdsk/c0t6d0, and /dev/vg00/lvol1
belong
to LVM.
lvmchk /dev/dsk/c0t6d0
lvmchk /dev/rdsk/c0t6d0
lvmchk /dev/vg00/lvol1
AUTHOR
lvmchk was developed by HP.
SEE ALSO
pvcreate(1M), pvdisplay(1M).
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 537