---
name: "pvdata"
section: "8"
platform: "linux"
package: "lvm"
version: "0.8i-1"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/pvdata"
---

# pvdata(8)

debugging output of a physical volume

## NAME

pvdata - debugging output of a physical volume

## SYNOPSIS

**pvdata** \[-a\] \[-d\] \[-E\] \[-L\] \[-P\[P\]\] \[-V\] \[-h/?\] \[-v\[v\]\] PhysicalVolumePath \[PhysicalVolumePath...\]

## DESCRIPTION

pvdata allows you to display the volume group descriptor array (VGDA) on a physical volume in parts or total for debugging purposes.

### OPTIONS

- *-a*

  Display all structures (PV, VG, LV, PE).

- *-d*

  Enables additional debugging output (if compiled with DEBUG).

- *-E*

  Display physical extent structures.

- *-L*

  Display logical volume structures.

- *-N*

  Display the physical volume name list (will disappear in a future release).

- *-P*

  Display physical volume structure in pvdisplay format.

- *-PP*

  Display physical volume structure with additional attributes.

- *-V*

  Display volume group structure.

- *-h/?*

  Print a usage message on standard output and exit successfully.

- *-v*

  Display verbose structure information.

- *-vv*

  Like with -v plus verbose runtime information about pvdata's activities.

## DIAGNOSTICS

pvdata returns an exit state of 0 for success and \> 0 for error:

```
1  no physical volume name on command line
95 driver/module not in kernel
96 invalid i/o protocol version
97 error locking logical volume manager
99 invalid command line
```

## See also

[lvm(8)](/lvm/8.md), [pvcreate(8)](/pvcreate/8.md), [vgcreate(8)](/vgcreate/8.md), [lvcreate(8)](/lvcreate/8.md)

## AUTHOR

Heinz Mauelshagen \<linux-lvm@ez-darmstadt.telekom.de\>
