Operating System - HP-UX
1834516 Members
2080 Online
110068 Solutions
New Discussion

Re: use make_tape_recovery to change vg00 from LVM to VxVM?

 
jh_yang
Advisor

use make_tape_recovery to change vg00 from LVM to VxVM?

I have a RP4440 server running HPUX11i. vg00 is configured using LVM. now a request coming to change the LVM to VxVM. Just wonder is it possible to backup current OS and restore it using VxVM? I know the place to choose LVM/VxVM while install from CD, but I didn't see the VxVM options there while install from the make recovery tape.

Is it possible?
5 REPLIES 5
Uday_S_Ankolekar
Honored Contributor

Re: use make_tape_recovery to change vg00 from LVM to VxVM?

vxvmconvert is the command you need to look into. , before that take a backup of exisiting vg ( vgcfgbackup) and data also

Check this doc for more info:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062922875

-USA..
Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: use make_tape_recovery to change vg00 from LVM to VxVM?

here is the doc to convert back to LVM using ignite:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000077775800

-USA..
Good Luck..
jh_yang
Advisor

Re: use make_tape_recovery to change vg00 from LVM to VxVM?

I checked the doc you provide and found I have to umount all the filesystems. Does that mean this convert can't be done for root VG?
Steven E. Protter
Exalted Contributor

Re: use make_tape_recovery to change vg00 from LVM to VxVM?

You will need to boot to single user mode.

suggested process:

make_tape_recovery

boot to single user mode

run the appropriate conversion commands(earlier post)

boot back and you will be a vgroot shop and the recovery tape will solve any mistakes by letting you start over.

Then make another make_tape_recvoery tape.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Philip J. Priest_1
Frequent Advisor

Re: use make_tape_recovery to change vg00 from LVM to VxVM?

It is. Make sure you have 11.11 Sep 2003 or later. Boot off of ignite tape. In user interface go into "Advanced Installation".

From the "Filesystem" tab change the disks from LVM to VXVM.

You may have to modify filesystem sizes.

After rebooting you may have to change non-standard volume names by:

This is from my enviro:

root on k460 / # vxedit -g rootdg rename lvol1 standvol
root on k460 / # vxedit -g rootdg rename lvol2 swapvol
root on k460 / # vxedit -g rootdg rename lvol3 rootvol
root on k460 / # vxedit -g rootdg rename lvol4 homevol
root on k460 / # vxedit -g rootdg rename lvol5 optvol
root on k460 / # vxedit -g rootdg rename lvol6 tmpvol
root on k460 / # vxedit -g rootdg rename lvol7 usrvol
root on k460 / # vxedit -g rootdg rename lvol8 varvol
root on k460 / # vxedit -g rootdg rename lvol1-01 standvol-01
root on k460 / # vxedit -g rootdg rename lvol4-01 homevol-01
root on k460 / # vxedit -g rootdg rename lvol5-01 optvol-01
root on k460 / # vxedit -g rootdg rename lvol3-01 rootvol-01
root on k460 / # vxedit -g rootdg rename lvol2-01 swapvol-01
root on k460 / # vxedit -g rootdg rename lvol6-01 tmpvol-01
root on k460 / # vxedit -g rootdg rename lvol7-01 usrvol-01
root on k460 / # vxedit -g rootdg rename lvol8-01 varvol-01

edit /etc/fstab and put standard volume names like this:

/dev/vx/dsk/rootdg/rootvol / vxfs delaylog 0 1
/dev/vx/dsk/rootdg/standvol /stand hfs defaults 0 1
/dev/vx/dsk/rootdg/homevol /home vxfs delaylog 0 2
/dev/vx/dsk/rootdg/optvol /opt vxfs delaylog 0 2
/dev/vx/dsk/rootdg/tmpvol /tmp vxfs delaylog 0 2
/dev/vx/dsk/rootdg/usrvol /usr vxfs delaylog 0 2
/dev/vx/dsk/rootdg/varvol /var vxfs delaylog 0 2

Now should have a vxvm disk that is rootable
Phil