Changes

Jump to: navigation, search

OPS235 Lab 4 - Fedora17

129 bytes added, 20:55, 2 February 2012
no edit summary
# Make certain to remain in the default section called "Storage".
# Make the following selections in this "Storage" dialog box:
::* Under '''Create a disk image on the Computer's Hard Drive''', change the size to '''2 GB'''.::* Click on '''Select Managed or Other Existing Storage'''. You can specify a file pathname for the Hard Drive (refer to diagram). If no file pathname is provided, then the system will assign a name in the directory <code>/var/lib/libvirt/images/</code>.::* Select Device Type: '''Virtio Disk'''::* Select Storage Format: '''raw'''::* Click '''FINISH ''' to proceed.
# <ol> <li value="8">Boot the system. You should now have both <code>/dev/vda</code> and <code>/dev/vdb</code>.</li># <li>Record the size of the volume group and the amount of free space (Hint: use a command that you learned in a previous lab).</li># <li>Refer to the following tutorial to use the <code>fdisk</code> command: :* [http://tldp.org/HOWTO/Partition/fdisk_partitioning.html Partitioning with fdisk]</li># <li>Use the <code>fdisk</code> command to create a primary partition for <code>/dev/vdb</code> with a single partition (number 1) that fills the whole disk.</li># <li>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.</li># <li>Run this command to format the physical volume: <code>pvcreate /dev/''vdb1''</code></li># <li>Add the new physical volume to the existing volume group: <code>vgextend ''nameOfVolumeGroup'' /dev/vdb1</code></li># <li>Verify that the volume group is larger and has more free space.</li></ol>
13,420
edits

Navigation menu