1,234
edits
Changes
→Investigation 5: How are LVMs managed using system-config-lvm?
== Investigation 5: How are LVMs managed using system-config-lvm? ==
'''Perform this investigation on the VM named ''<u>fedora2centos2</u>''.'''[[Image:Ops235_lab4_1.png|thumb|right|Screenshot of system-config-lvm in FedoraCentOS. Click to enlarge.]]# Let's learn to administer (manage) our LVM graphically for our '''Fedora2centos2''' Virtual Machine.<br />Fedora CentOS provides a tool called <code>system-config-lvm</code> to graphically administer LVM. It will appear on the menu as '''Application'''>'''Other'''>'''Logical Volume Management'''. The package may is not be installed by default, so you will need to install it by issuing: (<code>yum install system-config-lvm</code>).
<ol>
<li value="2">Use this tool to determine the current LVM configuration by clicking on the appropriate element and reading the properties in the right-hand panel -- write down the answers:
</ol>
</li>
<li>Increase the size of the home file-system to '''2 4 GB''':
<ol type="a">
<li>Click on the LV containing the '''home''' filesystem.</li>
<li>Click on ''Edit Properties''.</li>
<li>Change the size to '''2 4 GB''' and click ''Ok''.</li> </ol> <li>Create a '''new 2G LV''' (LV Properties: linear) containing an ext4 filesystem named lv_archive and mount it at '''/archive''' <ol type="a"> <li>Click on ''Logical View''.</li> <li>Click the ''Create New Logical Volume''.</li> <li>Set the name, size, filesystem, and mount point.</li> <li>Click ''Ok''.</li>
</ol>
<li>Create a '''new 3G LV''' (LV Properties: linear) containing an ext4 filesystem named lv_archive and mount it at '''/archive'''
<li>Backup <code>'''/etc'''</code> into <code>'''/archive'''</code></li>
</ol>