Changes

Jump to: navigation, search

OPS235 Lab 5

24 bytes added, 13:49, 15 March 2017
Revising VG instructions
<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;">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 VG Volume Group name. If it is just <b>centos</b>, you will need to rename it to replace <b>centos_centos2</b> using the with <b>vgrenamecentos</b> commandfor the rest of the following commands in this lab.}}
<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;">vgextend centos_centos2 /dev/vda3</span></code></b></li>

Navigation menu