no edit summary
=Logical Volume Management and Software Package Management=
'''Perform the following steps:'''
# Using information from the man page for <code>rpm</code>, fill in this information:
# Issue the following command: <code>rpm -e lynx</code>
# Issue an RPM query to verify that lynx is no longer installed. Record this command in your lab log-book.
'''Answer the Investigation 2 observations / questions in your lab log book.'''
::* Based on the result, do you think that cups is a useful package for your system? If not, try removing it.
<li value="8">Unused and unneeded software can present a security risk and ties up disk space needlessly. Find at least 4 other packages that you're not using on your system, and remove them. Be careful to ensure that removing those packages does not also remove other software that you do need.</li>
Because we're using LVM though - we can avoid that. We can add a new harddrive (which will serve as a physical volume) to the volume group, and extend the root logical volume to make use of the new available space.
'''Perform the following operations to increase the size of lv_root in
<li>Click "Add Hardware" and add a new storage device of 2GBs, make sure it's a VirtIO disk.</li>
<li>Go back to the console view</li>
<li>Run the same ls command
now, what's changed?</li>
<li>Now we'll make the new device as a physical volume, add it to the volume group, and extend lv_root:</li>
vgextend vg_centos3 /dev/vdb
l + 100%FREE -r vg_centos3/lv_root</code>
<li>Now rerun the ls/pvs/vgs/lvs/df commands. What has changed and what caused those changes?</li>
<li>Among the changes, note that your root filesystem is now 2GB bigger - and you have not even rebooted your machine!</li>
'''Arrange evidence for each of these items on your screen, then ask your instructor to review them and sign off on the lab's completion:'''
installed on the host (disk pack - main system c6host).
# Unnecessary/unused packages have been deleted (list at least 4, and show that they are no longer installed).
# Fresh backup of the virtual machines.