ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 134 - XK0-005 discussion

Report
Export

A Linux administrator needs to obtain a list of all volumes that are part of a volume group. Which of the following commands should the administrator use to accomplish this task?

A.
vgs
Answers
A.
vgs
B.
lvs
Answers
B.
lvs
C.
fdisk -1
Answers
C.
fdisk -1
D.
pvs
Answers
D.
pvs
Suggested answer: B

Explanation:

The lvs command can be used to obtain a list of all volumes that are part of a volume group. This command will display information such as the name, size, attributes, and volume group of each logical volume in the system. The vgs command can be used to obtain a list of all volume groups in the system, not the volumes. The fdisk -1 command is invalid, as -1 is not a valid option for fdisk. The pvs command can be used to obtain a list of all physical volumes in the system, not the volumes. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 14: Managing Disk Storage, page 461.

asked 02/10/2024
Thuy Nguyen
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first