Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - CentOS7

852 bytes added, 07:25, 2 May 2015
no edit summary
=INVESTIGATION 1: Adjusting File System Sizes with LVM=
Monitoring and ensuring adequate space for a Linux file-system is considered to be an important task for a sys admin. An application called LVM is a very useful tool for Linux system adminstrators.
'''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.
Therefore, LVM allows more flexibility and growth potential for Linux systems (for example, having Logical volumes span multiple hard disks). CentOS uses LVM by default upon installation. Other Linux distributions may provide the capacity to install LVM, or later install and then use Logical Volume Management.
=== Part 1: Obtaining System Information with LVM ===
We have seen that maintaining unneeded '''packages can be a security risk''' due to the unnecessary increase in the complexity of your system. Similarly, it is also unnecessarily hazardous, and even more so, to leave unneeded services running. In this investigation, we will learn how to '''control services, and turn off those services that we think are not necessary to help reduce security risks'''.}}=== Part 1: Obtaining System Information with LVM Graphically=== 
# x
===Part 2: Adjusting Partition Sizes Obtaining System Information with LVMVia Command Line===
x
'''Answer Part 2 observations / questions in your lab log book.'''
 ===Part 3: Adding Virtual Hard Disks and Managing Adjusting Partition Sizes with LVMGraphically===
x
'''Answer Part 3 observations / questions in your lab log book.'''
 
===Part 4: Adjusting Partition Sizes with LVM Via Command Line===
 
x
 
 
# x
 
 
'''Answer Part 4 observations / questions in your lab log book.'''
 
 
 
= INVESTIGATION 2: CREATING VIRTUAL HARD DRIVES =
 
===Part 1: Adding Virtual Hard Disks and Managing with LVM===
 
x
 
 
# x
 
 
'''Answer Part 1 observations / questions in your lab log book.'''
= INVESTIGATION 23: Mounting / Un-Mounting File-systems & Monitoring Disk Space =
We take for granted that a file-system must be mounted (for example the root partition) in order for a Linux system to be usable upon system start-up. The '''/etc/fstab''' (file system table) contains entries to mount various file systems automatically upon start-up of the Linux system.
= INVESTIGATION 34: LOOKING AHEAD =
==Automating Routine Tasks (Shell Scripting and Using Crontab)==
13,420
edits