13,420
edits
Changes
no edit summary
'''Perform this investigation on the VM named ''<u>fedora3</u>''.'''
<ol>
<li value="2">Write down the exact commands used at each step, and record appropriate command output:
<ol type="a">
<li>Determine the current LVM configuration using the <code>pvs</code>, <code>vgs</code>, and <code>lvs</code> command.</li>
<li>Grow the '''home ''' filesystem to '''2G ''' using the command <code>lvextend</code> and <code>resize2fs</code>.</li> <li>Create a '''new 2G LV ''' containing an ext4 filesystem and mount it at '''/archive ''' (use <code>lvcreate</code>, <code>mkfs</code>, <code>mount</code>, edit the file <code>/etc/fstab</code>, and then reboot to confirm automatic mount).</li> <li>Copy the contents of <code>'''/etc'''</code> into <code>'''/archive'''</code></li> <li>Shrink <code>'''lv_archive'''</code> to '''1G ''' (use <code>umount</code>, <code>resize2fs</code>, <code>lvreduce</code>, and <code>mount</code>)</li>
</ol>
</li>