Ritesh Raj Sarraf <r...@debian.org> 于2021年10月21日周四 下午10:48写道: > > Hello, > > On Sun, 2021-10-17 at 23:34 +0800, Yangfl wrote: > > Package: open-iscsi > > Version: 2.1.4-2 > > > > Hi, > > > > After installing open-iscsi without modifying any configuration, > > iscsiadm can't do any discovery using `iscsiadm -m discovery -t > > sendtargets -p <host>`, which seemly caused by failure to start > > iscsid. Some log: > > > > > > Was the daemon running at the time when you attempted the discovery of > the targets ?
See the status of iscsid.service is 'active (exited)', and no iscsid is found using `ps`. > > After stopping those services `systemctl stop iscsid.service; > > systemctl stop iscsid.socket` and start iscsid manually, `iscsiadm -m > > discovery` successes as expected. > > > > What do you mean by 'manually' ? Invoking the iscsid binary by hand ? Yes, `sudo iscsid`. And I guess the issue is probably caused by missing /usr/lib/systemd/system/iscsid.service in https://packages.debian.org/sid/amd64/open-iscsi/filelist . After I manually download the service file from git repo, everything goes fine.