-
nikolamI recently have iscsi target I start on SmartOS global zone , not starting after reboot.
-
nikolamI have service and script in /opt/custom/share/svc/smartos_setup.sh that is executed after starting SmartOS
-
nikolamAnd this steps initiating iscsi target on SmartOS global zone, seems to fail, because if I run them manually, iscsi target is available to (MS Win) initiator to mount
-
nikolamitadm create-tpg local <local IP > , itadm create-target -t local -n iqn.2025-05.org.illumos:16:ntfs , stmfadm modify-lu -p wcd=false <View ID>
-
nikolamwhen I do stmfadm add-view <view ID> , it says view is already created
-
nikolamSo it used to work from script before but somewhere during middle of this year or month or two ago, it stopped until I run that part of the script manually.. and that is not the point of service :P