Target&Lun Access Control Investigation
With iSCSI you can access storage over an IP-based network.
The exported storage entity is the target and the importing entity is the initiator. There are different modules available to set up the target:
- The SCSI Target Framework (STGT/TGT) was the standard before linux 2.6.38.
- The iSCSI Enterprise Target (IET) is an old implementation and SCSI Target Subsystem (SCST) is the successor of IET and was a possible candidate for kernel inclusion before the decision fell for LIO.
- The current standard is the LIO target.
SCST
SCST Architecture
- SCST core processes SCSI commands and routes these between target drivers and storage drivers.
- Target drivers implement a SCSI protocol and communicate with the initiator system.
- Storage drivers present local storage to the SCST core as a SCSI device. This can be a SCSI device, block device, file, or RAID controller.
- scst_user driver allows to implement a SCSI storage device in a user space process.