Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7 - SSD

118 bytes added, 17:15, 13 June 2016
no edit summary
#Re-issue the '''ssm''' command. Do you see a new /dev/sda3 partition under Physical Volumes?
#To add the newly created partition, you need to add it into LVM to be used. 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> (or ''pvcreate /dev/sda3'' ) (enter '''y''' to proceed - ignore warning)
# Command Issue the following command to '''Add add your new-created and formatted partition called /dev/vda3 to Existing Volume Group''' (click on other button in next screen to continue)your volume group:<br><b><code><span style="color:#3366CC;font-size:1.2em;">vgextend vgname /dev/vda3</span></code></b>
# Commands to '''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 (Refer to diagram on right for reference).
#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?
13,420
edits

Navigation menu