1,234
edits
Changes
→Investigation 2: How can a PV be added to an existing VG?
== Investigation 2: How can a PV be added to an existing VG? ==
# Add an additional 2 GB virtual disk to your ''<u>centos1</u>'' system, we will use it as an additional physical volume.
# Do the rest of this investigation in the command line.
# You should now have both <code>/dev/vda</code> and <code>/dev/vdb</code>.
# Record the size of the volume group and the amount of free space (Hint: use a command that you learned in a previous lab).
# Use fdisk to partition /dev/vdb with a single partition that fills the whole disk.
# Check the messages printed when <code>fdisk</code> exits -- you may need to reboot the system in order for the new partition table to take effect.
# Mark''vdb1'' as a physical volume usable by LVM.
# Add the new physical volume to the existing volume group.
# Verify that the volume group is larger and has more free space.