1,885
edits
Changes
→Investigation 2: How to Add a PV to an existing VG (Command Line Method)
== Investigation 2: How to Add a PV to an existing VG (Command Line Method) ==
'''The investigation relate to ''<u>fedora3</u>''. Although you are NOT required to issue the Linux commands, you are required to record them in your lab log-book.'''
# 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.)
# 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</cdoe>).
<!--
# 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# 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.)-->
'''Answer the Investigation 2 observations / questions in your lab log book.'''
== Investigation 3: Manually Mounting / Unmounting Partitions ==