HP-UX Reference (11i v3 07/02) - 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
device_path
DESCRIPTION
The
lvmchk command returns information about the disk volume specified by the device_path parameter.
Options
lvmchk recognizes the following option:
device_path The device path name of a disk volume. device_path can be a block disk, raw disk, or a
logical volume.
RETURN VALUE
lvmchk returns the following values
0 The volume specified by device_path is under the control of LVM.
1 The volume specified by device_path is not under the control of LVM.
255 There was an internal I/O error on the volume specified by device_path.
EXAMPLES
Examine whether volumes
/dev/dsk/c0t6d0
, /dev/rdsk/c0t6d0, and /dev/vg00/lvol1
belong to LVM or not.
lvmchk /dev/dsk/c0t6d0
lvmchk /dev/rdsk/c0t6d0
lvmchk /dev/vg00/lvol1
AUTHOR
lvmchk was developed by HP.
SEE ALSO
pvcreate(1M), pvdisplay(1M). intro(7), lvm(7).
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 483