What does lspv do?
-
List all physical volumes
-
List all physical partitions
-
List all logical partitions
-
List PP size
lspv (list physical volumes) is an AIX LVM command that displays all physical volumes in the volume management system. It shows physical volume attributes like size, status, and volume group membership.
To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) List all physical volumes - This option is correct because lspv is a command in Linux/Unix systems that lists all the physical volumes (disks or disk partitions) on the system.
Option B) List all physical partitions - This option is incorrect because lspv does not list physical partitions. To list physical partitions, you would use the fdisk or parted command.
Option C) List all logical partitions - This option is incorrect because lspv does not list logical partitions. To list logical partitions, you would use the lvdisplay or lvscan command.
Option D) List PP size - This option is incorrect because lspv does not list the PP (Physical Partition) size. To view the PP size, you would use the lspv -l command.
The correct answer is Option A) List all physical volumes. This option is correct because lspv is a command that lists all the physical volumes on the system.