Changes

Jump to: navigation, search

OPS235 Lab 3 - Fedora17

1,919 bytes removed, 16:10, 18 September 2012
Logical Volume Management
'''Answer the Investigation 5 observations / questions in your lab log book.'''
 
== Investigation 6: How are LVMs managed using Command-Line Tools? ==
 
'''Perform this investigation on the VM named ''<u>fedora3</u>''.'''
 
 
{{Admon/note|Only Take Notes - Do not Execute Commands|You are going to repeat the same LVM management operations (as your did with the ''fedora2'' VM), but you will using command-line tools in the '''fedora 3''' VM. You are required to record the Linux commands to acheive the same results as in '''Investigation #2'''. You are '''<u>not</u>''' required to issue those commands on your '''fedora3''' VM.|}}
 
 
# Take time to view the following reference for LVM management via command line: [[Logical Volume Management]]
<ol>
<li value="2">Write down the exact commands used at each step as well as command output in your Lab3 log-book:
 
<!--
 
MURRAY: I commented out this section because the VG does not have available space with the new lab2 configuration. -CTyler
 
<li>Grow the '''home''' filesystem to '''2G''' using the command <code>lvextend</code>.</li>
<li>Create a '''new 2G LV''' containing an ext4 filesystem and mount it at '''/archive'''. See important note below:</li>
</ol>
 
{{Admon/note|Learn How to Learn|Refer to the section called '''Using LVM''' and sub-section '''Filesystems on LVs''' in [[Logical Volume Management]] to complete part "c".|}}
 
<ol type="a">
<li value="4">Reboot your Fedora3 VM to confirm the operation that you performed in the previous step.</li>
<li>Copy the contents of <code>'''/etc'''</code> into <code>'''/archive'''</code></li>
<li>Shrink <code>'''lv_archive'''</code> to '''1G''' (Refer to the section involving reducing file-systems in use [[Logical Volume Management]].<br />You should be using the commands: <code>umount</code>, <code>resize2fs</code>, <code>lvreduce</code>, and <code>mount</code>)</li> -->
 
</ol>
 
'''Answer the Investigation 6 observations / questions in your lab log book.'''
= Completing the lab =

Navigation menu