Andrew,
Thanks for the new iscsitgtd. I replaced the original and unfortunately had 
similar results. I have another snoop output and I'll email to Nigel. Just like 
before the GlobalSAN initiator said it was connected but no disk was presented. 
I ended up with some other weirdness and not sure if it is related. I'll get 
back to that later.

Replacing  iscsitgtd::
JFYI - I found  iscsitgtd in /usr/sbin not /usr/sbin/amd64.
bash-3.2# which iscsitgtd
/usr/sbin/iscsitgtd
bash-3.2# ls -l /usr/sbin/iscsitgtd
-r-xr-xr-x  89 root     bin         8100 Oct 19 21:07 /usr/sbin/iscsitgtd
bash-3.2# svcs -a | grep iscsit
online         Nov_21   svc:/system/iscsitgt:default
bash-3.2# svcadm disable svc:/system/iscsitgt:default
bash-3.2# svcs -a | grep iscsit
disabled        0:28:18 svc:/system/iscsitgt:default
bash-3.2# mv iscsitgtd iscsitgtd.11262007
bash-3.2# scp [EMAIL PROTECTED]:/home/chris/iscsitgtd .
Password: 
iscsitgtd       100% 
|**************************************************************|   420 KB    
00:00    
bash-3.2# ls -l iscsitgtd
-rw-r--r--   1 root     root      430368 Nov 27 00:35 iscsitgtd
bash-3.2# chmod 555 iscsitgtd
bash-3.2# ls -l iscsitgtd
-r-xr-xr-x   1 root     root      430368 Nov 27 00:35 iscsitgtd
bash-3.2# svcadm enable svc:/system/iscsitgt:default
bash-3.2# svcs svc:/system/iscsitgt:default
STATE          STIME    FMRI
online          0:37:50 svc:/system/iscsitgt:default

bash-3.2# iscsitadm create target -b /dev/dsk/c0d1s0 media
bash-3.2# iscsitadm list target -v
Target: media
    iSCSI Name: 
iqn.1986-03.com.sun:02:472daffa-e377-6a94-92d2-b767054f9554.media
    Connections: 0
    ACL list:
    TPGT list:
    LUN information:
        LUN: 0
            GUID: 0
            VID: SUN
            PID: SOLARIS
            Type: disk
            Size:  185G
            Backing store: /dev/dsk/c0d1s0
            Status: online

This is the point where I attempted to connect to the target. I have emailed 
Nigel a copy of the snoop.o. 

No biggie that this did not work. Shortly after the weirdness started. 
bash-3.2# ls -l | grep iscsi
bash: fork: Not enough space
bash-3.2# ls
bash: fork: Not enough space
bash-3.2# exit
-bash-3.2$ id
-bash: fork: Not enough space
-bash-3.2$ exit
logout
Connection to 192.168.1.1 closed.
[EMAIL PROTECTED]:~> 
[EMAIL PROTECTED]:~> ssh 192.168.1.1
ssh_exchange_identification: Connection closed by remote host

Basically my swap device was gone:::
Nov 27 02:16:33 Rathskeller tmpfs: [ID 518458 kern.warning] WARNING: 
/etc/svc/volatile: File system full, sw
ap space limit exceeded
Nov 27 02:16:33 Rathskeller inetd[435]: [ID 702911 daemon.error] Failed to 
update state of instance svc:/net
work/shell:kshell in repository: server has insufficient resources
Nov 27 02:16:33 Rathskeller tmpfs: [ID 518458 kern.warning] WARNING: 
/etc/svc/volatile: File system full, sw
ap space limit exceeded
Nov 27 02:16:33 Rathskeller inetd[435]: [ID 702911 daemon.error] Failed to 
update state of instance svc:/net
work/shell:kshell in repository: Software caused connection abort
Nov 27 02:16:33 Rathskeller tmpfs: [ID 518458 kern.warning] WARNING: 
/etc/svc/volatile: File system full, sw
ap space limit exceeded
Nov 27 02:16:33 Rathskeller inetd[435]: [ID 702911 daemon.error] Failed to 
update state of instance svc:/net
work/talk:default in repository: server has insufficient resources.......etc

I did not copy it off console but with df -h swap was only showing 4mb total.
I added /dev/md/dsk/d10 back as swap and I could not ssh back in.
It seems like this was just an odd fluke but it happened right after I tried 
the GlobalSAN connection.
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to