iSCSI initiator
Иванов Алексей <ivalesh1 at yandex.ru>
Yang
Hi ,
I think you can do that. For example, currently, SPDK implements virtio scsi driver, though it is virtio scsi driver, but the idea can be similar.
Virtio SCSI driver
A userspace driver for Virtio SCSI devices has been added. The driver is capable of creating block devices on top of LUNs exposed by another SPDK vhost-scsi application.
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Иванов Алексей
Sent: Wednesday, November 1, 2017 12:02 PM
To: spdk(a)lists.01.org
Subject: [SPDK] iSCSI initiator
Hello!
As i understand SPDK can realize iSCSI target application. But is it possible to use it as iSCSI initiator?
--
Отправлено из мобильного приложения Яндекс.Почты
Walker
Quoted 3 lines · Иванов Алексей
Hello!
As i understand SPDK can realize iSCSI target application. But is it possible to use it as iSCSI initiator?
There is no iSCSI initiator in SPDK today, so if you're just looking for a userspace iSCSI initiator that already exists see
https://github.com/sahlberg/libiscsi.
I'm not familiar with this project beyond a cursory glance, but it seems to fit the bill.
That said, there is both an NVMe-oF initiator and a virtio-scsi initiator in SPDK already, so an iSCSI initiator would definitely fit into the toolkit. In order to consider adding one, I think we have to figure out how an SPDK implementation would be fundamentally better than the already existing implementations (i.e. libiscsi). If anyone has any insight into that implementation or any other, and has thoughts on how SPDK could do a faster one, it would be much appreciated.
Thanks,
Ben
Harris
Quoted 14 lines · Benjamin
Quoted 3 lines · Иванов Алексей
Hello!
As i understand SPDK can realize iSCSI target application. But is it possible to use it as iSCSI initiator?There is no iSCSI initiator in SPDK today, so if you're just looking for a userspace iSCSI initiator that already exists see
https://github.com/sahlberg/libiscsi.
I'm not familiar with this project beyond a cursory glance, but it seems to fit the bill.
Quoted 7 lines
That said, there is both an NVMe-oF initiator and a virtio-scsi initiator in SPDK already, so an iSCSI initiator would definitely fit into the toolkit. In order to consider adding one, I think we have to figure out how an SPDK implementation would be fundamentally better than the already existing implementations (i.e. libiscsi). If anyone has any insight into that implementation or any other, and has thoughts on how SPDK could do a faster one, it would be much appreciated.
I think libiscsi should work well. it has async interfaces so it fits the SPDK asynchronous polling model.
Building an iSCSI bdev module on top of libiscsi should be fairly straightforward. This would be really useful for presenting iSCSI LUNs to VMs via vhost.
Quoted 8 lines
Thanks,
Ben_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org
https://lists.01.org/mailman/listinfo/spdk