1833780 Members
2427 Online
110063 Solutions
New Discussion

Change HDD device PATH.

 
SOLVED
Go to solution
Kenneth Yap
Frequent Advisor

Change HDD device PATH.

Dear Experts,
Currently I have 2 server rp8400 server connnect to EMC storage. The HDD path is
c5t?d? and I would like to change the device path to c4t?d?.
How to change it ? Pls provide me the steps.

Thks
2 REPLIES 2
Sundar_7
Honored Contributor
Solution

Re: Change HDD device PATH.

Hi,

You will have to change the card instance number.Before changing the instance number make sure the volume group the disk is part of is exported and imported back once the instance number is changed

1) # pvdisplay /dev/dsk/c5t?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 5
to
ext_bus 4
#

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 ?
Ashwani Kashyap
Honored Contributor

Re: Change HDD device PATH.

First export your VG in a mapfile and then follow the follwoing procedure :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072080614

THen import yout VG back to the new disks .