1,885
edits
Changes
→Investigation 3: How can a PV be added to an existing VG?
# Boot the system.
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.
# Partition /dev/vdb with a single partion that fills the whole disk.
# Run this command to format the physical volume: <code>pvcreate /dev/''vdb1''</code>
# Add the new physical volume to the existing volume group: <code>vgextend '''nameOfVolumeGroup'' /dev/vdb1</code>
# Verify that the volume group is larger and has more free space.