1848337 Members
8298 Online
104024 Solutions
New Discussion

LVM from 10.20 to 11.00

 
SOLVED
Go to solution
Alessio_6
Occasional Advisor

LVM from 10.20 to 11.00

Hello,

we are about to upgrade from 10.20 to 11.00 (cold install) a K360 server with a StorageTek Disk system (9153).
I was wandering if, after the installation of HPUX 11.00, vgscan is able to recover the vg created (with 10.20) on the external disks.
If yes, how much this operation is sure?

regards,
Alessio
2 REPLIES 2
Stefan Farrelly
Honored Contributor
Solution

Re: LVM from 10.20 to 11.00


Yes, you can recover the vg on the external disks as long as the whole vg is on the external disks. After installing 11.0 identify the /dev/dsk/cxxxx values for all the external disks in the vg and then create a new vg (say vg01) and do a vgimport using all the /dev/dsk/cxxx values and it will import fine, no problems. Have done this lots of times and it works reliably.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Gerrit Beyken
Respected Contributor

Re: LVM from 10.20 to 11.00

Hi,

i would suggest you to create a mapfile of your vg before upgrading your OS.
It`s also possible to add the VG_ID to this mapfile so that you can do your vgimport without specifying your disks (does not make fun when you have lot).
You can do a "vgexport -p -s -m ".
Save the map to a safe location and import the VG after your OS-Upgrade with vgimport:
1. mkdir /dev/
2. mknod /dev//group c 64 0x3. vgimport -s -m
4. vgchange -a y
5. vgcfgbackup

regards

Gerrit