From the course: Linux System Engineer: iSCSI Storage Area Networks

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Partition and mount by UUID

Partition and mount by UUID

From the course: Linux System Engineer: iSCSI Storage Area Networks

Start my 1-month free trial

Partition and mount by UUID

- Now that we have our drive exported from rhhost1, and accessible in rhhost2, we will put a partition on it, format it, and mount it by a UUID number. In order to do this, make sure your rhhost2 vm is booted and you're logged in. Also make sure your rhhost1 vm is running as well. Let's also verify that we still have access to the iscsi drive. In the terminal, type "sudo lsblk --scsi" and hit enter. If you see the iscsi device you can proceed. If you do not see it, you'll want to go back to the previous video, and follow the steps in logging into the target. My device is /dev/sdb, but if yours is different, take note of that now. The device name is only important temporarily. As you may recall in chapter one, it's not recommended that you use device major minor numbers, or device names such as /dev/sdb when mounting iscsi devices. These names can change depending on different factors. We will address our drives by UUID later. Let's begin by adding a partition to our drive, and…

Contents