HPlogo HP-UX Reference > L

lvmchk(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

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 logical 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.