SCA_SLES15 practice question 8 of 15

What command would be used to add new physical volumes to an existing volume group?

Full set: 69 questions
Answer options
A: vgextend Correct answer
B: vSadd
C: pvmodify
D: pvadd
E: pvextend
F: vgmodify
Correct Answer:
A. vgextend
Explanation

The vgextend command is the standard LVM utility used to add one or more initialized physical volumes (PVs) to an existing volume group (VG). This action increases the total storage capacity of the volume group, making more space available for creating new logical volumes or extending existing ones within that group. The physical volumes must first be prepared with pvcreate.

Why Incorrect

B. vSadd is not a valid LVM command.
C. pvmodify is used to change the attributes of a physical volume, not to add it to a volume group.
D. pvadd is not a valid LVM command; pvcreate is used to initialize a physical volume.
E. pvextend is not a valid LVM command.
F. vgmodify is not a valid LVM command; vgchange is used to modify volume group attributes.

References

- SUSE Linux Enterprise Server 15 SP5 Storage Administration Guide, Chapter 12 "LVM Configuration", Section 12.3.3 "Creating Volume Groups". It states: "Add a physical volume to this group by entering vgextend vgsystem /dev/sdb1".

- vgextend(8) Linux man page. The description states: "vgextend adds one or more Physical Volumes (PVs) to a Volume Group (VG)."

Scroll to Top