1,234
edits
Changes
no edit summary
{{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: How to Add a PV to an existing VG (Graphical Method) ==
'''Perform this investigation on the VM named ''<u>fedora1</u>''.'''
'''Answer the Investigation 1 observations / questions in your lab log book.'''
== Investigation 2: How to Add a PV to an existing VG (Command Line Method) == '''The investigation relate to ''<u>fedora3</u>''.''' # Check and record the current state of your storage (use <code>df -h, lvs, vgs, pvs</code>).# Make reference to the following command line resource for assistance: [[Logical Volume Management]]#*'''(Hint:''' First view section on '''Adding a Physical Volume'''. Also, write down the commands first and check prior to issuing them in sequence. This is not looking for the commands necessary to add a physical volume to the virtual machine. It is based on the assumption that the virtual machine already has the physical disk added to the machine via virsh or virt-manager.) # Perform the same operations on ''fedora3'' that you did in the Investigation 1 on ''fedora1'':#* Add a virtual disk to the system.#* Partition the disk (use <code>fdisk</code> - refer to the manpages for details as necessary).#* Make the new partition a physical volume (<code>pvcreate</code>).#* Add the PV to the existing volume group (<code>vgextend</code>).#* Confirm that the VG is now larger (<code>pvs, vgs</code>).#* Extend the root filesystem using the new space (<code>lvextend</code>).#* Confirm that you were successful (<code>lvs, df -h</code>).<!--# You are going to only write in your Lab4 Log-book the Linux commands to perform the same operation that you did graphically in Investigation #1.# You are NOT required to issue these commands on your Fedora3 VM, and it will NOT work since there is no extra room on the VM to create a virtual hard disk -->
'''Perform this investigation on the VM named ''<u>fedora2</u>''.'''
'''Answer the Investigation 2 observations / questions in your lab log book.'''