Open main menu

CDOT Wiki β

Changes

Lab 5 Warnings / Debrief

351 bytes added, 09:34, 8 July 2015
no edit summary
'''Need a Bigger Cake? Add More Layers!'''
* We can grow a larger cake by adding more <u>layers</u>.* In our case, we define add layers by defining and add adding '''physical Volumes''' to our Volume Group.* Some think of physical volumes as <u>partitions</u>.
* When you want to make a bigger cake, add more layers (in our case, add more physical volumes to volume group
* The partitions should be created and formatted('''fdisk''', '''mkfs'''), then can be added as physical volumes to the volume group('''pvcreate''')
* 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 pieces from different cakes (i.e. from different plattersor Volume Groups).
* 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 ('''lvextend''') so that directory or file system can grow.* If we want to reduce size of logical volume, we can use the '''lvreduce''' command.* There used to be problems if you reduced the logical volume size smaller than its unused capacity, but using the -r option prevents this from occurring.
* We can do these type of LVM operations without having to reboot the machine!
13,420
edits