Changes

Jump to: navigation, search

OPS235 Lab 3 - Fedora17

467 bytes removed, 10:23, 17 September 2012
Logical Volume Management
=Logical Volume Management=
== Definition of LVM / Check Current LVM Information Prior to Performing Investigations ==
=== Check LVM Information for all Fedora 16 17 Installs ===
'''LVM''' ('''Logical Volume Management''') is used to manage hard disk drives / partitions for Unix/Linux systems. LVM provides more flexibility than just working with hard disks / hard disk partitions. '''Volume Groups''' are areas used to define '''Physical Volumes''' (i.e. hard disks, disk partitions, or other forms of storage devices). '''Logical Volumes''' are then used to relate directories (mount points) to a specific physical volume or for a "range" or "span" of physical volumes.
'''Although the concept of LVM is simple, it takes practice and preparation (or "thinking ahead") in order to correctly use this valuable tool'''. It is important for students to gain an understanding of LVM, and how to manage their file-systems using LVM. It is recommended for students to read the following resource prior to this lab and/or return to the following resource while performing this lab: [[Logical Volume Management]]
 
At this point, having completed [[OPS235 Lab 2|Lab 2]] you should have <u>roughly</u> the following disk storage setup:<br />
('''Note:''' These results are output from the '''vgs''', '''lvs''', and '''pvs''' commands that provide volume group, physical volume and logical volume information for each of the virtual machines that you created in lab2. Before proceeding, check these values with your own system to see if you are generally "on the right track".<br /><br />
* '''f16host (i.e. "removable hard disk" or "disk pack")'''
VG #PV #LV #SN Attr VSize VFree vg_f16host 1 3 0 wz--n- 232Does not use LVM.38g 0  PV VG Fmt Attr PSize PFree /dev/sda3 vg_f16host lvm2 a-- 232.38g 0  LV VG Attr LSize Origin Snap% Move Log Copy% Convert lv_home vg_f16host -wi-ao 176.62g lv_root vg_f16host -wi-ao 50.00g lv_swap vg_f16host -wi-ao 5.75g 
{{Admon/note|VM Backups and Recovery|'''Most of these investigations will take place in your 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 2, and you can '''restore them if something goes wrong'''.<br /><br />'''Remember: if you did not create backups for all of your VMs, then you don't have any restoration points to fall-back to!'''|}}
== Investigation 1: Adjusting Sizes of lv_root and lv_home ==

Navigation menu