The Linux SCSI Target Wiki

Jump to: navigation, search
Company / developer openSUSE Project
OS family Unix-like
Working state Production
Source model Free and open source software
Initial release December 2006; 15 years ago (2006-12)
Latest stable release 12.1 / November 16, 2011; 11 years ago (2011-11-16)
Language(s) English, German, many others
Update method ZYpp (YaST)
Package manager RPM Package Manager
Supported platforms ia32, x86-64
Kernel type Monolithic (Linux)
Default user interface KDE Plasma Desktop
License GNU General Public License, version 2 (GPLv2) and others
Official website

openSUSE is a general purpose operating system built on top of the Linux kernel, developed by the community-supported openSUSE Project and sponsored by SUSE. After Novell acquired SUSE Linux in January 2004,[1] Novell decided to release the SUSE Linux Professional product as a 100% open source project.[2]

LIO has been the default block storage target from openSUSE version 12.1, which was released on 11/16/2011 (based on Linux kernel 3.1.0).



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


openSUSE 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.


  1. "Novell Completes Acquisition of SUSE LINUX". Novell Press Release. January 13, 2004. 
  2. Tina Gasperson (August 3, 2005). "Novell frees SUSE Professional under new branding". NewsForge. 

External links

Personal tools
Google AdSense