1833184 Members
3235 Online
110051 Solutions
New Discussion

vg changing controlers

 
SOLVED
Go to solution
Joseph C. Denman
Honored Contributor

vg changing controlers

I believe I know the answer, but I wanted to put a post just for a warm fuzzy.

Whats going on:

K460 with 3 Jamacia boxs. The Jamacia boxes have about 6 Drives in each. We are upgrading the K460 to a K580. The hardware path of one of the jamacia boxes is going to change. What is the easiest, most painless, way to get the vg ported over to the new controler?

NO MIRRORS. HFS filesystems.

...jcd...
If I had only read the instructions first??
4 REPLIES 4
Edward Sedgemore
Trusted Contributor

Re: vg changing controlers


use the ioinit command. See man page for it, in the examples section is how to reassign an instance number to a card, this way you can retain your c1,c2,c3... instance numbers for your drives when you change hardware. Very handy.
Thierry Poels_1
Honored Contributor

Re: vg changing controlers

hi,
check vgexport/vgimport.
-vgexport the VG
-move the drive(s)
-create device files for VG
-vgimport the VG

good luck,
Thierry
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
James R. Ferguson
Acclaimed Contributor
Solution

Re: vg changing controlers

Hi Joesph:

Use vgexport/vgimport. See the man pages for both for more information.

On the "outgoing side":

# vgexport -p -v -s -m /tmp/vgXY.mapfile /dev/vgXY

...and on the "incoming side"...

# mkdir /dev/vgXY
# mknod /dev/vgXY/group c 64 0xXY0000
# vgimport -s -m /tmp/vgXY.mapfile vgXY
# vgchange -a y vgXY
# vgcfgbackup vgXY

...JRF...
Joseph C. Denman
Honored Contributor

Re: vg changing controlers

I was correct. Thanks for specifics James.

...jcd...
If I had only read the instructions first??