openSUSE
The Linux SCSI Target Wiki
| Company / developer | openSUSE Project |
|---|---|
| OS family | Unix-like |
| Working state | Production |
| Source model | Free and open source software |
| Initial release | December 2006 |
| Latest stable release | 12.1 / November 16, 2011 |
| 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 | www.opensuse.org |
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).
Contents |
Summary
| Versions | v12.1 |
|---|---|
| Archive | – |
| Source gits | target_core.ko, targetcli |
| Documentation | targetcli |
Installation
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
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
Run targetcli as ‘root’ as follows:
# PYTHONPATH=. ./scripts/targetcli
Initiator
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 | |
- ↑ The distribution release where LIO was included first.
- ↑ Technical support, and qualified backports to other kernels and distributions are available from Datera.
Notes
External links
- openSUSE Official website
- openSUSE Wikipedia entry
- List of Linux distributions Wikipedia entry
- How to Connect to an iSCSI Volume using Open-iSCSI in Linux