How to Install and Uninstall tcmu-runner Package on Ubuntu 21.10 (Impish Indri)

Last updated: September 20,2024

1. Install "tcmu-runner" package

This tutorial shows how to install tcmu-runner on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install tcmu-runner

2. Uninstall "tcmu-runner" package

This tutorial shows how to uninstall tcmu-runner on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove tcmu-runner $ sudo apt autoclean && sudo apt autoremove

3. Information about the tcmu-runner package on Ubuntu 21.10 (Impish Indri)

Package: tcmu-runner
Architecture: amd64
Version: 1.5.2-6
Priority: optional
Section: universe/admin
Source: tcmu
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Freexian Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 329
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libc6 (>= 2.17), libglib2.0-0 (>= 2.37.3), libkmod2 (>= 5~), librbd1 (>= 12.1.4), libtcmu2 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Filename: pool/universe/t/tcmu/tcmu-runner_1.5.2-6_amd64.deb
Size: 89744
MD5sum: 556da855682e44495c6b7d40bfe82de6
SHA1: 4a4115526361b6258fd9dd9709eb32c983e4f0f8
SHA256: 1aed3e89ad77c3629975e7c96f227d57de9072940373c2eb12a3100f71d90f9f
SHA512: ae61dd948916bd110c8f4ee3a622dd200b972c445b5cb574e9a2b70a1c957cedbcef80b980c6ad18621d8b8224d3cd8a7ea29780c7aee0d71147d50253cfb2fd
Homepage: https://github.com/open-iscsi/tcmu-runner
Description-en: Daemon that handles the userspace side of the LIO TCM-User backstore
LIO is the SCSI target in the Linux kernel. It is entirely kernel
code, and allows exported SCSI logical units (LUNs) to be backed by
regular files or block devices. But, if one want to get fancier with
the capabilities of the device one is emulating, the kernel is not
necessarily the right place. While there are userspace libraries for
compression, encryption, and clustered storage solutions like Ceph or
Gluster, these are not accessible from the kernel.
.
The TCMU userspace-passthrough backstore allows a userspace process
to handle requests to a LUN. But since the kernel-user interface that
TCMU provides must be fast and flexible, it is complex enough that
one would like to avoid each userspace handler having to write boilerplate
code.
.
tcmu-runner handles the messy details of the TCMU interface -- UIO,
netlink, pthreads, and DBus -- and exports a more friendly C plugin
module API. Modules using this API are called "TCMU
handlers". Handler authors can write code just to handle the SCSI
commands as desired, and can also link with whatever userspace
libraries they like.
.
This is the daemon package
Description-md5: 145e597bb8213f857ae5d54f860956e6