Error connecting to ISCSI target created by LIO using iPXE, error message:
Boot from SAN device 0x80 failed: Input/output error (http://ipxe.org/1d852039) LIO target creation is created using ./iscsi-target-export.sh<https://www.kernel.org/doc/Documentation/target/target-export-device> script, the creation command line is: core@master1 ~ # dd if=/dev/zero of=/home/core/lun1.img bs=1024k count=100 core@master1 ~ # sudo ./iscsi-target-export.sh /home/core/lun1.img iPXE uses the ISO compiled by the master branch at https://github.com/ipxe/ipxe.git. The command executed is: iPXE> dhcp iPXE> sanboot iscsi:172.18.14.178::::iqn.2003-01.org.linux-iscsi.ceph-master1:lun1.img ISCSI target host machine operating system version is: core@master1 ~ $ uname -a Linux ceph-master1 4.19.95-coreos #1 SMP Thu Feb 6 12:30:43 -00 2020 x86_64 AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux core@master1 ~ $ cat /proc/version Linux version 4.19.95-coreos (jenkins@ip-10-7-32-103) (gcc version 8.3.0 (Gentoo Hardened 8.3.0-r1 p1.1)) #1 SMP Thu Feb 6 12:30:43 -00 2020 Attachment <3260.cap> is the packet capture content that attempts to connect 2 times, and <syslog.log> is the log input captured by the command <set syslog 172.18.14.178>
syslog.log
Description: Binary data
_______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo/ipxe-devel