Course Home | Syllabus | Assignments | Schedule | Downloads | Submissions | [print]

IT 3100: Systems Design and Administration I

File Systems

Due according to the class schedule.

Assignment

In this assignment, you will configure the disk on a machine to have many partitions and create many different filesystems with various configurations. Finally, you will explore the data and file storing properties of the different file systems and configurations.

NOTE When choosing file sizes below in cfdisk, make sure you are using the MB or GB options, rather than just M or G

Use the virtual machine with a large disk

You should already have a virtual machine with a large disk from a previous assignment. It should meet the requirements listed here. If it doesn’t, then remove it and create the machine again.

This system should have an 8 gigabyte disk. During the installation, do a manual configuration of the disk space. Allocate a primary partition of 6GB for the / filesystem and a primary 512MB partition for the swap area. Leave the rest of the disk space to be configured after the installation has been completed.

Before you begin, check the following

Check to see if your system installed in GPT mode or MSDOS mode. Primary, Extended, and Logical Partitions are only available in msdos mode. To check this, execute the following command sudo fdisk -l /dev/sda | grep label. If the Disklabel type is NOT dos, you will need to perform the following commands:

Re-execute the above fdisk command to see if the disklabel changed. You now need to update grub or your system will not boot. So do the following:

Reboot the machine. If it doesn’t come back up, see your instructor.

Before moving on, after the machine comes back up, delete the /dev/sda1 partition using cfdisk. Write the changes, exit, and use partprobe. Now, you can use the free space to create the partitions outlined below.

Create partitions

After the system has been installed, create the following additional partitions:

Create file systems

Create file systems on the 10 50MB partitions as described below. All ext filesystems should be configured with the ‘type’ of 83 in cfdisk. All VFAT should be configured with the ‘type’ of b. All NTFS should be configured with the ‘type’ of 7.

Mount file systems

Create a directory named /space. Inside this directory, create 10 directories to mount the directories listed above.

These 10 directories will be the mount points for the 10 file systems created in the previous section.

Put entries in /etc/fstab for these all of these file systems to be mounted at boot time. Manually test the mounting and umounting of the file systems. Then reboot the machine to verify boot-time mounting.

Exercise the file systems

Be sure that your file systems are all correctly mounted before proceeding.

Be sure NOT to run these tests in your root file system.

Understanding file systems

The other partition

Create an ext4 file system on the other 200MB primary partition created. Make this file system the storage location for all of the users’ data, /home.

This work must be completed such that no user data is lost in the process, and such that the /home file system will be mounted automatically at boot time.

Be careful not to lose the contents of your current files.

Submission File Format

This assignment has an additional submission requirement of submitting the 5 charts described above in PDF format.

The submission file is a UNIX text file, and must have this format, exactly!

The file must be named fs_info.txt.

host:        ip_address_of_your_file_system_machine
devices:     device_name1, device_name2, ..., device_name10
homedevice:  device_name
mountpoints: mount_point1, mount_point2, ..., mount_point10

For example, my file would look like this:

host:        144.38.214.8
devices:     /dev/sda5, /dev/sda6, /dev/sda7, /dev/sda8, /dev/sda9, /dev/sda10, /dev/sda11, /dev/sda12, /dev/sda13, /dev/sda14
homedevice:  /dev/sda3
mountpoints: /space/e1, /space/e2, /space/e3, /space/e4, /space/v1, /space/v2, /space/v3, /space/n1, /space/n2, /space/n3

Submission and Passoff

Last Updated 08/07/2020