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.

Configure access control lists

Configure access control lists

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

Start my 1-month free trial

Configure access control lists

- [Instructor] In previous videos of this chapter, we created a backstore, a target and a lun. Now let's get an access control list. Be sure you're logged into your rhhost1 VM and you have a terminal open with targetcli running as root. If you haven't done this, type in sudo targetcli and hit Enter. Let's also verify our progress. Go to your targetcli root by typing in cd space slash, and hit Enter. Then type in ls. You should see our file io backstore and then file1. You should also see a target named iqn.2018-04.com.localnet:filedisk1, which has a lun and a portal. The latter was auto-generated because we're using a version of Enterprise Linux newer than 7.1. Now let's cd into our target's target portal group. Use tab completion for this by typing in cd iscsi/iqn, hit your Tab key, and add tpg1 to the end and hit Enter. Type in pwd to verify where you are. You should be in /iscsi/iqn.2018-04.com.localnet: filedisk1/tpg1. If so, we can continue. To create an acl, we'll specify the…

Contents