CompTIA Linux+ (XK0-004) — Question 116
A Linux storage administrator wants to create a logical volume group. Which of the following commands is required to start the process?
Answer options
- A. pvcreate
- B. vgcreate
- C. lvcreate
- D. mkfs.xfs
Correct answer: B
Explanation
The correct command to start the creation of a logical volume group is 'vgcreate', as it specifically initializes a volume group. The command 'pvcreate' is used for creating physical volumes, 'lvcreate' is for creating logical volumes, and 'mkfs.xfs' is for formatting a filesystem, making them unsuitable for this task.