CT320: Network and System Administration

Fall 2019

Partitioning

CT320 Partitioning Lab

Introduction

For this lab, you will create a new disk partition and use it in various ways.                 

Create a document that will hold your numbered results. Show it to the TA for credit when you’re done.                 

Many commands in this lab will have to be done as the super-user, root. Do this by putting sudo in front of the necessary commands. I won’t clutter the writeup with all the sudos.                 

Note that the opposite of the mount command is umount, not unmount.                 

Part 1 — Boot from DVD

Part 2 – Create a new partition

Part 3 — Verify

Part 4 — Manually mount & unmount

The mount point for this new partition will be /Spare.                 

Part 5 — /etc/fstab

It’s tedious to have to manually mount filesystems. Think of /etc/fstab as setting up an association between directories (mount points) and partitions (file systems).                 

Part 6 — Busy due to current directory

Part 7 — Busy due to open file

Part 8 — Dual Mount

Part 9 — Read-Only

Part 10 — noexec

Many systems allow non-super-user mounting of CDs and USB drives, but don’t want executables to be run off of those devices.                 

Part 11 — Cleanup

Part 12 — Credit

Show your work to the TA.