Changes

Jump to: navigation, search

OPS235 Lab 5

42 bytes added, 09:31, 27 June 2016
no edit summary
:* Monitoring Disk Space with utilities such as '''ssm list''', '''df -h''', and '''du -ah'''.
:* Use the '''crontab''' utility to automatically schedule running the execution of a shell script to "flag" low disk space.
:* Use '''LVM''' to '''resize partitions via command-line utilities'''.
:* Create, partition and format '''virtual hard disks''' to increase the size of file systems.
<ol>
<li value="10">Issue the following command as root to change the run-level to 1 (single-user mode): <b><code><span style="color:#3366CC;font-size:1.2em;">init 1</span></code></b></li>
<li>Enter your root password</li>
<li>Issue the following command to unmount the /home partition: <b><code><span style="color:#3366CC;font-size:1.2em;">umount /home</span></code></b></li>
<li>Issue the following command to extend the logical volume for the home file-system: <b><code><span style="color:#3366CC;font-size:1.2em;">lvextend centos_centos2/home --size +2G</span></code></b></li>
13,420
edits

Navigation menu