SIGSEGV Posted November 15, 2020 Share Posted November 15, 2020 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. 3 Link to comment Share on other sites More sharing options...
jbergler Posted November 16, 2020 Share Posted November 16, 2020 Out of curiosity what is the (web?) interface in your screenshot. Link to comment Share on other sites More sharing options...
SIGSEGV Posted November 16, 2020 Author Share Posted November 16, 2020 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 1 Link to comment Share on other sites More sharing options...
wurmfood Posted November 24, 2020 Share Posted November 24, 2020 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. Link to comment Share on other sites More sharing options...
SIGSEGV Posted November 24, 2020 Author Share Posted November 24, 2020 @wurmfood This guide might be a good starting point for you - just replace the lvm2 with your ZFS implementation. I prefer to use targetcli tool to manage my targets, but the concepts are the same. Link to comment Share on other sites More sharing options...
SIGSEGV Posted December 7, 2020 Author Share Posted December 7, 2020 @wurmfood You should be able to use a ZVOL or create a file on the dataset that represent the target (blockio and fileio) respectively. Link to comment Share on other sites More sharing options...
wurmfood Posted December 8, 2020 Share Posted December 8, 2020 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. Link to comment Share on other sites More sharing options...
SIGSEGV Posted December 8, 2020 Author Share Posted December 8, 2020 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 Link to comment Share on other sites More sharing options...
Recommended Posts