User`s guide

Chapter VII. iSCSI PDU Offload Target
Chelsio T5/T4 Unified Wire For Linux Page 127
Where:
<path>
Is the path to the actual storage device, such as /dev/sdb for a block
device or /dev/md0 for a software RAID. The path must exist in the
system.
SYNC
When specified, the Target will flush all the data in the system cache to
the storage driver before sending response back to the Initiator.
4.7.3. Example Configuration of FILE Mode Storage
Below is an example:
target:
#<snip>
# software raid /dev/md0 is accessed in FILE mode
TargetDevice=/dev/md0,FILE
#<snip>
4.7.4. BLK Mode Storage Device Details
The BLK mode storage device is suitable for high-speed storage attached to the target system:
The BLK mode can accommodate only block devices.
The device is accessed in the exclusive mode. The device should not be accessed (or
active) in any way on the target system.
Each device should be used for one and only one iSCSI target.
To configure a block storage device specify BLK as the device mode:
TargetDevice=<path to the storage device>,BLK
Where:
<path>
Is the path to the actual storage device, such as /dev/sdb. The path must
exist in the system.
target:
#<snip>
# /dev/sdb is accessed in BLK mode
TargetDevice=/dev/sdb,BLK
#<snip>