Question: linux, virtualbox and centOS7 Add a new 20GB hard disk to CentOS1 in the virtual machines storage settings then do the following: *Use fdisk to

linux, virtualbox and centOS7

Add a new 20GB hard disk to CentOS1 in the virtual machines storage settings then do the following:

*Use fdisk to create a single LVM partition on the new 20GB hard disk.

*Setup the 20GB LVM parition as a LVM physical volume.

*Create a new volume group called vg and add the new 20GB physical volume to it.

*Create 3 new logical volumes within the volume group each 5GB in size (names: backup, data, videos).

*Format the first logical volume (backup) as ext3.

*Format the second logical volume (data) as ext4.

*Format the third logical volume (videos) as xfs.

*Create mount points for each logical volume in /mnt (/mnt/backup, /mnt/data, /mnt/videos).

*Manually use the mount command to mount each logical volume to the new directories created in /mnt.

*Add entries in /etc/fstab for the new logical volumes so that they are mounted during startup.

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 Databases Questions!