>
> When you run this and do not kill iscsid, does iscsiadm just hang until
> you kill iscsid?
>

No iscsiadm hang without error ... only the 2 mess. output
iscsiadm: ip 192.168.1.79, port 3260, tgpt -1
iscsiadm: Max file limits 1024 1024

then iscsid write output :
iscsid: poll result 1
iscsid: mgmt_ipc_write_rsp: rsp to fd 5

I can enter new same or different iscsiadm command with the same
result.
I killed iscsid to stop the strace write that iscsid continue to poll
strace output.
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=0, events=0}],

without strace iscsid continue to run ...
herefater a simple trace (debug) without kill of scsid.
[~] # iscsid -f -d 8 &
iscsid: sysfs_init: sysfs_path='/sys'

16853
iscsid: sysfs_attr_get_value: open '/module/
scsi_transport_iscsi'/'version'

iscsid: sysfs_attr_get_value: new uncached attribute '/sys/module/
scsi_transport_iscsi/version'

iscsid: sysfs_attr_get_value: add to cache '/sys/module/
scsi_transport_iscsi/version'

iscsid: sysfs_attr_get_value: cache '/sys/module/scsi_transport_iscsi/
version' with attribute value '2.0-870'

iscsid: transport class version 2.0-870. iscsid version 2.0-870
iscsid: in ctldev_open
iscsid: created NETLINK_ISCSI socket...
iscsid: InitiatorName==iqn.2009-03.noos.fr:Nasaphil
iscsid: InitiatorName=iqn.2009-03.noos.fr:Nasaphil
iscsid: InitiatorAlias=NAS219aPhil
iscsid: in ctldev_close
iscsid: Max file limits 1024 1024

[~] # iscsid: reaped pid 16854, reap_count now 0
iscsiadm -d 8 -m discovery -t sendtargets -p 192.168.1.79
iscsiadm: ip 192.168.1.79, port 3260, tgpt -1
iscsiadm: Max file limits 1024 1024

iscsid: poll result 1
iscsid: mgmt_ipc_write_rsp: rsp to fd 5
[~] # ps -eaf | grep iscsid
16853 admin      2388 S < iscsid -f -d 8
17684 admin       548 R   grep iscsid
[~] #

> Are you starting iscsiadm and iscsid by hand or is a script that
> launches them at about the same time?
>
I start iscsid by hand in console mode and foreground for iscsid
(without -f same result).

FYI : One other things is I run iscsi target on the same system ...
[~] # ps | grep ie
 1582 admin      1732 S   /sbin/ietd --port=3260
[~] # /sbin/ietd --v
iscsid version 0.4.17


Philippe.
--~--~---------~--~----~------------~-------~--~----~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to