Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO)
Python Makefile Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example-rpm Fix 'make rpm' Mar 25, 2016
rtslib Implement support for cxgbit offload Oct 3, 2016
rtslib_fb Create symlink from rtslib_fb to rtslib Dec 3, 2014


A Python object API for managing the Linux LIO kernel target

rtslib-fb is an object-based Python library for configuring the LIO generic SCSI target, present in 3.x Linux kernel versions.

It supports both Python 2 and Python 3, thanks to the python-six library.

rtslib-fb development

rtslib-fb is licensed under the Apache 2.0 license. Contributions are welcome.

Since rtslib-fb is used most often with targetcli-fb, the targetcli-fb mailing should be used for rtslib-fb discussion.

In-repo packaging

Packaging scripts for RPM and DEB are included, but these are to make end-user custom packaging easier -- distributions tend to maintain their own packaging scripts separately. If you run into issues with packaging, start with opening a bug on your distro's bug reporting system.

Some people do use these scripts, so we want to keep them around. Fixes for any breakage you encounter are welcome.

"fb" -- "free branch"

rtslib-fb is a fork of the "rtslib" code written by RisingTide Systems. The "-fb" differentiates between the original and this version. Please ensure to use either all "fb" versions of the targetcli components -- targetcli, rtslib, and configshell, or stick with all non-fb versions, since they are no longer strictly compatible.