1748156 Members
4208 Online
108758 Solutions
New Discussion юеВ

Re: ISCSI SETUP ON HP-UX

 
SOLVED
Go to solution
Asif Sharif
Honored Contributor

Re: ISCSI SETUP ON HP-UX

post the output of this command,

# ps -ef|grep iscsi

Regards,
Asif Sharif
Regards,
Asif Sharif
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

obelix2:/ (root) $ ps -ef | grep iscsi
root 1238 1 0 Oct 11 ? 0:00 /opt/iscsi/bin/iscsi_resolvd
root 2277 1 0 Oct 11 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_iscsi_adapter
Live fast, die young - enjoy a good looking corpse!
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

Hi Asif

Here too is the exact output of the above commands, maybe you can determine from them which one is going wrong...

obelix2:/ (root) $ ioscan -H 255
H/W Path Class Description
=================================
255/0 iscsi iSCSI Virtual Node
obelix2:/ (root) $ insf -H 255
obelix2:/ (root) $ iscsiutil -p -O
obelix2:/ (root) $ ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
obelix2:/ (root) $

Carlo
Live fast, die young - enjoy a good looking corpse!
Asif Sharif
Honored Contributor

Re: ISCSI SETUP ON HP-UX

Run this process and then try...
#/opt/iscsi/bin/iswd

# ps -ef|grep iscsi
root 5023 1 0 12:25:44 ? 0:00 /opt/iscsi/bin/iswd
root 5035 5023 0 12:25:45 ? 0:00 /opt/iscsi/bin/iswd
root 5021 1 0 12:25:44 ? 0:00 /opt/iscsi/bin/iscsi_resolvd
root 5791 1 0 12:31:40 ? 0:00 /usr/sbin/stm/uut/bin/tools/moni

Regards,
Asif Sharif
Regards,
Asif Sharif
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

obelix2:/ (root) $ ps -ef|grep iscsi
root 1238 1 0 Oct 11 ? 0:00 /opt/iscsi/bin/iscsi_resolvd
root 2277 1 0 Oct 11 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_iscsi_adapter
root 28328 1 0 10:14:41 ? 0:00 /opt/iscsi/bin/iswd
root 28338 20850 0 10:14:51 pts/tb 0:00 grep iscsi
Live fast, die young - enjoy a good looking corpse!
Carlo Henrico_1
Regular Advisor

Re: ISCSI SETUP ON HP-UX

OK! This looks much better!

obelix2:/ (root) $ /opt/iscsi/bin/iswd
obelix2:/ (root) $ ps -ef|grep iscsi
root 1238 1 0 Oct 11 ? 0:00 /opt/iscsi/bin/iscsi_resolvd
root 2277 1 0 Oct 11 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_iscsi_adapter
root 28328 1 0 10:14:41 ? 0:00 /opt/iscsi/bin/iswd
root 28338 20850 0 10:14:51 pts/tb 0:00 grep iscsi
obelix2:/ (root) $ ioscan -H 255
H/W Path Class Description
==================================================
255/0 iscsi iSCSI Virtual Node
255/0/0.0 ext_bus iSCSI-SCSI Protocol Interface
255/0/0.0.0 target
255/0/0.0.0.1 disk iSCSI DISK
obelix2:/ (root) $ insf -H 255
insf: Installing special files for sdisk instance 4 address 255/0/0.0.0.1
obelix2:/ (root) $ iscsiutil -p -O

Operational Target Information
------------------------------

Target # 1
-----------
Target Name : iqn.2008-10.perago.com:intelstore.target0
Target Alias :
No. of Target Addresses : 1

Target Address # 1
-------------------
IP Address : 192.169.32.182
iSCSI TCP Port : 3260
iSCSI Portal Group Tag : 1

User Configured:
----------------

Authenticaton Method : None
CHAP Method : CHAP_UNI
Initiator CHAP Name :
CHAP Secret : null
Header Digest : None,CRC32C
Data Digest : None,CRC32C (default)
obelix2:/ (root) $
obelix2:/ (root) $ ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 4 255/0/0.0.0.1 sdisk CLAIMED DEVICE iSCSI DISK
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
obelix2:/ (root) $


Thanks a lot for all you help. Points on their way!

Carlo
Live fast, die young - enjoy a good looking corpse!
Asif Sharif
Honored Contributor

Re: ISCSI SETUP ON HP-UX

you are most well.

Thats good, You problem has been solved.

Regards,
Asif Sharif
Regards,
Asif Sharif
Ayman-sukrab
New Member

Re: ISCSI SETUP ON HP-UX

hi all
I do all the following configurations, but when i execute ioscan -fnC disk ...i dont  find my disk
here is my configureation


NSS2:/#iscsiutil -p

Operational Target Information
------------------------------

Target # 1
-----------
        Target Name               : iqn.2013-05.com.mxp:disk1
        Target Alias              :
        No. of Target Addresses   : 1

Target Address # 1
-------------------
        IP Address                : 10.130.3.62
        iSCSI TCP Port            : 3260
        iSCSI Portal Group Tag    : 1

  User Configured:
  ----------------

        Authenticaton Method      :
        CHAP Method               : CHAP_UNI
        Initiator CHAP Name       :
        CHAP Secret               :
        Header Digest             : None,CRC32C (default)
        Data Digest               : None,CRC32C (default)

Discovery Target Information
----------------------------

Target # 1
-----------
        IP Address                : 10.130.3.62
        iSCSI TCP Port            : 3260
        iSCSI Portal Group Tag    : 1

  User Configured:
  ----------------

        Authenticaton Method      :
        CHAP Method               : CHAP_UNI
        Initiator CHAP Name       :
        CHAP Secret               :
        Header Digest             : None,CRC32C (default)
        Data Digest               : None,CRC32C (default)

Session information
-------------------

Session # 1
------------
        Session Instance No.      : 0
        ISID                      : 0x800000000000
        Session State             : Online
        Target Name               : iqn.2013-05.com.mxp:disk1
        Target Alias              :
        No. of Target Addresses   : 1

  Address # 1
  ------------
        IP Address                : 10.130.3.62
        iSCSI TCP Port            : 3260
        iSCSI Portal Group Tag    : 1

  User Configured:
  ----------------

        Authenticaton Method      :
        CHAP Method               : CHAP_UNI
        Initiator CHAP Name       :
        CHAP Secret               :
        Header Digest             : None,CRC32C (default)
        Data Digest               : None,CRC32C (default)