Hi, I suspect that there's a bug related to starting/stopping open-iscsi. I ran the following script:
#!/bin/bash loop_cnt=$1 usage="usage: $0 <loop count>" if [ $# -ne 1 ]; then echo $usage; exit 1; fi if [ -e /etc/init.d/open-iscsi ]; then ISCSI_INIT_SCRIPT=/etc/init.d/open-iscsi else if [ -e /etc/init.d/iscsi ]; then ISCSI_INIT_SCRIPT=/etc/init.d/iscsi fi fi for ((i=0;i<$loop_cnt;i++)) do date echo "Starting open-iscsi ($i)" $ISCSI_INIT_SCRIPT start echo "Stopping open-iscsi ($i)" $ISCSI_INIT_SCRIPT stop done At some point, open-iscsi fails to start: Starting iSCSI initiator service: startproc: exit status of parent of /sbin/iscsid: 1 done Stopping open-iscsi (969) done Then, I tried to start it manually: seed1:~ # modprobe iscsi_tcp ; modprobe -q ib_iser ; startproc /sbin/iscsid -c /etc/iscsi/iscsid.conf -p /var/run/iscsi.pid startproc: exit status of parent of /sbin/iscsid: 1 I noticed that if I run iscsid in the foreground, it works ok: seed1:~ # modprobe iscsi_tcp ; modprobe -q ib_iser ; startproc /sbin/iscsid -c /etc/iscsi/iscsid.conf -p /var/run/iscsi.pid -d8 -f iscsid: transport class version 2.0-724. iscsid version 2.0-865 iscsid: in ctldev_open iscsid: created NETLINK_ISCSI socket... iscsid: InitiatorName==iqn.seed1 iscsid: InitiatorName=iqn.seed1 iscsid: InitiatorAlias=seed1 iscsid: in ctldev_close iscsid: Max file limits 1024 1024 seed1:~ # iscsid: reaped pid 31483, reap_count now 0 Is this a known bug? BTW - I'm running with 2.6.24-rc5 and userspace code from commit 7370d142037204b0d6c81066d59916bc812e5090. Thanks, Erez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---