Hi Ulrich,

I am also using SLES 11 SP1 i am not facing any such issue. send target
directory is created by open-iscsi.
I have same version of transport class and iscsid as yours.

Thanks,
Manish


On Fri, Feb 11, 2011 at 1:00 PM, Ulrich Windl <
ulrich.wi...@rz.uni-regensburg.de> wrote:

> Hi,
>
> somehow I got stuck: I have a new machine with SLES11 SP1, and I'm trying
> to use openiscsi after a long time (and the first time with SLES11).
>
> Discovery doesn't work for some unknown reason:
> # iscsiadm -m discovery -t sendtarget -p name.domain.uni-regensburg.de
> iscsiadm: discovery record [name.domain.uni-regensburg.de,3260] not found!
> #
>
> Trying to run iscsid in debug mode seems to suggest that the daemon isn't
> even contacted:
> # iscsid -d8 -f
> iscsid: sysfs_init: sysfs_path='/sys'
>
> 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-871
> iscsid: in ctldev_open
> iscsid: created NETLINK_ISCSI socket...
> iscsid: InitiatorName==iqn.1992-04.de.uni-regensburg.klinik:pcvirtu60.dvm
> iscsid: InitiatorName=iqn.1992-04.de.uni-regensburg.klinik:pcvirtu60.dvm
> iscsid: InitiatorAlias=pcvirtu60
> iscsid: Max file limits 1024 8192
>
> iscsid: in ctldev_close
> iscsid: reaped pid 20349, reap_count now 0
>
>
> As a side-note: "rcopen-iscsi" doesn't want to stop or restart the daemon:
> # rcopen-iscsi stop
> Stopping iSCSI initiator service:
>  skipped
>
> But the daemon was ruinning:
> 11442 ?        Ss     0:01 /sbin/iscsid -c /etc/iscsi/iscsid.conf -n
> 11443 ?        S<Ls   0:03 /sbin/iscsid -c /etc/iscsi/iscsid.conf -n
>
>
> Do I have to populate the directory /etc/iscsi/send_targets/ by hand?
>
> Maybe it's a configuration error on SLES11 SP1: That directory
> (/etc/iscsi/send_targets/) doesn't exist!
>
> Another side-note: Doing strace on iscsiadm it seems you are using files
> for accieving mutual exclusion:
> open("/etc/iscsi/lock", O_RDWR|O_CREAT, 0666) = 3
> close(3)                                = 0
> link("/etc/iscsi/lock", "/etc/iscsi/lock.write") = 0
> /* critical section */
> unlink("/etc/iscsi/lock.write")         = 0
>
>
> Why not use something like open("/etc/iscsi/lock.write",
> O_RDWR|O_CREAT|O_EXCL, 0666)
> and unlink("/etc/iscsi/lock.write")?
>
>
> Regards,
> Ulrich
>
>
> --
> 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?hl=en.
>
>

-- 
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?hl=en.

Reply via email to