ISCSI on Ubuntu 11.04-11.10+
- January 17th, 2012
- Write comment
Hello world
I followed these very simple steps from howtoforge, to setup iSCSI on an Ubuntu 11.04 server:
# apt-get install iscsitarget
# nano /etc/default/iscsitarget
Set ISCSITARGET_ENABLE to true.
When I reached the steps to edit files as shown
# nano /etc/ietd.conf
# nano /etc/initiators.allow
Those files didn’t exist, and the iscsitarget was ineffective creating files on these locations.
I then discovered, that those files per Ubuntu 11.04 has been moved to
# nano /etc/iet/ietd.conf
# nano /etc/iet/initiators.allow
Using these files and then restarting
# service iscsitarget restart
automagically solved my problem.
Original how-to: http://www.howtoforge.com/using-iscsi-on-ubuntu-10.04-initiator-and-target