1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in


From iscsitarget

Jump to: navigation, search


What is it?

iSCSI Enterprise Target (IET) software is for building an iSCSI storage system on Linux.

The project was started by forking the Ardis target implementation with respect to the GPL. If you are interested in historical stuff (e.g. why did we start this project?), read this thread.

What are the differences between Ardis and IET?

There are many differences about the internal designs, although you don't notice them. Here are some noticable feature differences.

  • Kernel patches are not necessary.
  • SMP is supported.
  • 2.6 kernels are supported.
  • Targets, volumes, and accounts for authentication can be added and deleted dynamically.
  • Regular files are supported.
  • Many bugs are fixed.
  • More functionalities in the iSCSI specification are supported.

Are multiple targets supported?

Yes. IET software can run multiple targets simultaneously. And each target can provide services to multiple initiators.

However, MaxConnection is set to 1 by default

MaxConnection means the maximum number of connections per session. Read RFC 3720 if you are interested in the details.

Can I configure security policy per a target?


Does a single target handle multiple logical units?


What device does the target provide to an initiator?

You can use files. That is, regular files, block devices. virtual block devices (like RAID or LVM).

Are 2.6 kernels supported?

We support only 2.6 kernels.

Are 64-bit architectures supported?


How can I dynamically configure?

Use ietadm, which is a tool for managing IET software. You can perform the following operations to a running target.

Adding a target:

ietadm --op new --tid=[id] --params Name=iqn.foo.bar:baz

[id] must be unused. You can get a list of the currently used Target IDs by: cat /proc/net/iet/sessions

Adding a LUN:

Note: This adds a LUN to a pre-existing target.

ietadm --op new --tid=[id] --lun=[lun] --params Path=/path/to/exported/file,Type=fileio

[id] must be an already existing Target ID.

[lun] is the LUN id, typically 0 (zero) for the first LUN.

How can I mount a volume exported by IET on the exporting machine?

See this page about SelfMountingExportedVolumes.

What are the current state of iSCSI implementations in Linux?

These slides at OLS 2005 might interest you.

All around VMWare ESX/VMWare Infrastructure

Personal tools