Open main menu

CDOT Wiki β

Changes

OPS245 Lab 5

53 bytes added, 10:33, 16 November 2021
m
Part 1: Managing File System Size with Existing Hard Drive: - adding warning to avoid an issue students were running into.
<li>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;">sudo pvcreate /dev/vda3</span></code></b> (or ''pvcreate /dev/sda3'' ) (enter '''y''' to proceed - ignore warning)</li>
</ol>
{{Admon/important|Check your VG name|Run <b>vgs</b> to determine your Volume Group name. If it is just <b>centos</b> or <b>cl</b>, replace <b>centos_centos2</b> with <b>centos</b> or <b>cl</b> for the rest of the following commands in this lab.<br /> Do '''NOT''' try to rename your volume group.}}
<ol>
<li value="17">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;">sudo vgextend centos_centos2 /dev/vda3</span></code></b></li>
932
edits