Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7

454 bytes added, 08:42, 18 June 2015
no edit summary
<li>You <u>'''must'''</u> restart your centos2 VM to allow changes to take effect</li>
<li>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/sda3</span></code></b><li>
</ol>
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|
[[Image:lvm3.png|thumb|right|100px|What '''system-config-lvm''' display should appear after using '''fdisk''' to create new partition (/dev/sda3), '''formatting''' partition, '''adding partition to LVM''', and '''allocating partition''' to our default volume group.]]
|
[[Image:lvm5.png|thumb|right|400px|Creating a new logical volume from our newly created physical volume]]
|}
<ol>
<li>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/sda3</span></code></b></li>
13,420
edits

Navigation menu