Displays information about a physical volume within a volume group.
lspv [ -avail | -free | -size ][ -field Fieldname... ] [ -fmt Delimiter ]
lspv [ -map | -lv | -pv | -size] PhysicalVolume
lspv [ -map | -lv | -pv] PhysicalVolume [-field Fieldname ] [ -fmt Delimiter ]
The lspv command displays information about the physical volume if the specific physical volume name is given. If the lspv command is run without any arguments, the default is to print every known physical volume in the system along with its physical disk name, physical volume identifiers (PVIDs), to which volume group, if any, the physical volume belongs, and the state if the volume group is active.
| Physical volume | Name of the physical volume |
| Volume group | Name of volume group. Volume group names must be unique systemwide names and can be from 1 to 15 characters long. |
| PV Identifier | The physical volume identifier for this physical disk. |
| VG Identifier | The volume group identifier of which this physical disk is a member. |
| PVstate | State of the physical volume. If the volume group that contains the physical volume is activated with the activatevg command, the state is active, missing, or removed. If the physical volume is deactivated with the deactivatevg command, the state is varied off. |
| Allocatable | Allocation permission for this physical volume. |
| Logical volumes | Number of logical volumes using the physical volume. |
| Stale PPs | Number of physical partitions on the physical volume that are not current. |
| VG descriptors | Number of volume group descriptors on the physical volume. |
| PP size | Size of physical partitions on the volume. |
| Total PPs | Total number of physical partitions on the physical volume. |
| Free PPs | Number of free physical partitions on the physical volume. |
| Used PPs | Number of used physical partitions on the physical volume. |
| Free distribution | Number of free partitions available in each intra-physical volume section. |
| Used distribution | Number of used partitions in each intra-physical volume section. |
lspv hdisk3
lspvYou should see output similar to the following:
hdisk0 0000000012345678 rootvg active hdisk1 10000BC876543258 vg00 active hdisk2 ABCD000054C23486 NoneThe previous example shows that physical volume hdisk0 contains the volume group rootvg, and it is activated. Physical volume hdisk1 contains the volume group vg00, and it is activated. Physical volume hdisk2 does not contain an active volume group.
lspv -availOutput similar to the following is displayed:
lspv -avail NAME PVID SIZE(megabytes) hdisk2 00c3e35c99c55ebd 7820 hdisk3 00c3e35c99c0a332 7820 hdisk4 00cbe8ddc00fbaad 7820
lspv -freeOutput similar to the following is displayed:
hdisk3 10000BC876543258 None None hdisk4 ABCD000054C23486 None None