Raars's Blog

April 15, 2013

Solaris cannot see SCSI disk RAID

Filed under: UNIX & Linux — raars @ 1:05 am

We had a SUN server with Solaris 9 on it. We attached Momentum  disk raid , but OS did not see that RAID. Even after upgrading OS to Solaris 10 still no luck.

SCSI adapter was  Qlogic .

Here is a solution we did :

 

1) create /kernel/drv/qus.conf and add these lines:

bash-3.2# cat /kernel/drv/qus.conf

name=”qus” parent=”/pci@8,600000/pci@1″

unit-address=”4″

scsi-options=0x178 target0-sync-speed=0x27100 scsi-initiator-id=6;

 

2) modify /kernel/drv/sd.conf and add these lines ( though i think it is not necessary or we need add just one line )

name=”sd” parent=”qus”

target=4 lun=0;

name=”sd” parent=”qus”

target=5 lun=0;

name=”sd” parent=”qus”

target=0 lun=0;

3) go to OBP (OK prompt )

setenv auto-boot? false

reset-all

probe-scsi-all

check path to DISK RAID ( in this case it was /pci@8,600000/pci@1/scsi@4 )

cd /pci@8,600000/pci@1/scsi@4

.properties

check scsi initiator id ( usually by default it is 7 )

you will see scsi-initiator-id 00000007

we need change to 6 ( may be because of conflicts ??? )

you type :

6 ” scsi initiator id” integer-property

do reset-all

cd /pci@8,600000/pci@1/scsi@4

.properties

and make sure this time scsi-initiatorid is 6

4) boot -rv

and disk was there !!! YEEEESSSSSSSS!!!

 

P.S. Ofcourse physical path  to disk RAID will be different in your case

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Create a free website or blog at WordPress.com.