Forrest logo
back to the pvdisplay tool

pvdisplay:tldr:15903

pvdisplay: Display information about all physical volumes.
$ sudo pvdisplay
try on your machine

The command "sudo pvdisplay" is used to display the attributes and information of Physical Volumes (PVs) in the LVM (Logical Volume Management) system on a Linux system.

Here's a breakdown of the command:

  • "sudo" is a command that allows the user to execute a command as a superuser or another user, depending on the settings in the "sudoers" file. It asks for the user's password before executing the command.

  • "pvdisplay" is the main command that fetches and displays information related to Physical Volumes in the LVM. It is followed by various options and arguments to modify the output or filter specific information if needed.

When you execute the "sudo pvdisplay" command without any options or arguments, it will display detailed information about all the Physical Volumes currently present in the LVM. This includes attributes like the size of the Physical Volume, the amount of allocated and free space, the Physical Volume UUID (Universally Unique Identifier), and other metadata.

The command output will contain information about each Physical Volume individually, allowing you to get an overview of the available Physical Volumes in your LVM setup.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pvdisplay tool