Pb to discover my iSCSI targets from a Solaris 10 Netra X1

unix

    Next

  • 1. usermod -l fails
    Working on SunOs 5.9 (Sparc). When I try to change a username using the syntax usermod -l newname oldname I get this error message: UX: usermod: ERROR: Cannot update system files - login cannot be modified. What's causing this? TIA, S
  • 2. s10_69 x86 install on logical drive
    hello, anybody knows if it is possible to install solaris on a logical drive? my pc has 3 primary partitions i can't touch, and one extended i want to install sol10 in /dev/hda6 why sun fdisk doesn't show logical drives? it seems that dos fdisk saw it, why not solaris fdisk? i'm sure i can move contents of a primary partition to a logical one after install, and change grub to use it... thanks for help

Pb to discover my iSCSI targets from a Solaris 10 Netra X1

Postby Sastien de Mapias » Tue, 07 Aug 2007 20:51:43 GMT

1/ I configured a iSCSI target using the open-e SOHO
   IDE module, and created 2 targets:
   ~ iqn.2007-08:iscsi.target0
   ~ iqn.2007-08:iscsi.target1
   available on IP 192.168.1.4 (it runs on a Dell
   PowerEdge 1400sc)

2/ then on my Netra x1
   I ran the 3 commands:
   ~ iscsiadm add discovery-address 192.168.1.4
   ~ iscsiadm modify discovery --sendtargets enable
   ~ devfsadm -i iscsi
   as described on the pages around this one:
    http://www.**--****.com/ 

3/ for every command I had lines in /var/adm/messages saying:

   ~ Aug  5 10:36:55 netrax1 iscsi: [ID 919666 kern.notice] \
                NOTICE: iscsi: SendTarget discovery failed (11)
   ~ Aug  5 10:36:55 netrax1 iscsi: [ID 114404 kern.notice] \
                NOTICE: iscsi discovery failure - SendTargets
(192.168.001.004)
   ~ Aug  5 10:37:57 netrax1 iscsi: [ID 919666 kern.notice] \
                NOTICE: iscsi: SendTarget discovery failed (11)
   ~ Aug  5 10:37:57 netrax1 iscsi: [ID 114404 kern.notice] \
                NOTICE: iscsi discovery failure - SendTargets
(192.168.001.004)
   ~ Aug  5 16:30:05 netrax1 iscsi: [ID 919666 kern.notice] \
                NOTICE: iscsi: SendTarget discovery failed (11)

   Searches on onesearch.sun.com with the string "sendtarget
   discovery failed" or "iscsi discovery failure" returns NOTHING !

4/ so it failed, I can't discover my targets; here is my config:
   ~ # uname -a
   ~ SunOS netrax1 5.10 Generic_118833-33 sun4u sparc SUNW,UltraAX-i2

   ~ # iscsiadm list discovery
   ~ Discovery:
   ~        Static: disabled
   ~        Send Targets: enabled
   ~        iSNS: disabled

   ~ # patchadd -p | grep -i iscsi
   ~ Patch: 119090-22 Obsoletes: 121980-03 123500-02 Requires:
118833-25
   ~ Incompatibles: Packages: SUNWiscsir SUNWiscsiu
   ~ Patch: 119092-10 Obsoletes: Requires: Incompatibles: Packages:
SUNWiscsir

   so I guess with these setup and configuration it *should* work
   shouldn't it ?

5/ if I do a 'cat' of network-iscsi_initiator:default.log
   located in /etc/svc/volatile/
   I get:
   ~ [ Aug  5 09:16:53 Disabled. ]

   and if I do a 'strings' of iscsi_v1.dbc and iscsi_v1.dbp in
   /etc/iscsi
   I see things like:
   ~ NodeName
   ~ iqn.1986-03.com.sun:01:0003ba053bd8.46376268
   ~ NodeAlias
   ~ DiscAddr
   ~ 192.168.001.004
   ~ DiscMethod
   ~ Chap
   ~ iqn.1986-03.com.sun:01:0003ba053bd8.46376268
   ~ iqn.1986-03.com.sun:01:0003ba053bd8.46376268
   ~ SENDTARGETS_DISCOVERY
   ~ SENDTARGETS_DISCOVERY

   but nothing about my iqn.2007-08:iscsi.target0 and
   target1 targets !

6/ It doesn't come from my netra because Microsoft's
   iSCSI initiator does discover my targets properly !

Could someone help me, gimme some hints or a track to
follow to further troubleshoot my issue here ?

Thanks...
Regards,
SR


Re: Pb to discover my iSCSI targets from a Solaris 10 Netra X1

Postby dave » Wed, 08 Aug 2007 22:56:55 GMT

Since your failing discovery make sure your doing basic network
troubleshooting.
  1) Can you ping the address?
  2) Can you telnet to the port at the address?


Peeking at the code this failure message is here.

   http://www.**--****.com/ #2684

It looks like the "11" is a cmd_result value, what ever that is.  But,
I found it here.

   http://www.**--****.com/ #159

iscsi.h:
  159 	/* cmd (tran_abort/reset) failed */
  160 	ISCSI_STATUS_CMD_FAILED,

Looking prior to line 2684 in iscsi_io.c it looks like it was going to
try and send
a iSCSI TEXT (SendTargets) on the wire and the command failed due to a
abort
or reset.

Maybe try the following.  Disable all discovery.

  iscsiadm modify discovery -t disable

Then make sure your discovery address is still present.

  iscsiadm list discovery-address

Then issue the following.  This command if still possible was a little
bit of a
debugging back door left in by one of the developers.  It will issue a
send
target request without all the extra overhead of trying to create LUNs
in
Solaris etc.  It just tests the connection and sendtargets request.

  iscsiadm list discovery-address -v

If you see it return a list of targets then things are good.  If it
fails check
/var/adm/messages for your errors again.  If it does fail again it
sounds
like a settings or protocol imcompatibility.  I know people have used
Open-E's iSCSI target with Solaris successfully so make sure you clear
all your parameter settings (digests, etc) and repeat the test.  If
that doesn't
work the quickest way to solve the problem is probably going to be to
dive
into the protocol.  Collect a wireshark(ethereal) or snoop trace
during the
discovery-address -v command.  This should be a pretty small trace
and
should give lots of hints/details to why its failing.  You could
either post that
trace where someone knowledgable can access it on the net or open a
support ticket to sun with your documentation to have them look at it.


Re: Pb to discover my iSCSI targets from a Solaris 10 Netra X1

Postby Sastien de Mapias » Wed, 08 Aug 2007 23:57:31 GMT

Dave,
First of all thanks a lot for your hints here.

I'm sorry I forgot to say that I can of course
-ping my 192.168.1.4 iSCSI host,
-and perform a telnet connection on the default port without any
 problem (3260 if i'm not mistaken).

I'll try the options you describe and provide you with some positive
feedback -hopefully-.

Do you mind if I also send you copies to your mail address ?

Once again, thanks.

dave schreef:


Re: Pb to discover my iSCSI targets from a Solaris 10 Netra X1

Postby Sastien de Mapias » Fri, 10 Aug 2007 03:29:20 GMT

#  iscsiadm list discovery-address
returns right away:
~ Discovery Address: 192.168.1.4:3260

#  iscsiadm list discovery-address  -v
returns after about 20 to 30 seconds:
~ Discovery Address: 192.168.1.4:3260
~         Unable to get targets.

and here var adm messages says, as usual:
~ Aug  8 20:26:51 netrax1 iscsi: [ID 919666 kern.notice]  \
~               NOTICE: iscsi: SendTarget discovery failed (11)

I tried to install
ethereal-0.99.0-solaris2.9-sparc-local
but it fails with
~ This package requires gtk+ version >= 1.2 installed in \
~                                                    /usr/sfw/bin.
~ Aborting installation.

so I tried to install
gtk+-1.2.10-sol9-sparc-local
and it worked but didn't install it in this /usr/sfw/bin,
so another attempt to install gtk+ failed once more.

Is ther ea way to tell 'pkgadd' to install a pkg in a
given target directory ? I did a 'pkgadd -d' every
time.
(I'm no ux admin whatsoever, and never was...)

Thanks.
Sastien




Similar Threads:

1.Pb to discover my iSCSI targets from a Solaris 10 Netra X1: solved

2.Open-E iSCSI Soho target and Netra x1 + Solaris 10 (with its own iSCSI initiator)

Hello,
I intend to try to connect an iSCSI target to my Netra x1 (using
a SOHO flash card set up in a Dell Poweredge 1400sc). I still
have to install Solaris 10 on the Netra, in order to have an
initiator.
Anybody ever happened to d-i-y that kind of stuff before, any
experience to share ? I'll let you know anyway if I manage to get
it work (I intend to do that by myself at home, for sheer
experimentation purposes).

In advance, thanks.
Seb

3.Netra X1 hangs when net booting Solaris 10 1/06

  I have a boot server and a Netra X1 on the same subnet.  While I can 
net boot the X1 into single-user Solaris 9 ("boot net -s"), it won't boot 
Solaris 10 1/06:  it hangs shortly after loading the kernel and  
requesting it's address for the third(?) time (the full transcript is 
below).  

  Ideas?  Other posts have indicated that not having "anon=0" in the 
dfstab will lead to problems like this, but it's already set.

  Regards,
    Greg

ok boot net -vs
Boot device: /pci@1f,0/ethernet@c  File and args: -vs
Using Onboard Transceiver - Link Up. 
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
38800 
Server IP address: 192.168.8.48 
Client IP address: 192.168.8.44 
Using Onboard Transceiver - Link Up. 
Using RARP/BOOTPARAMS...

Requesting Internet address for 0:3:ba:5:2f:6c
Internet address is: 192.168.8.44
hostname: x1
Found 192.168.8.48 @ 0:3:ba:d9:cb:e4
root server: v240 (192.168.8.48)
root directory: /export/install/Solaris_10_106/Solaris_10/Tools/Boot
Size: 0x77f70+0x1baaa+0x2fcaa Bytes
module /platform/sun4u/kernel/sparcv9/unix: text at [0x1000000, 0x1077f6f] 
data at 0x1800000
module misc/sparcv9/krtld: text at [0x1077f70, 0x1090867] data at 
0x184b758
module /platform/sun4u/kernel/sparcv9/genunix: text at [0x1090868, 
0x11de65f] data at 0x1850f00
module /platform/SUNW,UltraAX-i2/kernel/misc/sparcv9/platmod: text at 
[0x11de660, 0x11de8cf] data at 0x18a2a08
module /platform/sun4u/kernel/cpu/sparcv9/SUNW,UltraSPARC-IIe: text at 
[0x11de900, 0x11ebb67] data at 0x18a3140
SunOS Release 5.10 Version Generic_118822-25 64-bit
Copyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Ethernet address = 0:3:ba:5:2f:6c
Using default device instance data
mem = 131072K (0x8000000)
avail mem = 117424128
root nexus = Sun Netra X1 (UltraSPARC-IIe 400MHz)
pseudo0 at root
pseudo0 is /pseudo
scsi_vhci0 at root
scsi_vhci0 is /scsi_vhci
pseudo-device: dld0
dld0 is /pseudo/dld@0
pcipsy0 at root: UPA 0x1f 0x0
pcipsy0 is /pci@1f,0
PCI-device: ethernet@c, dmfe0
dmfe0 is /pci@1f,0/ethernet@c
PCI-device: ethernet@5, dmfe1
dmfe1 is /pci@1f,0/ethernet@5
Requesting Internet address for 0:3:ba:5:2f:6c
[...hangs...]

-- 
 \|/   ___   \|/     XXXX@XXXXX.COM     +----- 2048R/38BD6CAB -----+
  @~./'O o`\.~@                            | 02BD EF81 91B3 1B33 64C2 |
 /__( \___/ )__\                           | 3247 6722 7006 38BD 6CAB |
    `\__`U_/'                              +--------------------------+

4.Install Solaris on a Netra X1 server

Hi everybody,

I've got virtually no experince with Sun hardware, I've done some 
reading of documents from Sun's website.  I've got a Netra X1 and I want 
to install Solaris on it.  Can anyone point a good document that will 
guide me in doing this?  Thanks.

Sean

5.instalar linux en sun microsystems netra x1

Hola a todos:

Necesito instalar alguna version de linux en una maquina sun microsystems
Netra X1

Donde puedo bajar la version de linux para esta maquina?

De antemano muchas gracias !

Marcelo


6. Netra X1, Corrupt text received via serial connection

7. Netra X1 - Can't open boot device

8. Netra X1 Disk issue?



Return to unix

 

Who is online

Users browsing this forum: No registered users and 16 guest