百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

tgt

> 编程语言
开源

用户空间 iSCSI 目标守护进程

364 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

用户空间 iSCSI 目标守护进程

Introduction

The Linux target framework (tgt) is a user space SCSI target framework that supports the iSCSI and iSER transport protocols and that supports multiple methods for accessing block storage. Tgt consists of user-space daemon and tools.

Currently, tgt supports the following SCSI transport protocols:

  • iSCSI software target driver for Ethernet NICs
  • iSER software target driver for Infiniband and RDMA NICs

Tgt supports the following methods for accessing local storage:

  • aio, the asynchronous I/O interface also known as libaio.
  • rdwr, smc and mmc, synchronous I/O based on the pread() and pwrite() system calls.
  • null, discards all data and reads zeroes.
  • ssc, SCSI tape support.
  • sg and bsg, SCSI pass-through.
  • glfs, the GlusterFS network filesystem.
  • rbd, Ceph's distributed-storage RADOS Block Device.
  • sheepdog, a distributed object storage system.

Tgt can emulate the following SCSI device types:

  • SBC: a virtual disk drive that can use a file to store the content.
  • SMC: a virtual media jukebox that can be controlled by the "mtx" tool.
  • MMC: a virtual DVD drive that can read DVD-ROM iso files and create burnable DVD+R. It can be combined with SMC to provide a fully operational DVD jukebox.
  • SSC: a virtual tape device (aka VTL) that can use a file to store the content.
  • OSD: a virtual object-based storage device that can use a file to store the content (in progress).

License

The code is released under the GNU General Public License version 2.

Requirements

Target drivers have their own ways to build, configure, etc. Please find an appropriate documentation in the doc directory.

Developer Notes

The central communication channel for tgt development is the mailing list ().

First, please read the following documents (in short, follow Linux kernel development rules):

  • https://www.kernel.org/doc/Documentation/process/coding-style.rst
  • https://www.kernel.org/doc/Documentation/process/submitting-patches.rst

Then, check your patches with the patch style checker prior to submission (scripts/checkpatch.pl) like the following example.

fujita@arbre:~/git/tgt$ ./scripts/checkpatch.pl ~/0001-add-bidi-support.patch Your patch has no obvious style problems and is ready for submission.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言