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

Unlock the full course today

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

Create a disk-based iSCSI LUN

Create a disk-based iSCSI LUN

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

Start my 1-month free trial

Create a disk-based iSCSI LUN

- [Instructor] This will be a quick tutorial on creating a disk-based iSCSI LUN. If you want more detail, visit chapter two, which goes over each step verbosely. Make sure your your rhhost2 VM is booted, and also make sure your rhhost1 VM is booted, you're logged in, and have a terminal open. We'll be using slash dev slash sdb1, which we created in a previous video in this chapter. We'll verify that it exists by typing in lsblk into the terminal. Here we see an sdb1 and an sdb2. If it exists, we can move on. Now let's start targetcli by typing in clear, and then typing in sudo space targetcli, and hitting enter. Make sure we're in the root by typing in cd slash, and then verify by typing in ls. We should have an empty system. Now let's create our disk-based backstore. Type in slash backstores slash block space create space block1, that'll be the name of our backstore, space slash dev slash sdb1, which is our backing device, and hit enter. And we can verify with ls. Now let's create…

Contents