Open main menu

CDOT Wiki β

Changes

Lab 5 Warnings / Debrief

1,133 bytes added, 13:47, 7 July 2015
no edit summary
* In our case the ''platter'' is known as a '''volume group'''. One default volume group is automatically created if you enable LVM when installing a Linux OS. In this way we can support '''different volumes groups for different purposes''' (eg. accounting dept, IT, management, etc) just like different platters would hold different types of cakes for the party!
* Just one thing: We can grow our space between other partitions in various volume groups (or platters).
 
'''Need a Bigger Cake? Add More Layers!'''
 
* We can grow a larger cake by adding more layers.
* The partitions should be created and formatted, then can be added as physical volumes to the volume group
 
'''Logical Volumes are like the "Hungry Guests" at the Party (a.k.a the "cake inhalers")'''
 
* As hungry guests sample some can and want more, they can grab more layers of cake.
* In fact, they can also have the ability to grab different cakes from different platters.
* A Logical Volume is simply a directory (mount-point) that is associated to a physical Volume or a group of physical volumes
* In our case, if we want more file size, simply create and format a partition, add it to the volume group, and then extend logical volume so that directory or file system can grow.
* We can do these type of LVM operations without having to reboot the machine!
 
 
'''LVM Tools'''
 
 
* There are a choice for managing LVM: Graphically or via Command-Line.
* A graphic program is called: '''system-config-lvm'''. This graphical application is useful, but may be deprecated (i.e. "being phased out").
* There are various commands to manage LVM (some include):
:*'''lvextend'''
:*'''lvcreate'''
:*'''lvreduce'''
:*'''pvcreate'''
:*'''vgextend'''<br><br>
* There are also commands to obtain LVM information:
:*'''vgs'''
:*'''pvs'''
:*'''lvs'''
13,420
edits