Displays information about a physical volume within a volume group.
lspv [ -avail | -free | -size ][ -field Fieldname... ] [ -fmt Delimiter ]
lspv [ -map | -lv | -pv | -size [ -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.
When the PhysicalVolume parameter is used, the following characteristics of the specified physical volume are displayed:
| 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. |
See Virtual I/O Server command exit status.
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:
hdisk1 0000000012345678 None vhost0 hdisk2 0000000012345678 None vhost3 vhost4 hdisk3 10000BC876543258 None None hdisk4 ABCD000054C23486 None NoneThis example shows that physical volume hdisk1 is not in the rootvg volume group, and is a backing device for the virtual SCSI adapter vhost0. Physical volume hdisk2 is a backing device for virtual SCSI adapters vhost3 and vhost4. Physical volumes hdisk3 and hdisk4 are not associated with any virtual SCSI adapters.
lspv -freeOutput similar to the following is displayed:
hdisk3 10000BC876543258 None None hdisk4 ABCD000054C23486 None None
The migratepv command.