LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   LIO pscsi target (https://www.linuxquestions.org/questions/linux-kernel-70/lio-pscsi-target-925489/)

Ser Olmy 01-24-2012 12:32 PM

LIO pscsi target
 
I'm trying to set up a LIO scsi passthrough target, but can't seem to figure out the syntax of the tcm_node command.

I have an Ultrium tape drive I'd like to export as an iSCSI target. Normally, I'd just use SCST, but I thought I'd give LIO a try since it's in the kernel.

lsscsi shows the drive as "8:0:0:0":

Code:

[8:0:0:0]    tape    HP      Ultrium 3-SCSI  Q24D  /dev/st0
I've tried to create a TCM/pSCSI object with:

Code:

tcm_node --pscsi=pscsi_8/tape0 0:0:0
...but this returns "IOError: [Errno 19] No such device" (at the bottom of a traceback, tcm_node is a Python script).

The LIO modules are loaded (target_code_mod, target_core_iblock, target_core_pscsi, target_core_file, iscsi_target_mod). What am I missing here?


All times are GMT -5. The time now is 05:52 PM.