NAME
iscsisrv – iSCSI target: provide remote access via iSCSI

SYNOPSIS
ip/iscsisrv [ –dr ] [ –l len ] target [ dialstring ]

DESCRIPTION
Iscsisrv presents the file target by speaking a restricted form of the iSCSI protocol on file descriptors 0 and 1, assumed to be a network connection. It is intended to be invoked by listen(8) via /bin/service/tcp3260. Changes are written through to target unless the –r option is given. If –l is supplied, iscsisrv will claim that target is len bytes long.

EXAMPLES
Export a target, /dev/sdC0/iscsi–test:
disk/iscsisrv /dev/sdC0/iscsi–test

Export a dummy target:
disk/iscsisrv –l 10240000 /dev/zero

SOURCE
/sys/src/cmd/ip/iscsisrv.c

SEE ALSO
iscsifs(4)

BUGS
Does not authenticate incoming connections.

Implements only one connection per session.

Implements only lun 0.

Implements immediate execution, whether requested or not.

Trusts TCP, so does not implement framing (FIM) nor CRCs (digests).

Copyright © 2025 Plan 9 Foundation