On 01/10/2017 09:30 AM, Bryant G. Ly wrote:
After further looking into this issue, it looks like TCMU is not up when the target restarts...
Aha! Great to know.
Anyway, I added two lines into /lib/systemd/system/lio-target.service and it seems to fix it. Requires=tcmu-runner.service After=tcmu-runner.service
This is a good solution for now, with the small downside that tcmu-runner runs even when no tcmu backstores are configured. I think we can resolve this by having `targetctl restore` activate tcmu-runner but only if tcmu backstores are in use. I've opened an issue:
https://github.com/open-iscsi/rtslib-fb/issues/85 Regards -- Andy -- 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