Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7

1 byte added, 10:07, 24 June 2015
no edit summary
===Part 2: Managing LVM Via Command Line & Adding Virtual Hard Drives===
[[Image:add_virtual_disk.png|thumb|400px|right|You can add virtual hard disks for a VM by changing to the '''Details''' section for the VM (as opposed to ''console''), click '''Add Hardware''', fill information in the '''Add New Virtual Hardware''' dialog box and clicking '''Finish'''.]]
Let's say that you have run out of disk space on your '''centos3''' VM, and you need more space on the root file-system, perhaps in order to host more webpages web-pages, or to support 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.
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.
13,420
edits

Navigation menu