July Release Confetti
150+ New Hands-on Training in Aws, Linux, Azure
Red Hat, Devops, and More
Learn More

LiNUX Lab

Add and Remove Volumes, Partition Disks, and Work with LVM

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours

Scope

In this lab you have a Red Hat Enterprise 6 server.  Use this to follow along with the objectives in the scenario presented.

Objectives

Add and Remove Volumes, Partition Disks and Work with LVM.

Overview

Add and Remove Volumes, Partition Disks and Work with LVM using the provisioned server with additional drives.

Scenarios

You have been tasked with adding a new mount point on a server that uses lvm to combine 2 drives to create a folder to store logfiles in. You wont use all of the space on the new drives so that it can be used for something else later if required.

The 2 new drives are located at /dev/sdb and at /dev/sdc (change as required)

As a result, you will need to create new LVM partitions on both disks and initialize them for use with LVM. Once initialized, you will create the volume group to hold the new disks and ensure it has been successfully created.

In order to test, create a 10gb Logical Volume and then confirm successful creation of the expected size. Format the filesystem and mount it and then verify it appears as intended.

Once testing is complete, you will completely undo all of the Logical Volumes and Volume Groups you created above in order to make the entire amount of newly provisioned space available for use. Verify all groups have been removed.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.