From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

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

Create an iSCSI LUN

Create an iSCSI LUN

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Create an iSCSI LUN

- [Instructor] Now we need to create a LUN for the file IO back store in our target. Be sure that you are logged into your rhhost1 VM and have a terminal open. Run targetcli by typing in sudo space targetcli. We need to go to the root so type in cd space slash. Verify that we have the back store from our previous video in this chapter, as well as a target by typing in ls. If you have both, you can continue on. Now we have to change into the target directory. You can use tab completion in targetcli, which can be very handy when dealing with long paths. Type in cd space slash iscsi slash IQN and then hit your tab key. Now add in tpg, and hit your tab key again. In my case, the entire line would read slash iscsi slash iqn dot 2018 dash 04 dot com dot localnet colon filedisk1 slash tpg1 and hit enter. If your target name was different, be sure to enter the correct one here. Now that we're in our target portal group directory, we can create our LUN for our file IO back store. Type in luns…

Contents