Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EPERM errors with scsi_generic devices #165

Merged
merged 1 commit into from Jul 17, 2020

Conversation

niektoniekde
Copy link
Contributor

niektoniekde added a commit to niektoniekde/resource-agents that referenced this pull request Jul 9, 2020
With minimal changes LIO-T 'pscsi' backing store can be implemented. As use case example this enables possibility to export tape library robot devices via SCSI passthrough to virtual machine in HA KVM setup where same multiple library robots are zoned to multiple corosync nodes in multiple datacenters via SAN to achieve HA. In such scenario corosync just switch iSCSILogicalUnit to online node. This solution can work with persistent device naming such as '/dev/tape/by-id/<wwn>' but this patch has to be implemented open-iscsi/rtslib-fb#165 because otherwise targetcli returns error when scsi_generic device is being exported via pscsi backend.
niektoniekde added a commit to niektoniekde/resource-agents that referenced this pull request Jul 9, 2020
With minimal changes LIO-T 'pscsi' backing store can be implemented. As use case example this enables possibility to export tape library robot devices via SCSI passthrough to virtual machine in HA KVM setup where same multiple library robots are zoned to multiple corosync nodes in multiple datacenters via SAN to achieve HA. In such scenario corosync just switch iSCSILogicalUnit to online node. This solution can work with persistent device naming such as '/dev/tape/by-id/<wwn>' but this patch has to be implemented open-iscsi/rtslib-fb#165 because otherwise targetcli returns error when scsi_generic device is being exported via pscsi backend.
niektoniekde added a commit to niektoniekde/resource-agents that referenced this pull request Jul 9, 2020
With minimal changes LIO-T 'pscsi' backing store can be implemented. As use case example this enables possibility to export tape library robot devices via SCSI passthrough to virtual machine in HA KVM setup where same multiple library robots are zoned to multiple corosync nodes in multiple datacenters via SAN to achieve HA. In such scenario corosync just switch iSCSILogicalUnit to online node. This solution can work with persistent device naming such as '/dev/tape/by-id/<wwn>' but this patch has to be implemented open-iscsi/rtslib-fb#165 because otherwise targetcli returns error when scsi_generic device is being exported via pscsi backend.
@maurizio-lombardi
Copy link
Collaborator

Thanks,

I am going to test it.

@maurizio-lombardi maurizio-lombardi merged commit 43d1b57 into open-iscsi:master Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to export scsi generic changer devices too?
2 participants