Hi there, I am trying to make MHVTL (https://sites.google.com/site/linuxvtl2/) work under LIO. MHVTL emulates virtual tape libraries and currently it can integrate with stgt framework. Here's what has been emulated on my test machine (Ubuntu 12.04LTS): root@vUbuntu:~# lsscsi -g [1:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0 /dev/sg0 [2:0:0:0] disk VMware, VMware Virtual S 1.0 /dev/sda /dev/sg1 [3:0:0:0] mediumx STK L700 0104 /dev/sch0 /dev/sg10 [3:0:1:0] tape IBM ULT3580-TD5 0104 /dev/st0 /dev/sg2 [3:0:2:0] tape IBM ULT3580-TD5 0104 /dev/st1 /dev/sg3 [3:0:3:0] tape IBM ULT3580-TD4 0104 /dev/st2 /dev/sg4 [3:0:4:0] tape IBM ULT3580-TD4 0104 /dev/st3 /dev/sg5 [3:0:8:0] mediumx STK L80 0104 /dev/sch1 /dev/sg11 [3:0:9:0] tape STK T10000B 0104 /dev/st4 /dev/sg6 [3:0:10:0] tape STK T10000B 0104 /dev/st5 /dev/sg7 [3:0:11:0] tape STK T10000B 0104 /dev/st6 /dev/sg8 [3:0:12:0] tape STK T10000B 0104 /dev/st7 /dev/sg9 With targetcli, I would imagine I'll have to use pscsi (iblock seems to only work with disk devices) to export the tape lib and drives. However when I try to add the backstores, I got following errors: /backstores/pscsi> create name=tapelib1 dev=/dev/sg2 Cannot find SCSI device by path, and dev parameter not in H:C:T:L format: /dev/sg2. /backstores/pscsi> create name=tapelib1 dev=3:0:0:0 SCSI device does not exist. As a matter of fact, even the disk could not be added: /backstores/pscsi> create name=disk1 dev=/dev/sg1 Cannot find SCSI device by path, and dev parameter not in H:C:T:L format: /dev/sg1. Am I missing anything? Or is pscsi not supported at all? Thanks, Sean -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html