Data Storage - Attaching SAN disk to Solaris 8

This is Interesting: Free IT Magazines  
Home > Archive > Data Storage > June 2006 > Attaching SAN disk to Solaris 8





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Attaching SAN disk to Solaris 8
michael.sternberg@gmail.com

2006-06-05, 7:15 am

Hello everybody.

I'm trying to attach a SAN storage to Solaris 8 V210 server using
Qlogic 2200 FC card. Already installed SUNWsan, SUNWqlc and SUNWqlcx
together with all patches it required. I can see adapter, port, disk
and LUNs via SANsurfer. But when I run "format" only local disks
appear.

Here's output of "cfgadm -al":
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
c1::dsk/c1t1d0 disk connected configured unknown
c2 scsi-bus connected unconfigured unknown

I suspect that I have problem with c2 entry. "cfgadm -c configure c2"
does not prints anything and does not changes above output. I already
had run "reboot -- -r" and "devfsadm" - did not changed anything..

Please help.

mishka

2006-06-05, 7:15 am

Additional info, output of "luxadm -e port":
Found path to 2 HBA ports
Error: Invalid pathname -
/devices/pci@1d,700000/QLGC,qla@1/fp@0,0:devctl.
Error: Invalid pathname - /devices/pci@1d,700000/QLGC,qla@1/fp@0,0:fc.

Rodrick R. Brown

2006-06-06, 1:16 am

If the lun was added before a reboot or -r you might need to do a luxadm -e
forcelip /wwn/path

"mishka" <michael.sternberg@gmail.com> wrote in message
news:1149501107.672245.135590@g10g2000cwb.googlegroups.com...
> Additional info, output of "luxadm -e port":
> Found path to 2 HBA ports
> Error: Invalid pathname -
> /devices/pci@1d,700000/QLGC,qla@1/fp@0,0:devctl.
> Error: Invalid pathname - /devices/pci@1d,700000/QLGC,qla@1/fp@0,0:fc.
>



hemanand.gadgil@gmail.com

2006-06-06, 7:14 am

Hi,
try using command devfsadm -C if not the check the entry in sd.conf
file in /etc folder .
It must contain the physical name and the target to which the LUN is
assigned to .
If you are using any failover software like powerpath,pvlinks or
Vertias DMP then check out for intiator type , every failover software
has different settings of intiator type depending upon the storage
hardware.
I think most probably the manual entry in sd.conf file should resolve
the issue.

Hemanand Gadgil
EMC Proven - CLARiiON Solutions and Implemntation Specailist

michael.sternberg@gmail.com wrote:
> Hello everybody.
>
> I'm trying to attach a SAN storage to Solaris 8 V210 server using
> Qlogic 2200 FC card. Already installed SUNWsan, SUNWqlc and SUNWqlcx
> together with all patches it required. I can see adapter, port, disk
> and LUNs via SANsurfer. But when I run "format" only local disks
> appear.
>
> Here's output of "cfgadm -al":
> Ap_Id Type Receptacle Occupant Condition
> c0 scsi-bus connected configured unknown
> c0::dsk/c0t0d0 CD-ROM connected configured unknown
> c1 scsi-bus connected configured unknown
> c1::dsk/c1t0d0 disk connected configured unknown
> c1::dsk/c1t1d0 disk connected configured unknown
> c2 scsi-bus connected unconfigured unknown
>
> I suspect that I have problem with c2 entry. "cfgadm -c configure c2"
> does not prints anything and does not changes above output. I already
> had run "reboot -- -r" and "devfsadm" - did not changed anything..
>
> Please help.


hemanand.gadgil@gmail.com

2006-06-06, 7:14 am

Hi,
try using command devfsadm -C if not the check the entry in sd.conf
file in /etc folder .
It must contain the physical name and the target to which the LUN is
assigned to .
If you are using any failover software like powerpath,pvlinks or
Vertias DMP then check out for intiator type , every failover software
has different settings of intiator type depending upon the storage
hardware.
I think most probably the manual entry in sd.conf file should resolve
the issue.

Hemanand Gadgil
EMC Proven - CLARiiON Solutions and Implemntation Specailist

michael.sternberg@gmail.com wrote:
> Hello everybody.
>
> I'm trying to attach a SAN storage to Solaris 8 V210 server using
> Qlogic 2200 FC card. Already installed SUNWsan, SUNWqlc and SUNWqlcx
> together with all patches it required. I can see adapter, port, disk
> and LUNs via SANsurfer. But when I run "format" only local disks
> appear.
>
> Here's output of "cfgadm -al":
> Ap_Id Type Receptacle Occupant Condition
> c0 scsi-bus connected configured unknown
> c0::dsk/c0t0d0 CD-ROM connected configured unknown
> c1 scsi-bus connected configured unknown
> c1::dsk/c1t0d0 disk connected configured unknown
> c1::dsk/c1t1d0 disk connected configured unknown
> c2 scsi-bus connected unconfigured unknown
>
> I suspect that I have problem with c2 entry. "cfgadm -c configure c2"
> does not prints anything and does not changes above output. I already
> had run "reboot -- -r" and "devfsadm" - did not changed anything..
>
> Please help.


mishka

2006-06-06, 7:14 am


"luxadm -e forcelip /wwn/path" returns "could not get physical path to
the device". Maybe I've entered the wrong path ? Where I'm taking path
from ? Tried both from output of "luxadm -e port" and from output of
"cfgadm -alv"

Rodrick R. Brown =D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0):

> If the lun was added before a reboot or -r you might need to do a luxadm =

-e[vbcol=seagreen]
> forcelip /wwn/path
>
> "mishka" <michael.sternberg@gmail.com> wrote in message
> news:1149501107.672245.135590@g10g2000cwb.googlegroups.com...

mishka

2006-06-06, 7:14 am

performed "devfsadmin -C". performed "reboot -- -r". The disks did not
appeared in "format".

sd.conf located not in /etc but in /kernel/drv.
Each line there is of type:
name=3D"sd" class=3D"scsi" target=3D3 lun=3D0;

What parameters should I add ? My LUN is 0 (as seen from SANsurfer).
What target should I use ? I've added following line:
name=3D"sd" class=3D"scsi" target=3D2 lun=3D0 wwn=3D"210000E08B041286";
where wwn I've taken from "port name" of HBA from SANsurfer. Performed
"reboot -- -r". Did not appeared in "format" or in "cfgadm -al" output.

hemanand.gadgil@gmail.com =D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0):
[vbcol=seagreen]
> Hi,
> try using command devfsadm -C if not the check the entry in sd.conf
> file in /etc folder .
> It must contain the physical name and the target to which the LUN is
> assigned to .
> If you are using any failover software like powerpath,pvlinks or
> Vertias DMP then check out for intiator type , every failover software
> has different settings of intiator type depending upon the storage
> hardware.
> I think most probably the manual entry in sd.conf file should resolve
> the issue.
>
> Hemanand Gadgil
> EMC Proven - CLARiiON Solutions and Implemntation Specailist
>
> michael.sternberg@gmail.com wrote:

mishka

2006-06-06, 7:14 am

Additional information - related lines from /var/log/messages:

Qlogic qlc FCA Driver v20060103-2.10 (1)
NOTICE: Qlogic qlc(1): Link ONLINE
NOTICE: ql_power(1): qlc is powered ON
NOTICE: qlc(1): Firmware version 2.1.144
PCI-device: QLGC,qla@1, qlc1
qlc1 is /pci@1d,700000/QLGC,qla@1

Jon Metzger

2006-06-06, 1:14 pm

hemanand.gadgil@gmail.com wrote:
> Hi,
> try using command devfsadm -C if not the check the entry in sd.conf
> file in /etc folder .
> It must contain the physical name and the target to which the LUN is
> assigned to .
> If you are using any failover software like powerpath,pvlinks or
> Vertias DMP then check out for intiator type , every failover software
> has different settings of intiator type depending upon the storage
> hardware.
> I think most probably the manual entry in sd.conf file should resolve
> the issue.
>


Are you sure? It looks to me like he's using Sun's SAN Foundation Kit
(SUNWsan), in which case explicit sd.conf entries are no longer necessary.
Ramesh Pun

2006-06-07, 1:14 am

What kind of SAN storage is it?
In case of EMC symmetrix, you need to add VCMDB entries. There are similar
masking entries for other storage boxes as well.
LUN 0 in case of symmetrix is usually the VCMDB itself, if you can see that,
it indicates that your zoning is correct, but you still need to mask the
devices.

<michael.sternberg@gmail.com> wrote in message
news:1149500573.950257.184660@h76g2000cwa.googlegroups.com...
> Hello everybody.
>
> I'm trying to attach a SAN storage to Solaris 8 V210 server using
> Qlogic 2200 FC card. Already installed SUNWsan, SUNWqlc and SUNWqlcx
> together with all patches it required. I can see adapter, port, disk
> and LUNs via SANsurfer. But when I run "format" only local disks
> appear.
>
> Here's output of "cfgadm -al":
> Ap_Id Type Receptacle Occupant Condition
> c0 scsi-bus connected configured unknown
> c0::dsk/c0t0d0 CD-ROM connected configured unknown
> c1 scsi-bus connected configured unknown
> c1::dsk/c1t0d0 disk connected configured unknown
> c1::dsk/c1t1d0 disk connected configured unknown
> c2 scsi-bus connected unconfigured unknown
>
> I suspect that I have problem with c2 entry. "cfgadm -c configure c2"
> does not prints anything and does not changes above output. I already
> had run "reboot -- -r" and "devfsadm" - did not changed anything..
>
> Please help.
>



hemanand.gadgil@gmail.com

2006-06-07, 1:14 am

Which storage system is been used in this case

Hemanand Gadgil
EMC Proven- CLARiiON Solutions and Implemtation Specailist
Ramesh Pun wrote:[vbcol=seagreen]
> What kind of SAN storage is it?
> In case of EMC symmetrix, you need to add VCMDB entries. There are similar
> masking entries for other storage boxes as well.
> LUN 0 in case of symmetrix is usually the VCMDB itself, if you can see that,
> it indicates that your zoning is correct, but you still need to mask the
> devices.
>
> <michael.sternberg@gmail.com> wrote in message
> news:1149500573.950257.184660@h76g2000cwa.googlegroups.com...

mishka

2006-06-07, 7:14 am

Thanks everybody. Using qla driver instead of qlc driver solved the
problem. What's interesting - at QLogic site they propose qlc (SUNs)
driver for that model..

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com