Operating System - HP-UX
1758332 Members
2222 Online
108868 Solutions
New Discussion юеВ

saving volume groups/logical volumes while installing hpux 11.0

 
SOLVED
Go to solution
ernest tamura
Occasional Advisor

saving volume groups/logical volumes while installing hpux 11.0


We will be installing hpux 11.0 on a k370 server currently running on 10.20. We will do a new install, not an upgrade. Is there a way of saving the volume group and logical volume info and transfer it after 11.0 is installed?
7 REPLIES 7
Darrell Allen
Honored Contributor
Solution

Re: saving volume groups/logical volumes while installing hpux 11.0

Hi,

I think this thread covers what you are planning:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xab86b47b9a27d6118ff40090279cd0f9,00.html

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Clemens van Everdingen
Honored Contributor

Re: saving volume groups/logical volumes while installing hpux 11.0

Hi,

I would have suggested vgexport with mapfile.
But the above thread explains it well.

Use the option from James, that's the way I would have done it.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Roger Baptiste
Honored Contributor

Re: saving volume groups/logical volumes while installing hpux 11.0

hi,


A minor addition:
in addition to doing vgexport -p -v -s -m vgname do
ll /dev/*/group >/tmp/groupnames
This will be a reference to run the mknod commands after the O/S is installed.

HTH
raj
Take it easy.
Domenico_5
Respected Contributor

Re: saving volume groups/logical volumes while installing hpux 11.0

Hi

RajMan have a good suggestion, but I'll run, for more security "sysinfo -a > server.info" for collect all information about the system.

sysinfo is in attach
pap
Respected Contributor

Re: saving volume groups/logical volumes while installing hpux 11.0

HI,
as you are doing new installation, you need to copy the map files created hile exporting volume groups from 10.20 machine to 11.0 machine.

you can also do as below :

1. vgexport -p -v -s -m /tmp/lvm.conf_vg00 /dev/vg00

similarly for all volume groups. Then rcp the map files to any other machine on the network.

2. Now start installing hp-ux 11.0 machine.
3. When it will be over the network, you can copy map files using rcp to 11.0 machine.

It is better to keep a backup of map files on 2 tapes too. Just in case rcp doesn't work or due to some problems.....to be on safer side.

-pap
"Winners don't do different things , they do things differently"
Sachin Patel
Honored Contributor

Re: saving volume groups/logical volumes while installing hpux 11.0

The script that Domenico is great but if don't want everything then take printout of

#vgdisplay -v vg?? (all vg's)
#pvdisplay -v /dev/????? (all pv's)
#cat /etc/fstab
full ioscan
kernal tunable parameters (if you have set any for some software)

Sachin
Is photography a hobby or another way to spend $
ernest tamura
Occasional Advisor

Re: saving volume groups/logical volumes while installing hpux 11.0

Thanks to all that replied to my question. With your help the installation of 11.0 from 10.20 went well and the volume groups transferred over very nicely.