Unsolved

This post is more than 5 years old

5 Posts

1254

February 17th, 2008 22:00

Solaris can't see new LUNS

Hi Guys,

I added LUN on Solaris 9 host but is not visible from powerpath. I tried following

commands even I rebooted the box but it didn't help

powercf q
devfsadm -C
powermt config

I was reading somewhere we need to edit sd.conf file to access new LUNS.

I dont know how to add them in sd.conf.

I added LUN 1500 to this storage group. How Would I know about target and Lun

name="sd" parent="lpfc" target=???? lun=????;

Really appreciate for help.

How

4 Apprentice

 • 

423 Posts

February 18th, 2008 02:00

sohnao, can you see the devices in format??

If not you will need to edit the sd.conf adn do reconfigure reboot or update_drv -f sd

the target can be whatever you wish, we usually reccommend that you use a number higher than 16 the lun is the lun number assigned in the storage group.

e.g.
name="sd" parent="lpfc" target=17 lun=1;

5 Posts

February 18th, 2008 04:00

Thanks Paul,

I edited sd.conf and ran update_drv -f sd command and all LUNS are visible now.

I was confused how would I know the target#? and LUN#? I just put some random numbers

and it worked.

Heaps of thanks,

Farhan

2 Intern

 • 

1.3K Posts

March 2nd, 2008 18:00

there is alternate way too

we have following entries in /etc/modprobe.conf

ql2xfailover=0 is to facilitate HBA failover using the qlogic driver. ConfigRequired=0 says all the LUNS discovered in this system will be presented to the OS.
If this value is set to 1, only those LUNS specified in /etc/qla2xxx.conf will be visibile to the OS

341 Posts

March 2nd, 2008 23:00

Santosh - modprobe.conf is a configuration file for a Linux host, I do not believe that the same file is present on a Solaris host...
No Events found!

Top