This is an old revision of the document!


iSCSI Enterprise Target (IET)

IET (http://iscsitarget.sourceforge.net/) is a iSCSI target with good performance, easy config and small footprint. It lives completely in userland so the install and basic setup is trivial.

Installing IET on Gentoo
adrenaline ~ # emerge iscsitarget
Installing IET on Ubuntu 8.10
root@novBackup:~# apt-get install iscsitarget
Configuration of IET

Edit /etc/ietd.conf and add the following:

Target iqn.2001-04.com.example:myVolumeName
      Lun 0 Path=/dev/sdX,Type=fileio

Where Path can be any block device (including regular block devices like hdX and sdX and virtual block devices like LVM and Software RAID devices) or regular files. If you use a regular file you need to make it as big as you want the target device to be. This will get you a 1 GB file:

root@novBackup:~# dd if=/dev/zero of=/tmp/myfile bs=1024 count=1000000

Setup complete!


QR Code
QR Code sanboot:iscsi_create_via_linux (generated for current page)