Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - CentOS7 - SSD

95 bytes added, 06:01, 15 June 2016
no edit summary
Monitoring disk space activity helps provide Linux system administrators information to help take corrective action before problems can occur.
 
'''Perform the following steps:'''
# Remain in your '''centos2''' VM for this section.
The '''cron''' daemon is used to refer to these files and to run them on a pre-determined basis. The term '''cron''' comes from the old word '''chronograph''' meaning a special type of watch (actually a ''stop-watch'') to help monitor and schedule routine tasks.
'''Perform the following steps:'''
#Perform this section in your '''c7host''' machine
[[Image:ssm.png|thumb|600px|right|Graphical programs like '''system-config-lvm''' are <u>'''deprecated'''</u>, and no longer come bundled with Centos. There are other graphical LVM programs, but are for the KDE desktop environment as opposed to Gnome. Command-line tools such as '''ssm''' (System Storage Manager), '''fdisk''', '''mkfs''', '''pvcreate''', '''lvextend''', and '''lvreduce''' are sufficient to resize file systems when using LVM.]]
 
'''Perform the following steps:'''
# Launch your '''centos2''' VM and open a shell terminal.
Because we're using LVM we can avoid this problem. We can '''add a new <u>virtual</u> hard-drive''' (which will serve as a physical volume) to the volume group, and extend the root logical volume to make use of the new available space. Creating virtual hard drives is not only inexpensive, but a great way for students to learn now to simulate growing the size of the file system.
'''Perform the following operations to increase the size of lv_root in centos3steps:''' 
# Perform this Part in your '''centos3''' VM.
[[Image:mount.png|thumb|700px|right|Using the '''mount''' command with no arguments displays file-systems that are already mounted. The Linux system administrator can use the '''mount''' and '''umount''' commands to connect and disconnect different partitions from the file-system to perform maintenance.]]
 
'''Perform the following steps:'''
 
# Perform this part in your '''centos2''' VM.
# Issue the following command to create a mount-point (directory to connect /dev/dva3 partition to):<br><b><code><span style="color:#3366CC;font-size:1.2em;">mkdir /archive</span></code></b>
13,420
edits