Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

amcfg and insf on fc60 disk array

SOLVED
Go to solution
Diego Balgera
Frequent Advisor

amcfg and insf on fc60 disk array

Hi,

I just created a new LUN on my fc60 disk array installed on my hp-ux 11 server.
I used amcfg -L B:8 -d 1:12,2:12,3:12,4:12 -r 5 fc60
(fc60 is a defined alias for the array).

The Lun creation succeeded as follows:

Vendor ID = HP
Product ID = A5277A
Array ID = 000C00A0B8095000
Array Alias = fc60
-----------------------------------------
LUN Status Capacity Ctrl RAID Segment Disks
--- ----------------- --------- ---- ---- ------- -----
8 OPTIMAL 101.6 GB B 5 16 1:12
2:12
3:12
4:12

LUN WCE RCD CME CWOB WCA RCA CMA
--- --- --- --- ---- --- --- ---
8 X X X X X


Now I would like to create the special files for it on the file system using "insf -e", but I'm not able to create the special files, no new files could be found in /dev/dsk and /dev/rdsk.

Where is my mistake? Is this the right time to execute insf or did I miss something?

Best regards and thank you in advance.
Diego.
4 REPLIES
Eugeny Brychkov
Honored Contributor
Solution

Re: amcfg and insf on fc60 disk array

Diego,
yes, you missed ioscan.
When you create LUN it becomes available for system(s). But you have to tell system to find it - to scan for hardware. When system will find this LUN, it will be able to create device files for it.
So the procedure is:
1. create LUN within disk array;
2. issue 'ioscan' and check if newly created LUNs appeared in its output;
3. issue 'insf -e' and then run 'ioscan -fn' again to see if there're newly created device filed assigned to newly created LUNs
Eugeny
Diego Balgera
Frequent Advisor

Re: amcfg and insf on fc60 disk array

Hi,
thank you very much for your answer.

You are right and following your suggestion I created the special files.

The problem now looks different: how can I identify (issuing ioscan) the
path to the newly created Lun?
Issuing ioscan -fnC disk all the disk items are listed and look like this:

.....
disk 5 0/10/0/0.8.0.5.0.0.2 sdisk CLAIMED DEVICE HP
A5277A
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
.....

Unfortunately I lost the trace of what appeared in the ioscan list and I'm new to disk array management, how can I identify now which item refer to my newly created Lun?

Thank you again!
Diego!
Eugeny Brychkov
Honored Contributor

Re: amcfg and insf on fc60 disk array

It's simple if you know how...
Go to FC60 controller and look at the back. You will see two dip switch banks to the right if looking from the back. Upper is for controller A, lower is for controller B. Convert their settings to decimal (default A: off,.., off, on, off, off = 4; B: off, ..., off, on, off, on = 5). These numbers are loop-ids for controllers. Then go to ioscan and look to the loop-id valie in its output: example
disk 5 0/10/0/0.8.0.5.0.0.2
0/10/0/0 = hardware path (slot) where FC adapter is installed;
8.0.5 = 8.0 (private loop), 5=loop-id. Thus this hardware path is pointing to controller B LUN 2 (0.0.2)
Eugeny
Diego Balgera
Frequent Advisor

Re: amcfg and insf on fc60 disk array

Thank you very much Eugeny,
it helped!
Bye!
Diego.