Question: On your Linux system, you have installed a second hard drive and created one partition on the drive. You have also installed a third hard

On your Linux system, you have installed a second hard drive and created one partition on the drive. You have also installed a third hard drive and created two partitions on that drive. You now want to create a logical volume using the first partition on each new drive. Complete this lab from the Terminal.
In this lab, your task is to:
Use pvcreate to initialize the partitions for use with LVM.
Use vgcreate to create a volume group named data using these two partitions.
Use lvcreate to create a 1-terabyte logical volume named art from the data volume group.
Create a directory named product where you can mount the new logical volume.
Format the new logical volume with ext4.
Mount the logical volume to the product directory.
Change to the product directory and create a file named newproduct.
Verify the creation of the file and amount of disk space available on this new volume.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!