Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7 - SSD

588 bytes removed, 17:22, 13 June 2016
no edit summary
# Issue the following command to add your new-created and formatted partition called /dev/vda3 to your volume group:<br><b><code><span style="color:#3366CC;font-size:1.2em;">vgextend centos_centos2 /dev/vda3</span></code></b>
# Create a new logical volume by issuing the following command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">lvcreate -L 2G centos_centos2</span></code></b>
#Create an "/archive" directory by issuing Issue the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">mkdir /archive</span></code></b># Now, issue the following command to mount this logical volume to the newly-created '''/archivessm list''' directory:<br><b><code><span style="color:#3366CC;font-size:1.2em;">mount -t ext4 /dev/vda3 /archive</span></code></b>#Confirm that this new Logical Volume now exists by changing to the directory /archive. Did you need to restart your centos2 VM command to confirm that the '''/archive''' directory is now on your '''centos2''' VM?#Repeat to resize (i.e. edit) the '''archive''' logical volume to has been created.'''1.5 GB''' and verify your results. 
13,420
edits

Navigation menu