1. Technology
Linux / Unix Command: pvdisplay
Command Library

NAME

pvdisplay - display attributes of a physical volume  

SYNOPSIS

pvdisplay [-c|--colon] [-d|--debug] [-h|--help] [-s|--short] [-v[v]|--verbose [--verbose]] PhysicalVolumePath [PhysicalVolumePath...]  

DESCRIPTION

pvdisplay allows you to see the attributes of one or more physical volumes like size, physical extent size, space used for the volume group descriptor area and so on.  

OPTIONS

-c, --colon
Generate colon seperated output for easier parsing in scripts or programs.

The values are:

* physical volume device name
* volume group name
* physical volume size in kilobytes
* internal physical volume number
* physical volume status
* physical volume (not) allocatable
* current number of logical volumes on this physical volume
* physical extent size in kilobytes
* total number of physical extents
* free number of physical extents
* allocated number of physical extents

-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-s, --short
Only display the size of the given physical volumes.
-v, --verbose
Display the mapping of physical extents to logical volumes and logical extents.
-vv, --verbose --verbose
Like -v with verbose runtime information about pvdisplay's activities.
 

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.