What does lspv do?

  1. List all physical volumes

  2. List all physical partitions

  3. List all logical partitions

  4. List PP size


Correct Option: A

AI Explanation

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.

Find more quizzes: