Operating System - HP-UX
1752786 Members
6012 Online
108789 Solutions
New Discussion юеВ

Re: changing Persistent DSF disk name.

 
SOLVED
Go to solution
Davis Paul
Valued Contributor

changing Persistent DSF disk name.

I was trying to change the disk device file /dev/disk/disk6 to /dev/disk/disk20,but nothing works except....
#mv dev/disk/disk6 dev/disk/disk20
#mv dev/rdisk/disk6 dev/rdisk/disk20

Its working for me now.Any comments ?


Best Regards,
Davis Paul.
6 REPLIES 6
Davis Paul
Valued Contributor

Re: changing Persistent DSF disk name.

Can anybody tell about this?
kevin_m
Valued Contributor
Solution

Re: changing Persistent DSF disk name.

I would not rename the original files but rather create new ones.

mksf -C disk -H -v /dev/disk/
mksf -C disk -H -v -r /dev/rdisk/

Here's a couple threads that offer more explanation:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1078395
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1137971
Davis Paul
Valued Contributor

Re: changing Persistent DSF disk name.

Kevin,
I have created the device file using the commands
# mksf -r -d esdisk -I 6 /dev/rdisk/disk20
# mksf -d esdisk -I 6 /dev/disk/disk20

then,
# io_redirect_dsf -d /dev/disk/disk6 -n /dev/disk/disk20
ioinit: Specified hw_path is not in the kernel
Input line 1: 64000/0xfa00/0x2 disk 6

ioinit has failed

what to do?

Davis
kevin_m
Valued Contributor

Re: changing Persistent DSF disk name.

I'm not familiar with io_redirect_dsf unfortunately. I use mksf to clone device files for Oracle ASM but always leave the system assigned DSF as is. This thread may be useful however:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1331750
Davis Paul
Valued Contributor

Re: changing Persistent DSF disk name.

Kevin,
Thanks for your reply. Unfortunately, I cannot go for ioinit procedure because it renumber my root vg disk also which cause some conflict with other disk.
Davis Paul
Valued Contributor

Re: changing Persistent DSF disk name.

Finally we have managed to change the disk name. Here is the steps..

#cat infile
64000/0xfa00/0x2 disk 20

#ioinit -f infile -A -r
#

Best Regards,
Davis Paul.