Unix Technical Forum

Unable to see SAN

This is a discussion on Unable to see SAN within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Ok, we got the problem resolved with the SUN 2GB fiber channel cards... Now we cannot see the storage ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2008, 11:44 AM
Dave
 
Posts: n/a
Default Unable to see SAN

Ok, we got the problem resolved with the SUN 2GB fiber channel cards...
Now we cannot see the storage that has been allocated in the SAN... We
have the proper WWN's set up in the switch and the drives configured,
and we can see the fiber adapters connection to the Fabric... however
the sun box cannot see the storage...
Is the Hitachi tagmastore not compatible with the SUN 2GB FC_AL cards?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-09-2008, 11:44 AM
Robert Milkowski
 
Posts: n/a
Default Re: Unable to see SAN

Dave <dacooley@gmail.com> wrote:
> Ok, we got the problem resolved with the SUN 2GB fiber channel cards...
> Now we cannot see the storage that has been allocated in the SAN... We
> have the proper WWN's set up in the switch and the drives configured,
> and we can see the fiber adapters connection to the Fabric... however
> the sun box cannot see the storage...
> Is the Hitachi tagmastore not compatible with the SUN 2GB FC_AL cards?


Did you check LUN masking on the array?

Check the output of: cfgadm -al -o show_SCSI_LUN

--
Robert Milkowski
rmilkowskiDSFDS@wp-sa.pl
http://milek.blogspot.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-09-2008, 11:44 AM
Dave
 
Posts: n/a
Default Re: Unable to see SAN

found the problem...
Our storage guy had assigned 2 luns to us and gave them both the same
SID...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-09-2008, 11:44 AM
Dave
 
Posts: n/a
Default Re: Unable to see SAN

That didn't fix it either...
here is the output of cfgadm -al:
[root@lvlunx05:/]>cfgadm -al
Ap_Id Type Receptacle Occupant
Condition
c0 scsi-bus connected configured
unknown
c0::dsk/c0t0d0 CD-ROM connected configured
unknown
c1 fc-private connected configured
unknown
c1::21000014c33bed51 disk connected configured
unknown
c1::21000014c3410436 disk connected configured
unknown
c2 fc-fabric connected unconfigured
unknown
c3 fc-fabric connected unconfigured
unknown
c3::50060e8014392510 unknown connected unconfigured
failed
c4 fc connected unconfigured
unknown
c5 fc connected unconfigured
unknown
c6 fc connected unconfigured
unknown
c7 fc connected unconfigured
unknown
usb0/1 unknown empty unconfigured
ok
usb0/2 unknown empty unconfigured
ok
usb0/3 unknown empty unconfigured
ok
usb0/4 unknown empty unconfigured
ok
as you can see the lun should be on c3... he has blown away his config
and re-created it from scratch 3 times now and this is as far as we
get... The Qlogic CLI config tool see's no luns on any of the
controllers...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-09-2008, 11:44 AM
ktgf
 
Posts: n/a
Default Re: Unable to see SAN

did u add the patcvh for the sun gui config tool ( forgot the name )
We ahd similar problem .

On another box we simply had to do a reboot -- -r and the box saw the luns
without using the gui config tool

Geroge


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-09-2008, 11:45 AM
vxdiskadm@gmail.com
 
Posts: n/a
Default Re: Unable to see SAN

Do you have the SUNWsan package installed ?
well follow the steps to configure the luns if you have the SUNWsan
package installed.

Provision disks

check paths:
#luxadm -e port
Found path to 2 HBA ports

/devices/ssm@0,0/pci@19,700000/SUNW,qlc@2/fp@0,0:devctl
CONNECTED
/devices/ssm@0,0/pci@19,600000/SUNW,qlc@1/fp@0,0:devctl
CONNECTED

force login:
#luxadm -e forcelip
/devices/ssm@0,0/pci@19,700000/SUNW,qlc@2/fp@0,0:devctl
#luxadm -e forcelip
/devices/ssm@0,0/pci@19,600000/SUNW,qlc@1/fp@0,0:devctl

See disks:
#cfgadm -o show_FCP_dev -al
Ap_Id Type Receptacle Occupant
Condition
c4 fc-fabric connected unconfigured
unknown
c4::50060e8004758620,0 disk connected unconfigured
unknown
c4::50060e8004758620,1 disk connected unconfigured
unknown
c4::50060e8004758620,2 disk connected unconfigured
unknown
c4::50060e8004758620,3 disk connected unconfigured
unknown
c4::50060e8004758620,4 disk connected unconfigured
unknown
c4::50060e8004758620,5 disk connected unconfigured
unknown
c4::50060e8004758620,6 disk connected unconfigured
unknown
c4::50060e8004758620,7 disk connected unconfigured
unknown
c4::50060e8004758620,8 disk connected unconfigured
unknown
c8 fc-fabric connected unconfigured
unknown
c8::50060e8004758630,0 disk connected unconfigured
unknown
c8::50060e8004758630,1 disk connected unconfigured
unknown
c8::50060e8004758630,2 disk connected unconfigured
unknown
c8::50060e8004758630,3 disk connected unconfigured
unknown
c8::50060e8004758630,4 disk connected unconfigured
unknown
c8::50060e8004758630,5 disk connected unconfigured
unknown
c8::50060e8004758630,6 disk connected unconfigured
unknown
c8::50060e8004758630,7 disk connected unconfigured
unknown
c8::50060e8004758630,8 disk connected unconfigured
unknown

configure:
#/ #cfgadm -c configure c4
#/ #cfgadm -c configure c8
#/ #cfgadm -o show_FCP_dev -al
Ap_Id Type Receptacle Occupant
Condition
c4 fc-fabric connected configured
unknown
c4::50060e8004758620,0 disk connected configured
unknown
c4::50060e8004758620,1 disk connected configured
unknown
c4::50060e8004758620,2 disk connected configured
unknown
c4::50060e8004758620,8 disk connected configured
unknown
c8 fc-fabric connected configured
unknown
c8::50060e8004758630,0 disk connected configured
unknown
c8::50060e8004758630,1 disk connected configured
unknown
c8::50060e8004758630,7 disk connected configured
unknown
c8::50060e8004758630,8 disk connected configured
unknown

GET the hitachi DLManager install it,
pkginfo -l DLManager

#/opt/DynamicLinkManager/bin #./dlmsetconf
KAPL10242-I To configure HDLM, device files of sd/ssd devices managed
by HDLM are removed after reboot.
Do you want to continue? [y/n]:y
KAPL10204-I dlmsetconf terminated normally.


remove root disk from dlm if it is in this file
#/opt/DynamicLinkManager/config #vi dlmfdrv.unconf
There where no disks to remove

reconfigure reboot
touch /reconfigure

reboot messages say for each disk:
Apr 12 13:01:30 dbsd0002 scsi: WARNING:
/ssm@0,0/pci@19,700000/SUNW,qlc@2/fp@0,0/ssd@w50060e8004758630,4
(ssd13):
Apr 12 13:01:30 dbsd0002 corrupt label - wrong magic number

IMPORTANT!!!!!
format and label all disks
format
select disk
format> Ready to label disk, continue?
y
....

/opt/DynamicLinkManager/bin #./dlnkmgr view -path
Paths:000018 OnlinePaths:000009
PathStatus IO-Count IO-Errors
Reduced 418 0

PathID PathName DskName
iLU ChaPort Status Type IO-Count IO-Errors
DNum HDevName
000000 0000.0000.00000000006F010F.0000 HITACHI .OPEN-V
-SUN.0030086 0100 3A Online(E) Own
36 0 - c9t50060E8004758620d0
000001 0000.0000.00000000006F010F.0004 HITACHI .OPEN-V
-SUN.0030086 0700 3A Online(E) Own
36 0 - c9t50060E8004758620d4
....
000009 0001.0000.00000000006E010F.0000 HITACHI .OPEN-V
-SUN.0030086 0100 4A Offline(E) Own
11 0 - c9t50060E8004758620d0
000010 0001.0000.00000000006E010F.0004 HITACHI .OPEN-V
-SUN.0030086 0700 4A Offline(E) Own
10 0 - c9t50060E8004758620d4


dbsd0002:/opt/DynamicLinkManager/bin #./dlnkmgr view -sys
HDLM Version : 05-41
Load Balance : on(rr)
Support Cluster :
Elog Level : 3
Elog File Size (KB) : 9900
Trace Level : 0
Path Health Checking : on(30)
Auto Failback : off
Intermittent Error Monitor : off
HDLM Manager Ver WakeupTime
Alive 05-41 2005/04/12 12:54:20
HDLM Alert Driver Ver WakeupTime ElogMem Size
Alive 05-41 2005/04/12 12:53:55 4096
HDLM Driver Ver WakeupTime
Alive 05-41 2005/04/12 12:53:55
License Type Expiration
Permanent -
KAPL01001-I The HDLM command completed normally. Operation name = view

add /opt/DynamicLinkManager/bin to PATH in /.profile

setup specific paramters
dlnkmgr set -afb on -intvl 10
dlnkmgr set -iem on -intvl 30 -iemnum 3

HDLM ALL SET!
Now get vxvm into the mix:


vxdisk list
DEVICE TYPE DISK GROUP STATUS
USP0_0 sliced - - error
USP0_1 sliced - - error
USP0_2 sliced - - error
USP0_3 sliced - - error
USP0_4 sliced - - error
USP0_5 sliced - - error
USP0_6 sliced - - error
USP0_7 sliced - - error
USP0_8 sliced - - error
c0t0d0s2 sliced rootdisk rootdg online
c6t0d0s2 sliced rootmirror rootdg online

#vxdctl enable


#vxdiskadm
select all san disks to be initialized
....

#vxdisk list
DEVICE TYPE DISK GROUP STATUS
USP0_0 sliced orasand01 orasandg online
USP0_1 sliced orasand02 orasandg online
USP0_2 sliced orasand03 orasandg online
USP0_3 sliced orasand04 orasandg online
USP0_4 sliced orasand05 orasandg online
USP0_5 sliced orasand06 orasandg online
USP0_6 sliced orasand07 orasandg online
USP0_7 sliced orasand08 orasandg online
USP0_8 sliced orasand09 orasandg online
c0t0d0s2 sliced rootdisk rootdg online
c6t0d0s2 sliced rootmirror rootdg online

Use vxvm to create filesystems:

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com