Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7

36 bytes removed, 09:52, 24 June 2015
no edit summary
<li value="20">'''Restart the system-config-lvm utility'''. Do you see a new /dev/sda3 partition under Physical Volumes?</li>
<li>To add the newly created partition, you need to add it into LVM to be used. '''Exit the system-config-lvm utility''' and '''issue the following command to add the partition into LVM:'''<br><b><code><span style="color:#3366CC;font-size:1.2em;">pvcreate /dev/vda3</span></code></b> (enter '''y''' to proceed - ignore warning)</li>
<li>'''Restart system-config-lvm'''. You should notice a section at the bottom indicating <u>Unallocated</u> Physical Volumes. Click on the <u>unallocated</u> section partition /dev/vda3 and then click on the button to '''add that unallocated Physical Volume Add to our current Existing Volume Group'''. The screen should now show the partition ''/dev/vda3'' contained in our default Volume Group (refer to right-side diagram).</li>
<li>Click on Logical View (i.e. above home, root, swap), and then click on '''Create New Logical Volume''' button and fill out the details for this new logical volume including: size: '''1GB''', LV Properties: '''linear''', file system: '''ext4''' file system name: '''archive''', select '''mount''' and mount it at: '''/archive'''. Have the system create the directory /archive if it does not exist.</li>
<li>Confirm that this new Logical Volume now exists by changing to the directory /archive. Did you need to restart your centos2 VM to confirm that the '''/archive''' directory is now on your '''centos2''' VM?</li>
13,420
edits

Navigation menu