Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

204 - Configuring iSCSI Targets and Initiators

This hands-on lab describes using an iSCSI initiator and targets to mount devices. >**Note:** The hands-on lab videos mention the LPI Certificate Level 2 Exam 1, but this lab can be taken as a stand-alone lab.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 0m
Published
Clock icon Jan 30, 2017

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Install the iSCSI Software

    Install the scsi-target-utils package.

  2. Challenge

    Select an Available Disk for Use

    Use the fdisk -l command and examine which disks can be used.

    Note: There are muliple 21.5GB disks, but you only need to take note of one of them.

  3. Challenge

    Configure the Target Server to Share the Chosen Device

    1. Configure the server:

      • Edit the targets.conf and define the target.
      • Start the service.
      • Enable service for start on system boot.
    2. Verify that the device share is available for use.

    Note: There is only one server for this hands-on lab, so the server supplied is both target and client.

  4. Challenge

    Install and Configure the iSCSI Initiator (Client)

    1. Configure the client initiator.

      Note: This is the same server due to only one server being supplied for this hands-on lab).

    2. Use the iscsiadm command to discover the resource you can use on the target system.
    3. Restart the iscsi service.
    4. Use the /etc/init.d/iscsi status command to obtain information about the block storage device.
  5. Challenge

    Partition and Format the New Block Device

    1. Partition the new block device.
    2. Format it as ext4.
  6. Challenge

    Mount the New Block Device

    Mount the new remote block device onto the filesystem.

  7. Challenge

    Configure the System to Mount on Boot

    Add the device onto the local filesystem via additions to the /etc/fstab file.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans