NAME
iscsisrv – iSCSI target: provide remote access via iSCSI

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

DESCRIPTION
Iscsisrv presents the file target by speaking a restricted form of the iSCSI protocol. It defaults to communicating on file descriptors 0 and 1, assumed to be a network connection as passed from listen(8) via /bin/service/tcp3260. If the –a option is supplied, it will instead listen for connections on the specified dialstring.

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 over TCP:
disk/iscsisrv –rl 10240000 –a tcp!*!3260 /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 © 2021 Alcatel-Lucent. All rights reserved.