Comment 4 for bug 457767

Revision history for this message
Mathias Gug (mathiaz) wrote :

Creating an iscsi target system with the iscsitarget package:

1. sudo apt-get install iscsitarget

2. Create a 2 GB file (/srv/disk1) to be served via iscsi:
sudo dd if=/dev/zero of=/srv/disk1 bs=1000 count=2000000

3. Enable iscsi target in /etc/default/iscsitarget.

4. Configure the iscsi target to serve /srv/disk1 in /etc/ietd.conf:

Lun 0 Path=/srv/disk1,Type=fileio

5. Start iscsitarget.