Use Longhorn Volume as an iSCSI Target
Longhorn supports iSCSI target frontend mode. You can connect to it
through any iSCSI client, including
open-iscsi, and virtual machine
hypervisor like KVM, as long as it’s in the same network as the Longhorn system.
The Longhorn CSI driver doesn’t support iSCSI mode.
To start a volume with the iSCSI target frontend mode, select
iSCSI as the frontend when creating the volume.
After the volume has been attached, you will see something like the following in the
In this example,
The above information can be used to connect to the iSCSI target provided by Longhorn using an iSCSI client.
© 2019-2023 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2023 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.