Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - CentOS7 - SSD

8 bytes added, 05:53, 15 June 2016
no edit summary
#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>
# Create a new logical volume by issuing the following command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">lvcreate -L 2G archive centos_centos2</span></code></b>
#Issue the '''ssm list''' command to confirm that the logical volume has been created.''''''
13,420
edits