cancel
Showing results for 
Search instead for 
Did you mean: 

Change disk device names

Dusan Stefanovic
Frequent Advisor

Change disk device names

hello

I have installed to servers with HP-UX 11.31.
We plan to install oracle RAC (ASM without SG).
I make all partitions on SAN but now I have problem.
For example, on first server OCR disk is /dev/disk/disk10 (/dev/rdisk/disk10) and on second server is /dev/dsik/disk13 (dev/rdisk/disk13). I need same device names.
I try to use io_redirect_dsf command but I receive this message:
-n expects a persistent device special file name.
I suppose that i need first to create it, but how ? (insf or mskf). I really need precisely command. Maybe I can make some links ...

Thank's
4 REPLIES
Prashanth Waugh
Esteemed Contributor

Re: Change disk device names

Hi,

Pls check this thread
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1130138


Regards
Prashant
For success, attitude is equally as important as ability
Dusan Stefanovic
Frequent Advisor

Re: Change disk device names

I don't have those situation.
I only have raw diveces (ASM).
Is it ok to just rename /dev/disk and /dev/rdisk files ? I try on test server and don't see any problem.
Any advice ..
smatador
Honored Contributor

Re: Change disk device names

Hi
You could try first
io_redirect_dsf -d /dev/disk/disk10 -n /dev/disk/disk13
If it's not possible, you could also do it by the ionit procedure, modify the ioninit file
ioinit -f and reboot
A good doc HP-UX Handbook io addressing with the ioinit procedure and the io_redirect_dsf
http://www11.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01037901-4&docLocale=en&admit=109447626+1239644349077+28353475
Hope it helps
sujit kumar singh
Honored Contributor

Re: Change disk device names

hi can have a look at this thread.

That is you can do entire Disk Dev instance renumbering.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1308548


OR manually create the dev files using mknod like /dev/disk/disk10 and /dev/rdisk/disk10, refer to the major and minor numbers from the likely disks that is
ll /dev/disk/disk* and
ll /dev/rdisk/disk*

after that use

io_redirect_dsf -d -n
in case you have existinf PDSF as /dev/disk/disk13 on the sys and want to use the /dev/disk/disk10 then
#io_redirect_dsf -d /dev/disk/disk13 -n /dev/disk/disk10

regards
sujit