Command shell for managing Linux LIO kernel target
  • Python 86.8%
  • Roff 13.2%
Find a file
pre-commit-ci[bot] e871895464 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.17.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.17.6)
2026-12-02 18:26:16 +01:00
.fmf Add .fmf/version 2025-06-20 16:56:41 +08:00
.github/workflows Add CodeQL security scanning 2025-06-17 16:21:08 +08:00
ci-tests Add tmt test plan 2025-06-20 16:56:41 +08:00
src/targetcli Add ability to set the T10 Vendor ID of a backstore 2026-12-02 18:25:24 +01:00
systemd targetclid.sock: change SocketMode to 0600 2020-03-26 18:08:53 +05:30
tests Fix targetclid signal handler signature 2026-08-18 13:23:10 +03:30
.gitignore Maintain the Fedora spec file in this repository 2026-11-23 07:53:38 +01:00
.packit.yaml Propose releases to all supported Fedora versions 2026-12-02 18:25:50 +01:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2026-12-02 18:26:16 +01:00
COPYING Removing extra trailing whitespace from COPYING 2024-04-08 18:27:59 +02:00
pyproject.toml Drop the -fb naming and the dead fedorahosted.org links 2026-11-23 07:53:38 +01:00
README.md Drop the -fb naming and the dead fedorahosted.org links 2026-11-23 07:53:38 +01:00
targetcli.8 Drop the -fb naming and the dead fedorahosted.org links 2026-11-23 07:53:38 +01:00
targetcli.spec Use a placeholder Version in the spec file 2026-11-24 11:31:27 +01:00
targetclid.8 Drop the -fb naming and the dead fedorahosted.org links 2026-11-23 07:53:38 +01:00
THANKS Add cvubrugier to THANKS 2013-09-11 09:18:04 -07:00

targetcli

A command shell for managing the Linux LIO kernel target

An administration shell for configuring iSCSI, FCoE, and other SCSI targets, using the TCM/LIO kernel target subsystem. FCoE users will also need to install and use fcoe-utils.

targetcli development

targetcli is licensed under the Apache 2.0 license. Contributions are welcome.

Packages

targetcli is packaged for a number of Linux distributions including RHEL, Fedora, openSUSE, Arch Linux, Gentoo, and Debian.

It can also be installed from PyPI with pip install targetcli. User-backed (user:*) backstores provided by tcmu-runner are discovered over D-Bus, which needs PyGObject: pip install targetcli[tcmu].

Contribute

targetcli complies with PEP 621 and as such can be built and installed with tools like build and pip.

For development, consider using Hatch:
hatch shell to create and enter a Python virtualenv with the project installed in editable mode
pre-commit install to enable pre-commit hooks
hatch build to create tarball and wheel

Formerly targetcli-fb

This project was previously known as targetcli-fb ("free branch"), a fork of the original "targetcli" code written by RisingTide Systems. The fork has long been the only maintained version, so the -fb suffix has been dropped.