Jump to content

iSCSI on Helios64 [Working great on Armbian 20.11 test images]


Recommended Posts

Posted

For anyone looking to build an iSCSI target on their new Helios64, I can confirm that it's working correctly under the test builds for Armbian 20.11.

Thanks to @aprayoga for his comment on the pull request, the kernels modules related to LinuxIO have been added to all boards in the Armbian project.

 

iscsi.thumb.png.40ece604387c44e2d88c2345bfe130ef.png

Posted
1 hour ago, jbergler said:

Out of curiosity what is the (web?) interface in your screenshot.

 

@jbergler

It's called cockpit - it listens on port 9090

You can install it with:

sudo apt -y install cockpit cockpit-networkmanager cockpit-packagekit cockpit-storaged

 

Posted

Do you know of a good guide for getting iSCSI working with ZFS? Or just a guide for iSCSI? I took a brief look around but everything so far is over my head.

Posted

I was able to get it working and played with it. I didn't realize I had to create a ZVOL to make it work, and it introduced some interesting problems. I'm not sure I'll stick with it, but I like the idea as a backup solution for the local Windows machines.

Posted

What problems did you get?

I found a post from 3 year ago - thou it was made for CentOS it contains a basic setup for ZFS and iSCSI, these steps work on Armbian as well.

zfs create -o volblocksize=32k -V 10G tslpool/iscsi1
zfs set sync=disabled tslpool/iscsi1
targetcli
block/ create name=block_backend dev=/dev/zvol/tslpool/iscsi1
cd /iscsi
create iqn.2017-11.com.mydomain.ad.zfstest:iscsidisk1
cd /iscsi/iqn.2017-11.com.mydomain.ad.zfstest:iscsidisk1/tpg1/acls
# create acl with the initiator (client) name here, not the one you just created
create iqn.1991-05.com.microsoft:dc1.ad.mydomain.com
cd iqn.1991-05.com.microsoft:dc1.ad.mydomain.com
set auth userid=user
set auth password=12to16characters
cd /iscsi/iqn.2017-11.com.mydomain.ad.zfstest:iscsidisk1/tpg1/luns
create /backstores/block/block_backend
cd /
ls
saveconfig
exit
systemctl enable target.service
systemctl restart target.service
firewall-cmd --permanent --add-port=3260/tcp
firewall-cmd --reload

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines