The Linux SCSI Target Wiki

Jump to: navigation, search
SUSE Linux Enterprise Server
Company / developer SUSE
OS family Unix-like
Working state Current
Source model Open source
Initial release March 1994
Latest stable release 11 SP3 / July 1, 2013; 9 years ago (2013-07-01)
Marketing target commercial market (include Mainframes, Servers, Workstations, Supercomputers
Language(s) Multilingual
Update method Zypper/YaST2
Package manager RPM Package Manager
Supported platforms IA-32, x86-64, s390x, PowerPC, Itanium
Kernel type Monolithic (Linux)
Userland GNU
Default user interface KDE Plasma Desktop and GNOME
License GNU General Public License, version 2 (GPLv2) and Various.
Official website SUSE Linux Enterprise Server

SUSE Linux Enterprise Server (SLES) is a Linux-based operating system developed by SUSE. It is designed for servers, mainframes, and workstations but can be installed on desktop computers for testing as well. New major versions are released at an interval of 3-4 years, while minor versions (called "Service Packs") are released about every 18 months. SUSE Linux Enterprise products, including SUSE Linux Enterprise Server, receive much more intense testing than the openSUSE community product, with the intention that only mature, stable versions of the included components will make it through to the released enterprise product.

LIO has been the default block storage target from version SLES 11 SP2, which was released on 2012-02-15.



Versions v12.1
Archive -
Source gits target_core.ko, targetcli
Documentation targetcli


SLES still requires a manual installation of the full targetcli user space shell from targetcli.

Resolve dependencies

The targetcli components depend on a number of Python packages. Install them first as as follows.

Install lio-utils.

Install the configshell dependencies:

$ su -c 'zypper install python-simpleparse'
$ su -c 'zypper install python-urwid'
$ su -c 'zypper install epydoc'

Install RTSlib dependencies:

$ su -c 'zypper install python-configobj'
$ su -c 'zypper install python-netifaces'
$ su -c 'zypper install python-ipaddr'

Install targetcli dependencies:

$ su -c 'zypper install libreadline6'
$ su -c 'zypper install python-devel'


Build lio-utils.

Build RTSlib:

$ cd rtslib
$ make deb
$ su -c 'dpkg -i dist/python-rtslib_2.1.9.g7076acf_all.deb'
$ cd ..

Build configshell:

$ cd configshell
$ make deb
$ su -c 'dpkg -i dist/python-configshell_1.1.5.gd866b24_all.deb'
$ cd ..

Build targetcli:

$ cd targetcli
$ make deb
$ su -c 'dpkg -i dist/python-rtslib_2.1.9.g7076acf_all.deb'
$ cd ..


Run targetcli as 'root' as follows:

# PYTHONPATH=. ./scripts/targetcli


The Open-iSCSI Initiator comes pre-installed on openSUSE.

See also

Distribution Version[Linux 1] Release Archive Install Source git[Linux 2] Documentation
CentOS 6.2 2011-12-20 CentOS mirror su -c 'yum install fcoe-target-utils' targetcli-fb.git Tech Notes
Debian 7.0 ("wheezy") TBA Debian pool su -c 'apt-get install targetcli' targetcli
Fedora 16, 17/18 2011-11-08 Fedora Rawhide su -c 'yum install targetcli' targetcli-fb.git Target Wiki
openSUSE 12.1 2011-11-08 Requires manual installation from targetcli.
RHEL 6.2 2011-11-16 Fedora Rawhide su -c 'yum install fcoe-target-utils' targetcli-fb.git Tech Notes
Scientific Linux 6.2 2012-02-16 SL Mirror su -c 'yum install fcoe-target-utils' targetcli-fb.git Tech Notes
SLES SP2 2012-02-15 Requires manual installation from targetcli.
Ubuntu PrecisePangolin v12 2012-04-26 Ubuntu universe su -c 'apt-get install targetcli' targetcli
  1. The distribution release where LIO was included first.
  2. Technical support, and qualified backports to other kernels and distributions are available from Datera.

External links

Personal tools
Google AdSense