1834288 Members
2275 Online
110066 Solutions
New Discussion

Card Instance Chage

 
SOLVED
Go to solution
Vikas_2
Advisor

Card Instance Chage

Is is possible to change the card instance number on HP-UX 11. Currently it is recognised as c11 and I would like to make it c13.

TIA
Vikas
2 REPLIES 2
Mel Burslan
Honored Contributor
Solution

Re: Card Instance Chage

the same issue has been discussed in step by step detail here :

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=501457

hope it will be helpful to you too.
________________________________
UNIX because I majored in cryptology...
Sundar_7
Honored Contributor

Re: Card Instance Chage

1) # pvdisplay /dev/dsk/c11t?d?

- Find out the VG

2) # unmount all the logical volumes of the VG

# vgchange -a n /dev/vgname
# vgexport -v -s -m /root/vgname.map /dev/vgname

# ioscan -fnkC ext_bus | awk '$2 == 5 {printf("%s\t%s\t%s\n",$3,$1,$2)}' > /tmp/infile

# vi /tmp/infile
Change from
ext_bus 11
to
ext_bus 13
#

3) # mv /stand/ioconfig /stand/ioconfig.OLD
# mv /etc/ioconfig /etc/ioconfig.OLD

4) Reboot the server

# /usr/sbin/shutdown -r -y 0

5) You will get the ioinit prompt - system wont proceed since there is no ioconfig file under /stand and /etc

(ioinitrc) ioinit -c

(ioinitrc) ioinit -f /tmp/infile -r

This will reboot the server. When the system comes back, you will have the new device files created

6) Confirm the result with ioscan

# ioscan -fnC ext_bus

7) Reimport the volume group with the new disk file

# mkdir /dev/vgname
# mknod /dev/vgname c 64 0x230000
# vgimport -v -s /root/vgname.map /dev/vgname

- Sundar.
Learn What to do ,How to do and more importantly When to do ?