Manage Storage in Linux
Learn On Demand Pro Series

Did you know Cybrary has FREE video training? Join more than 2,500,000 IT and cyber security professionals, students, career changers, and more, growing their careers on Cybrary.

Time
45 minutes
Difficulty
Beginner

During this IT Pro Challenge provided by Learn on Demand Systems you will manage the partition structure on the CentOS7 installation. NOTE: Before you begin, please ensure you have set aside enough time to complete ...

Did you know Cybrary has FREE video training? Join more than 2,500,000 IT and cyber security professionals, students, career changers, and more, growing their careers on Cybrary.

Overview

Objectives:

  1. To display the initial partition configuration.
  2. To create two new partitions on /dev/sda.
  3. To create an xfs and an ext4 filesystem on the two new partitions.
  4. To mount the two new partitions to directories.
  5. To configure the system to mount the two new partitions automatically.

Tasks:

  1. View the current partitions and filesystems using the fdisk and parted commands.
  2. Create Primary and Extended Partitions.
  3. Create filesystems on the newly created partitions.
  4. Create directory mount points for the two newly created partitions.
  5. Mount the two newly created partitions at their respective directory mount points.
  6. Get the UUIDs of both of the newly created partitions.
  7. Configure the system to mount those newly created partitions automatically at every boot.

Skills: Learn to use Command Line Interface System Administration Commands such as fdisk, blkid, lsblk, mkfs and mount as well as GNU Partition Manipulation Commands such as parted and partprobe. Create Partitions and Filesystems on the storage drive and mounting them on directories configuring them for automatic boot every time the system is booted.

Introduction: The Learn on Demand Systems' Manage Storage in Linux is a premium Cybrary lab that trains students to learn the System Administration utilities such as fdisk, blkid, lsblk, mkfs and mount in the Command Line Interface, as well as the GNU Parted commands such as parted and partprobe too. The Manage Storage in Linux is intended for Intermediate level students and learners.

The Learn on Demand Systems' Manage Storage in Linux Lab is aimed towards the System Administrator work profile. Upon successful completion of Learn on Demand Systems' Manage Storage in Linux Lab, the student will be able to create and analyze partitions and filesystems using the fdisk, blkid, lsblk, mkfs, and mount utilities. Learn on Demand Systems' Manage Storage in Linux Lab takes 30-45 minutes to complete for most students.

Skills/Activity Breakdown: The Manage Storage in Linux Lab aims at teaching students to create and analyze partitions using the fdisk, blkid, lsblk, mkfs and mount System Administration utilities in Linux. Also, one can use the parted and partprobe GNU Parted command-line utilities to verify the filesystems of the partitions created, while also obtaining the UUIDs and various other filesystem details. A student learns good usage of df, fdisk, blkid, lsblk, mkfs and mount utilities of System Administration utilities. Working with the df utility allows administrators to check the available file storage space on the specific partitions selected.

The Manage Storage in Linux Lab also aims at teaching students to use the GNU Parted tool and its various command-line utilities in Linux. Also, it includes a tutorial to inform the operating system kernel of partition table changes for recently formatted filesystems and mount point directories using the partprobe command. A student learns good usage of probing, checking and verifying the filesystem tables used in the partitions. Working with the partprobe command-line utility allows administrators to verify the partition changes and inform that to the Linux operating system.

The Manage Storage in Linux Lab teaches students to also use the parted command of the GNU Parted command-line tool. Manipulating disk partitions, supporting multiple partition table formats, including MS-DOS and GPT, creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks are some of the tasks a student learns in the lab. Students will receive a hands-on the following variety of user, GNU Parted and System Administration commands as mentioned here: ls, fdisk, blkid, lsblk, mkfs, mount, vim, nano, mkdir, cd, parted, partprobe.

Completion of Learn on Demand Systems' Manage Storage in Linux Lab means that the student has demonstrated the ability to use Linux Command Line System Administration, User and GNU Parted command-line utilities to create and analyze Partitions and Filesystems as well as mount those partitions and configuring them to get automatically booted when the system boots in Linux environment.

Scenario: You are a system administrator for a company that uses Linux servers. You need to create partitions and format them to specific filesystems as required while also mounting them to specific directories and configuring them for automatic booting at system startup. You will be using System Administration command-line utilities as well as GNU Parted command-line utilities too.

Environment: You will use a default installation of CentOS 7 Linux with the Server with GUI package installed. Non-privileged accounts have been created for you. You will be guided through the process of adding software if necessary.

NOTE: A Guided Challenge is similar to a traditional lab, but replaces the step-by-step instructions with goals and objectives along with detailed hints, which allow students to check their work as they progress. Before you begin, please ensure you have set aside enough time to complete this challenge as you will not be able to pause, save, or return to your progress.

Learn on Demand Systems' Manage Storage in Linux Lab is a part of the Linux: Command-Line and File System-Challenge Series Learning path presented by Cybrary and the lab is created by Learn on Demand Systems.