Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4 - Fedora17

368 bytes added, 10:41, 10 February 2012
Investigation 1: How to Add a PV to an existing VG (Graphical Method)
<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>Use the system-config-lvm tool to add the new virtual disk to the volume group, then extend the size of the root partition using the newly-added space</li>
<!-- ### SECTION BELOW CHANGED TO LINE ABOVE 2012-02-10 CTyler BECAUSE THE INSTRUCTIONS BELOW ARE NOT
GRAPHICAL, AND THE TITLE OF THIS SECTION INDICATES THE USE OF THE GRAPHICAL TOOLS! -->
<!--
<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>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>
'''Answer the Investigation 1 observations / questions in your lab log book.'''
 
== Investigation 2: How to Add a PV to an existing VG (Command Line Method) ==