1761021 Members
4034 Online
108897 Solutions
New Discussion юеВ

Re: Exporting vg00

 
avm
Contributor

Exporting vg00

Hi friends,
Is it possible to export vg00 by booting through lm mode?
My requirement is that i want to change my hard disk and controller id
To my knowledge i will write the steps please correct it
1. boot to single user mode hpux -lm
2.#vgexport /dev/vg00
3.Change the disk or controller id
4.again boot into single usermode (change the pri path)
5.#VGIMPORT /DEV/VG00 /DEV/DSK/C*T*D*
Whether this will work or any correction to be done.
Pls give ur solutions
Thanks in advance
avm

3 REPLIES 3
Andy Monks
Honored Contributor

Re: Exporting vg00

I'd suggest doing this :-

1. Move disc/scsi address etc
2. boot lm mode
3. vgexport /dev/vg00
4. mkdir /dev/vg00
5. mknod /dev/vg00/group c 64 0x000000
6. vgimport /dev/vg00 /dev/dsk/.....

At this point activate vg00 and run lots of lvlnboot commands as it will all be wrong.
Insu Kim
Honored Contributor

Re: Exporting vg00

Your steps looks good.
After your steps, there're a couple of things to do.

1) lvlnboot -R
2) Modify a file, /stand/bootconf, which has a device file for root volume group with your favorite editor.

Best regards,
Never say "no" first.
Dave Wherry
Esteemed Contributor

Re: Exporting vg00

I may be missing something, but if you vgexport vg00, in your second boot to single user what would you boot from? You effectively have no operating system on your box.
Have you thought about doing a make_recovery tape, change your scsi id's and then rebuild from the tape?