按月存檔:五月 2014

Ubuntu iSCSI Initiator 開機後不會生效的問題

照著這邊做的

https://help.ubuntu.com/12.04/serverguide/iscsi-initiator.html

第一步提到的這個,其實是 template 而不是 system-wide setting
Once the open-iscsi package is installed, edit /etc/iscsi/iscsid.conf changing the following:
node.startup = automatic

修改底下的設定,之後 service open-iscsi restart 就會生效

/etc/iscsi/nodes/iqn.2003-01.org.linux-iscsi.precise64.x8664:sn.e5fc039aa450/192.168.66.99,3260,1/default
node.startup = automatic

/etc/iscsi/send_targets/192.168.66.99,3260/st_config
discovery.startup = automatic