open-iscsi
Please confirm there isn't an existing package request
- [X] I have searched through package requests
Homepage
https://github.com/open-iscsi/open-iscsi
Maintainer
- [ ] Would you like to be the maintainer for this package?
Why should this be included in the repository?
I'm using solus as my dev pc but I want to connect to iscsi but cannot find any packages for this
Are we allowed to redistribute it?
No response
What kind of user will use this package, and how many users do you think will use this package?
Network engineers like me will appreciate it
Link to source archive file
https://github.com/open-iscsi/open-iscsi/archive/refs/tags/2.1.9.tar.gz
I can maintain this. Will start to take a look to build this.
Can you test this @jr551 I have a working build but nothing to test to connect to. https://github.com/getsolus/packages/pull/3082
Someone else feel free to tackle this. I don’t have the time now.
Guys, I managed to correctly build the package. I personally use iSCSI at work. At the moment, I have ready-to-use build scripts in the form of three packages:
I'm ready to maintain the packages.
logs:
root@solus ~ # iscsiadm -m discovery -t sendtargets -p 10.50.218.194:3260
10.50.218.194:3260,1 iqn.2025-01.ru.pxe:debian
10.50.218.194:3260,1 iqn.2025-01.ru.pxe:windows
root@solus ~ # iscsiadm -m node -T iqn.2025-01.ru.pxe:debian -p 10.50.218.194:3260 -l
Login to [iface: default, target: iqn.2025-01.ru.pxe:debian, portal: 10.50.218.194,3260] successful.
root@solus ~ # iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 2.1.11
Target: iqn.2025-01.ru.pxe:debian (non-flash)
Current Portal: 10.50.218.194:3260,1
Persistent Portal: 10.50.218.194:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.2025-05.local:solus
Iface IPaddress: 10.10.14.13
Iface HWaddress: default
Iface Netdev: default
SID: 1
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
*********
Timeouts:
*********
Recovery Timeout: 120
Target Reset Timeout: 30
LUN Reset Timeout: 30
Abort Timeout: 15
*****
CHAP:
*****
username: <empty>
password: ********
username_in: <empty>
password_in: ********
************************
Negotiated iSCSI params:
************************
HeaderDigest: None
DataDigest: None
MaxRecvDataSegmentLength: 262144
MaxXmitDataSegmentLength: 8192
FirstBurstLength: 65536
MaxBurstLength: 262144
ImmediateData: Yes
InitialR2T: Yes
MaxOutstandingR2T: 1
************************
Attached SCSI devices:
************************
Host Number: 4 State: running
scsi4 Channel 00 Id 0 Lun: 0
scsi4 Channel 00 Id 0 Lun: 1
Attached scsi disk sdd State: running
root@solus ~ # fdisk -l /dev/sdd
Disk /dev/sdd: 20 GiB, 21474836480 bytes, 41943040 sectors
Disk model: VIRTUAL-DISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
root@solus ~ # iscsiadm -m session
tcp: [1] 10.50.218.194:3260,1 iqn.2025-01.ru.pxe:debian (non-flash)
root@solus ~ # iscsiadm -m session -u -r 1
Logging out of session [sid: 1, target: iqn.2025-01.ru.pxe:debian, portal: 10.50.218.194,3260]
Logout of [sid: 1, target: iqn.2025-01.ru.pxe:debian, portal: 10.50.218.194,3260] successful.
Guys, I managed to correctly build the package. I personally use iSCSI at work. At the moment, I have ready-to-use build scripts in the form of three packages: * openslp * open-isns * open-iscsi
In the near future, I'll adapt the file structure for the Solus architecture. I'll have to write patches.
The PR was prepared and submitted for review.