Changes

Jump to: navigation, search

OPS235 Lab 5

1 byte removed, 16:47, 23 June 2016
no edit summary
# 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 1G -n archive centos_centos2</span></code></b>
# Format your newly-created partition by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">mkfs -t ext4 /dev/centos_centos2/archive</span></code></b>
# Issue the '''ssm list''' command to view the new physical volume and logical volume information.
# Reduce the file-size by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">lvreduce -L 0.5G centos_centos2/archive</span></code></b>
13,420
edits

Navigation menu