Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help on solaris pb with new hba can;t see luns

Status
Not open for further replies.

alexia32

Technical User
Jul 31, 2007
156
NZ
Hi guys,

I need some help on solaris it is completely new for me I am more AIX or hp but never worked on solaris and now I have to!

The thing is we have a solaris system that has been connected to the san ETERNUS4000.

It is a sparc sun v880 solaris 5 9
2 HBAs Qlogic 2460 card (SG-XPCI1FC-QF4)

I have install the driver QLA2300
rebooted the server
I have install the drivers (hhdv) for the SAN ETERNUS
rebooted the server
run cfgadm but I still don;t see the LUNs

I run cfgadm -al : I can see the pci fibers
I run also luxadm probe : I see fibers connected ok but back of the server all leds are light (yellow, green and red) so normally I think it should be only one Led light as green if it is working ?

I run format command but I see only the internal disks not the new LUNs.

Do I need to configure some file config ?
I am very new on solaris so any help are welcome...

Which command permit me to see the hba, fibers etc... I am not sure that the command I did are enough (Cfgamd and luxadm) :
- that my HBA are correctly connected and working ?
- that fibers are connected ?
- Do I need to install another driver ?

Thanks in advance.
Cheers
Al.
 
I'm not sure if this is needed in newer versions of Solaris, but have you modified the /kernel/drv/sd.conf so that you can see more (or any) luns?

I've added entries to some of my servers so that Solaris knows to look for luns.

Old entry:
name="sd" parent="lpfc" target=0 lun=0;

name="sd" parent="lpfc" target=1 lun=0;

New entry:
name="sd" parent="lpfc" target=0 lun=0;
name="sd" parent="lpfc" target=0 lun=1;
name="sd" parent="lpfc" target=0 lun=2;
name="sd" parent="lpfc" target=0 lun=3;
name="sd" parent="lpfc" target=0 lun=4;
name="sd" parent="lpfc" target=0 lun=5;
name="sd" parent="lpfc" target=1 lun=0;
name="sd" parent="lpfc" target=1 lun=1;
name="sd" parent="lpfc" target=1 lun=2;
name="sd" parent="lpfc" target=1 lun=3;
name="sd" parent="lpfc" target=1 lun=4;
name="sd" parent="lpfc" target=1 lun=5;

This allows the server to look for more than one lun at a given scsi address.

I thought that the newer fibre adapter tools/drivers did this for you, but you may want to give it a try.
 
Hi

Thanks for the reply.
I didn't check or modify the file conf.
I am not sure that I see my fiber with the command luxadm probe as I don;t see the wwn corresponding.
do you think i need to install another tool?
I have just install the driver qlogic qla2300 not the san fundation kit...

Thanks in advance
cheers
 
I've only played with a qlogic adapter once during a disaster recovery simulation. If I remember correctly, manual changes to the /kernel/drv/sd.conf weren't necessary. I can't remember, the tool I used, but it did all the changes for me.

That said, I don't think that adding those entries to your sd.conf will harm anything. It just tells Solaris to look for other luns. If they don't exists, it won't hurt anything. The only irritating issue is that it takes the system a little longer to boot up.

If you know the actual lun numbers your SAN is assigning, you can also just add those specific ones to the file.

One other thing, you may need to edit your /kernel/drv/lpfc.conf file. Again, I thought the tool did this for you, but it has been a while... All this assumes that the cables, zoning, et all is setup correctly though.
 
1) The command cfgadm -al
2) look for the fc-fabric

c2 fc-fabric connected
c3 fc-fabric connected

3) and then cfgadm -cconfigure c2 c3

4) Now you see the LUN

Kind Regards
Mario

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top