ISCSI targets (Library+drives) not showing in Solaris 10

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ISCSI targets (Library+drives) not showing in Solaris 10

marcos_fire
Hi,

I had successfully shared Libraries and Drives over ISCSI on Linux/Windows hosts . But my luck seems have run out in case of Solaris hosts

I tried sharing single drive, single Library, Multiple drives or Multiple Libraries.... nothing works and i can't seem to find why...

Details below:-
ISCSI target -> Centos
Linux cntosmhvtl2 2.6.18-348.3.1.el5.centos.plus x86_64 x86_64 x86_64 GNU/Linux

ISCSI initiator -> Solaris
SunOS sols303 5.10 Generic_142910-17 i86pc i386 i86pc

MHVTL -> 1.2.1
Console -> 1.4.4-e4be971

Once I'm done with the adding the target devices, it shows up in iscsiadm commands

bash-3.00# iscsiadm list target -S
Target: iqn.1994-05.com.redhat:93c91eedc1d:mhvtl
        Alias: -
        TPGT: 1
        ISID: 4000002a0000
        Connections: 0

Target: iqn.1994-05.com.redhat:93c91eedc1d:mhvtl:stgt:1
        Alias: -
        TPGT: 1
        ISID: 4000002a0000
        Connections: 1
        LUN: 4
             Vendor:  IBM    
             Product: ULTRIUM-TD1    
             OS Device Name: /dev/rmt/6n
        LUN: 3
             Vendor:  IBM    
             Product: ULTRIUM-TD1    
             OS Device Name: /dev/rmt/5n
        LUN: 2
             Vendor:  IBM    
             Product: ULTRIUM-TD1    
             OS Device Name: /dev/rmt/4n
        LUN: 1
             Vendor:  DELL    
             Product: PV-136T        
             OS Device Name: /dev/scsi/changer/c2t4d0

Target: iqn.1994-05.com.redhat:93c91eedc1d:mhvtl:stgt:2
        Alias: -
        TPGT: 1
        ISID: 4000002a0000
        Connections: 1
        LUN: 4
             Vendor:  STK    
             Product: Ultrium 3-SCSI  
             OS Device Name: /dev/rmt/12n
        LUN: 3
             Vendor:  STK    
             Product: Ultrium 3-SCSI  
             OS Device Name: /dev/rmt/3n
        LUN: 2
             Vendor:  STK    
             Product: Ultrium 3-SCSI  
             OS Device Name: /dev/rmt/2n
        LUN: 1
             Vendor:  STK    
             Product: SL150          
             OS Device Name: /dev/scsi/changer/c2t3d0

But are not visible in OS or NetWorker (inquire)

bash-3.00# devfsadm -Cv -i iscsi
bash-3.00# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c1                             scsi-bus     connected    configured   unknown
c1::dsk/c1t0d0                 disk         connected    configured   unknown
c1::scsi/direct/c1t0d0         disk         connected    configured   unknown
pcie160                        unknown      empty        unconfigured unknown
pcie161                        unknown      empty        unconfigured unknown
pcie162                        unknown      empty        unconfigured unknown
pcie163                        unknown      empty        unconfigured unknown
pcie164                        unknown      empty        unconfigured unknown
pcie165                        unknown      empty        unconfigured unknown
pcie166                        unknown      empty        unconfigured unknown
pcie167                        unknown      empty        unconfigured unknown
pcie192                        unknown      empty        unconfigured unknown
pcie193                        unknown      empty        unconfigured unknown
pcie194                        unknown      empty        unconfigured unknown
pcie195                        unknown      empty        unconfigured unknown
pcie196                        unknown      empty        unconfigured unknown
pcie197                        unknown      empty        unconfigured unknown
pcie198                        unknown      empty        unconfigured unknown
pcie199                        unknown      empty        unconfigured unknown
pcie224                        unknown      empty        unconfigured unknown
pcie225                        unknown      empty        unconfigured unknown
pcie226                        unknown      empty        unconfigured unknown
pcie227                        unknown      empty        unconfigured unknown
pcie228                        unknown      empty        unconfigured unknown
pcie229                        unknown      empty        unconfigured unknown
pcie230                        unknown      empty        unconfigured unknown
pcie231                        unknown      empty        unconfigured unknown
pcie256                        unknown      empty        unconfigured unknown
pcie257                        unknown      empty        unconfigured unknown
pcie258                        unknown      empty        unconfigured unknown
pcie259                        unknown      empty        unconfigured unknown
pcie260                        unknown      empty        unconfigured unknown
pcie261                        unknown      empty        unconfigured unknown
pcie262                        unknown      empty        unconfigured unknown
pcie263                        unknown      empty        unconfigured unknown
bash-3.00# inquire -l

-l flag found: searching all LUNs, which may take over 10 minutes per adapter
        for some fibre channel adapters.  Please be patient.

scsidev@0.0.0:VMware, VMware Virtual S1.0 |Disk, /dev/rdsk/c1t0d0s2
                                           S/N: 6000c292b9f0accd1b4d323181f295c1
                                           WWNN=6000C292B9F0ACCD1B4D323181F295C1

I tried checking for the drivers, but that didn't help as well...
bash-3.00# st
bash: st: command not found
bash-3.00# rem_drv st
bash-3.00# devfsadm -C -c tape
bash-3.00# add_drv -m '* 0666 bin bin' st
bash-3.00# update_drv -av -i '"scsiclass,01"' st
exit status = 0
bash-3.00# update_drv -av -i '"scsiclass,08"' st
("scsiclass,08") already in use as a driver or alias.
bash-3.00# sgen
bash: sgen: command not found
bash-3.00# rem_drv sgen
bash-3.00# add_drv -m '* 0666 bin bin' sgen
bash-3.00# update_drv -av -i '"scsiclass,01"' sgen
("scsiclass,01") already in use as a driver or alias.
bash-3.00# update_drv -av -i '"scsiclass,08"' sgen
exit status = 0

- Marcos

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Small steps make way to that Giant Leap...So step up !!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=