Hi there, On 11/09/2017 09:24 AM, Herbert Nachtnebel wrote: > Thank you very much for the walk through to create the device! > Indeed, with these instruction I could create a backend for the > target. For completeness, one further step was missing: setting the > udev_path before enabling the device: > > echo /dev/nst0 > /sys/kernel/config/target/core/pscsi_0/tape/udev_path
Oh, I believed that was optional, that's why I didn't mention it... ;-) But great to hear that this just appears to be a problem with the user space tooling and not the kernel itself - that makes it quite a bit easier to fix. Anyway, great that that appears to work, and I'll wait for your functional tests. If those do work out (i.e. you can use that device from an initiator) I'll work on a patch for the targetcli command. Regards, Christian