Skip to content
Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO)
Python Makefile Shell
Latest commit c588952 May 12, 2016 @agrover convert-to-json: Fix to handle fileio and other issues
parse_fileio was a cut-n-paste from block, missing key attributes like
size and buffered. Fixed.

Also, bodge up better handling for single vs multiple tpgs. Clarify
referring to tpgs versus the tpg tag (tpgt, an integer).

Signed-off-by: Andy Grover <>


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.

Something went wrong with that request. Please try again.