Changes

Jump to: navigation, search

OPS235 Lab 4 - Fedora17

37 bytes removed, 11:45, 2 February 2010
State when starting Lab 4
== Logical Volume Management ==
{{Admon/note|Recovering VMs|Most of these investigations will take place in you virtual machines. If you make a significant mistake, your virtual machine may not boot. Remember that you created backups of your virtual machines in Lab 3, and you can restore them if something goes wrong.}}
=== Resources ===
Please read this page to get an overview of LVM:
* [[Logical Volume Management]]
=== Investigation 1: How are LVMs managed using system-config-lvm? ===
'''Perform this investigation on the VM named ''fedora2''.'''
[[Image:Ops235_lab4_1.png|thumb|right|Screenshot of system-config-lvm in Fedora 12. Click to enlarge.]]
* Try shrinking <code>/</code> -- what happens? Why?
=== Investigation 2: How are LVMs managed from the command line? ===
'''Repeat the operations from Investigation 1, using the virtual machine ''fedora3'' (command-line tools only). Write down the exact commands used at each step:'''
# Determine the current LVM configuration using the <code>pvs</code>, <code>vgs</code>, and <code>lvs</code> command.
# Shrink <code>lv_archive</code> to 1G (use <code>umount</code>, <code>resize2fs</code>, <code>lvreduce</code>, <code>resize2fs</code>, and <code>mount</code>)
=== Investigation 3: How can a PV be added to an existing VG? ===
'''Add an additional 5 GB virtual disk to your ''fedora1'' system, and use it as an additional physical volume:'''
# Start <code>virt-manager</code>.
# Change your system configuration so that the new filesystem is mounted on <code>/home</code> from now on.
=== Investigation 4: How can I use LVM to manage storage on my disk pack? ===
'''On your host (disk pack), using your choice of the GUI and/or command-line tools:'''
# Create a new logical partition ('''NOT a logical volume!''') - minimum 5G, leaving at least 10G free space in the extended partition.
# Grow the root filesystem to fill the available space.
== Package Management ==
=== Investigation 5: How do you query the RPM database? ===
RPM maintains a database of installed software. This information is very useful to system administrators. In Lab 3, you queried that database using RPM with the -q argument. When you query the RPM database, you can separately specify:
Make sure that your lab notes answer the Investigation 5 question.
=== Investigation 6: How do you install and remove software with RPM? ===
# Change to the directory containing the lynx-2.8.6-24.fc12.x86_64.rpm: <code>rpm -i lynx-2.8.6-17.fc10.i386.rpm</code>
Answer the Investigation 6 question.
=== Investigation 7: How do you install and remove software with ''yum''? ===
{{Admon/note|Internet Connection|In order for yum to work you require a connection to the Internet. Establish this connection by using the browser to log into Senenet}}
Answer the Investigation 7 question.
== User/Group Management ==
=== Investigation 8: The /etc/passwd file ===
# Look at the /etc/passwd file.
# Look at the names of the users. What do you think these user names represent? Are they people?
=== Investigation 9: Adding users ===
{{Admon/note|Use fedora1|Perform these steps in the '''fedora1''' virtual machine.}}
# Add your matrix account user to '''fedora3'''.
=== Investigation 10: Managing Groups ===
{{Admon/note|Use fedora1|Perform these steps in the '''fedora1''' virtual machine.}}
Be sure to record your observations in your lab notes.
=== Investigation 11: Deleting users ===
{{Admon/note|Use fedora1|Perform these steps in the '''fedora1''' virtual machine.}}
=== Investigation 12: Modifying users ===
{{Admon/note|Use fedora1|Perform these steps in the '''fedora1''' virtual machine.}}
=== Investigation 13: Security Tip: Removing Unnecessary Users and Groups ===
{{Admon/note|Use fedora1|Perform these steps in the '''fedora1''' virtual machine.}}
== Completing the lab ==
Backup your virtual machines again.
# Backup of the virtual machines.
== Preparing for the Quizzes ==
# What is a VG? PV? LV?

Navigation menu