Utah Tech Logo

IT3300

DevOps virtualization

Lab 12

In this assignment you will:

These parts must be completed in order. All parts are dependent on the part before them.

Part I

You will use your headless ubuntu instance to complete the following. To make sure that you will be able to complete it, you should first verify that you have some free space on your disk by using cfdisk.

Create the following partitions (at the following mount points):

To do this - complete the following steps:

After your computer has restarted

After you have formatted the partitions

Now that you have the partitions created and formatted and the mount points created

Check your work with the mount command.

Part II

After your mount command is working correctly in Part II, add the appropriate entries to the end of the /etc/fstab file so that each of those partitions created in part II are automatically mounted at boot.

Something like this, but not copy-paste: /dev/sda7 /mnt/stuff ext4 defaults 0 0

You can just use the defaults arguments on the fstab line. Note that if you mess up your fstab line and you reboot, your system could become unusable and you will have to re-install (or rescue).

Test your work without rebooting by unmounting all three new partitions (umount /dev/sda5). Test that they successfully unmounted by running the mount command again. Then run mount -a to reload the /etc/fstab file.

Check your work with the mount command again. If your mounts are correctly reloaded, then you correctly edited the /etc/fstab file and it is safe to restart your machine.

Pass Off

The grading script will be run as you are logged into scratch. The command you will execute will be similar for all of your assignments that have an autograder. Here is a sample of the command you will run: run_grader.py --n 2 --ip 1.2.3.4. The 2 is representative of lab2. (Lab 3 would replace the 2 with a 3). NOTE you will pass in the ip address of your virtual machine that you have created. You will see some feedback. You should make sure that all your tests pass and that your score is correctly recorded. Please see your instructor for any help or questi ons on the output.