1,885
edits
Changes
→Investigation 3: How can a PV be added to an existing VG?
# Open the console window for ''fedora1''.
# Select the menu option View>Details.
# Click ''+ Add Hardware''# In the ''Adding Virtual Hardwarenew virtual hardware'' window that appears, select a Hardware Type of ''storage'' and click ''Forward''.# Select Press the button to ''File (Disk Image)Select Managed or other existing storage'' for the storage space. Click on the ''Browse'' button near the ''Location'' field, add a new volume (which creates a new file in <code>/var/libvirt/images</code>), then click on ''New Volume''.# Give the new virtual disk file a name of <code>fedora1b</code>, a format of ''raw'', with a ''Max Capacity'' and ''Allocation'' of 2000 MB. Click ''Finish''.# Select the new virtual disk file ''fedora1b.img'' and click ''Choose Volume''.
# Select a device type of ''Virtio Disk''.
# Finish creating the new virtual diskby clicking ''Forward'' and then ''Finish''.
# 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.