Closed BillyChen1 closed 1 year ago
It looks like iscsid is failing to start because there is another daemon running? The NELINK error can occur when another daemon is running. Also, the error message about /run/iscsid.pid is worrying.
After I recompile the kernel with iscsi_tcp
and scsi_transport_iscsi
modules, iscsid service starts successfully. I find that NELINK error disappears but the error message about /run/iscsid.pid still exists. What are the consequences of this error?
firefly@node31:~$ systemctl status iscsid
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/system/iscsid.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-03-21 13:06:48 CST; 1min 51s ago
TriggeredBy: ● iscsid.socket
Docs: man:iscsid(8)
Process: 11785 ExecStartPre=/lib/open-iscsi/startup-checks.sh (code=exited, status=0/SUCCESS)
Process: 11788 ExecStart=/sbin/iscsid (code=exited, status=0/SUCCESS)
Main PID: 11790 (iscsid)
Tasks: 2 (limit: 19106)
Memory: 1.8M
CGroup: /system.slice/iscsid.service
├─11789 /sbin/iscsid
└─11790 /sbin/iscsid
Mar 21 13:06:48 node31 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Mar 21 13:06:48 node31 iscsid[11788]: iSCSI logger with pid=11789 started!
Mar 21 13:06:48 node31 systemd[1]: iscsid.service: Failed to parse PID from file /run/iscsid.pid: Invalid argument
Mar 21 13:06:48 node31 systemd[1]: Started iSCSI initiator daemon (iscsid).
Mar 21 13:06:49 node31 iscsid[11789]: iSCSI daemon with pid=11790 started!
firefly@node31:~$ sudo cat /run/iscsid.pid
11790
Environment OS: Ubuntu 20.04 architecture: arm64 open-iscsi version: 2.0.874-7.1ubuntu6.2
After I installed open-iscsi by
apt-get
, iscsid.service failed to start. Here I have some information that may be helpful.When I listed kernel modules related to scsi, I got nothing.