Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - CentOS7

2 bytes added, 09:22, 3 May 2015
no edit summary
===Part 2: Managing LVM Via Command Line & Adding Virtual Hard Drives===
{| width="40%" align="right" cellpadding="10"|- valign="top"|{{Admon/note|LVM Safeguards When Reducing File System Size|x'''|}}|}
Let's say that you have run out of disk space on your '''centos3''' VM, you need more space on the root file-system, perhaps to host more webpages or a larger database or new software. What are your options? Getting a replacement hard-drive would probably require re-installation of the operating system and backup/restore of the data.
:: <b><code><span style="color:#3366CC;font-size:1.2em;">lvextend -L +2G -r vg_centos3/lv_root</span></code></b>
 
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|{{Admon/note|LVM Safeguards When Reducing File System Size|x'''|}}
|}
<ol>
13,420
edits