{"id":348,"date":"2012-10-28T09:07:17","date_gmt":"2012-10-28T15:07:17","guid":{"rendered":"http:\/\/mcguyverofbeer.com\/?p=348"},"modified":"2012-10-28T09:07:17","modified_gmt":"2012-10-28T15:07:17","slug":"iscsi-tgt-updating-target-acls","status":"publish","type":"post","link":"https:\/\/www.scottharvanek.com\/?p=348","title":{"rendered":"iSCSI TGT &#8211; Updating target ACLs"},"content":{"rendered":"<p>Sometimes when updating the ACL for a target in targets.conf and performing a tgtd reload the ACL is not updated, this is very common and require manually updating the ACL.<\/p>\n<p>You can check the ACLs via the show command for tgt-admin:<\/p>\n<p><code>[root@san2head2 ~]# tgt-admin --show<\/p>\n<p>    ACL information:<br \/>\n        192.168.1.2<br \/>\n        192.168.1.3<br \/>\n<\/code><\/p>\n<p>To update that list, say we want to add 192.168.1.4, we&#8217;ve updated targets.conf and done a tgtd reload but the ACL has not updated perform the following:<\/p>\n<p><code><br \/>\ntgtadm -lld iscsi --op bind --mode target --tid 1 -I 192.168.1.4<\/p>\n<p>Where tid = the target ID which can be ascertained from the show commmand,<br \/>\n<\/code><\/p>\n<p>Now if we look at the ACL via the show command we see the new IP added:<\/p>\n<p><code>[root@san2head2 ~]# tgt-admin --show<\/p>\n<p>    ACL information:<br \/>\n        192.168.1.2<br \/>\n        192.168.1.3<br \/>\n        192.168.1.4<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes when updating the ACL for a target in targets.conf and performing a tgtd reload the ACL is not updated, this is very common and require manually updating the ACL. You can check the ACLs via the show command for &hellip; <a href=\"https:\/\/www.scottharvanek.com\/?p=348\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-348","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=\/wp\/v2\/posts\/348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=348"}],"version-history":[{"count":1,"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=\/wp\/v2\/posts\/348\/revisions"}],"predecessor-version":[{"id":349,"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=\/wp\/v2\/posts\/348\/revisions\/349"}],"wp:attachment":[{"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scottharvanek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}