0 of 16 lessons done
Course classroom
CompTIA Linux+ XK0-006

Day 9 of 15

Day 9 · Disks, partitions and filesystems

From an empty disk to data that is mounted and safe: partition it, format it, mount it, make it permanent in fstab and check it.

⏱ 2 hours 🧪 19 terminal tasks ✅ 14 review questions 🔒 Part of the full course

By the end of this day you will be able to

  • Identify disks and partitions with lsblk, blkid and fdisk -l.
  • Explain the difference between MBR and GPT, and partition a disk with parted.
  • Choose between ext4, XFS, Btrfs, vfat and tmpfs, and create the filesystem with mkfs.
  • Mount and unmount filesystems, and make a mount permanent in /etc/fstab with a UUID and the right options.
  • Measure space and inodes with df and du, and create and enable swap.
  • Check and repair filesystems with fsck, e2fsck and xfs_repair.
  • Set disk quotas, share directories with NFS and Samba, and mount with systemd .mount and .automount units.

Topics

  • Disk names in /dev
  • MBR and GPT
  • fdisk, gdisk, parted and growpart
  • ext4, XFS, Btrfs, vfat and tmpfs
  • mkfs and labels
  • mount, umount and mount options
  • /etc/fstab with UUIDs and .mount units
  • NFS and Samba: client, server and autofs
  • df, du, inodes and quotas
  • Swap
  • fsck, e2fsck and xfs_repair

This lesson is part of the full course

It includes the full explanation, 19 terminal tasks that check themselves and 14 review questions. If you already bought the course, sign in and pick up where you left off.

Full course: $99 (regular price $149) · one payment · 12 months of access

Already paid? Sign in with the email you used to buy: we send you a 6-digit code, no password.

Want to try it first? Take a free trial of the course. Questions? Message us on WhatsApp.

Loading your lesson…

Go to the course classroom

See all the lessons in the course

The companies, people and data in the course stories are fictional; any resemblance to reality is coincidental.