Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7 - SSD

50 bytes removed, 17:11, 13 June 2016
no edit summary
#Open a terminal as root, and format your newly-created partition by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">mkfs -t ext4 /dev/vda3</span></code></b><br>(or ''mkfs -t ext4 /dev/sda3'')
#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. '''Exit the system-config-lvm utility''' and '''issue 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 to '''Add to Existing Volume Group''' (click on other button in next screen to continue).
# 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).
13,420
edits

Navigation menu