Changes

Jump to: navigation, search

OPS235 Lab 4 - Fedora17

1,948 bytes added, 23:50, 25 September 2012
Investigation 1: (Graphical Method)
{{Admon/note|Do not Shut-Down VMs Until Instructed|You will be running all 3 VMs eventually when performing this tutorial, Leave all VMs running until you are instructed to shut them down at the end of this lab.|}}
== Investigation 1: Create partition (Graphical Method) ==
'''Perform this investigation on the VM named ''<u>fedora1</u>''.and fedora2'''
# Make sure that on both virtual machines you have system-config-lvm and gparted installed. If you finished lab3 - you should have system-config-lvm on fedora2, but you still have to install it on fedora1.# In the end of the last lab we used the graphical tool system-config-lvm to create a logical volume lv_archive. Examine the logical and physical volumes on fedora2 using system-config-lvm.# Run gparted. Gparted will only list traditional partitions, not any LVM information. Note that in Gparted there is a dropdown box for the drive currently displayed. Look for common elements that are displayed in both programs.# Just as we added a new physical drive to fedora3 in lab3 - go to the hardware details in fedora1 and add a new hard disk of 2GBs, make sure it's a VirtIO disk.# Instead of adding it to the volume group for use with LVM we're going to create a traditional partition on it, and a filesystem on that partition:## Run gparted on fedora1 and select the new drive, if you added it correctly it should be /dev/vdb.## Create a new partition using up all the space (approx. 2GB) with an ext4 filesystem, with the lable '''archive'''. Don't call it lv_archive since it'Answer s not a logical volume.## Gparted may not allow you to create a partition because the drive has not been initialized. Create a partition table as the tool tells you to do, then create the partition.## When you're ready to apply the changes - click the "Apply all operations" button.# Run system-config-lvm on fedora1. Do you see the archive partition you created?# Go back to gparted and shrink the Investigation 1 observations / questions dev/vdb1 partition to be 1GB in size. Don't forget to apply the changes.# Spend some time looking at the drive/partition/physical volume/logical volume details in gparted and system-config-lvm on fedora1 and fedora2 - by the end of this lab you should be able to explain everything in all of the views for these applications. '''You need to be comfortable with these concepts on tests - make useful notes in your lab log book.'''
== Investigation 2: ==

Navigation menu