13,420
edits
Changes
no edit summary
#You <u>'''must'''</u> '''restart''' your centos2 VM to allow changes to take effect.
#Verify that you created this partition by issuing the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">fdisk -l /dev/vda</span></code></b>
#Re-issue the '''ssm''' command. Do you see a new /dev/sda3 vda3 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)
# 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>