Operating System - HP-UX
1826020 Members
3374 Online
109690 Solutions
New Discussion

Losing Logical Volumes after an Ignite

 
Jan Bray
Occasional Advisor

Losing Logical Volumes after an Ignite

Hi,
I am backing up a system using Ignite and restoring it from CD. To create/restore the images, I am using make_sys_image for the first CD and gtar for the rest. During the restore of the first CD, I noticed that only the logical volumes on the first CD are retained. When I attempt to load the 2nd CD, it writes it to the / volume and eventually I run out of disk space.
In an attempt to solve this problem, I kept the logical volumes and the filesystem on the first CD, but put all of the other files in make_sys_image (Level_2_NORESET)ex. /COTS/file1, etc. On the first CD, I left /COTS/lost+found (and all other logical volumes in this manner that would not fit on the first CD). I commented out the /etc/lvmtab and /etc/lvmconf entries in make_sys_image.
I have also added an entry in os_arch_post_l to extend the logical volumes and the filesystems. This produced the error "cannot find the logical volume" or "logical volume is mounted; cannot extend.."

A third piece of information - When I examined the .impacts file, the sizes are very different from the results of bdf (KB vs. MB and much smaller). What is going on here?
Thanks for any information.

Jan

4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Losing Logical Volumes after an Ignite


This needs to be moved to ignite-ux section.

You need to save and restore the Volume Group info:

http://docs.hp.com/en/B2355-90772/ch11s05.html

live free or die
harry d brown jr
Live Free or Die
Jan Bray
Occasional Advisor

Re: Losing Logical Volumes after an Ignite

Does this apply if I am not using make_net_recovery? I am calling make_sys_image from a script on a local machine.

Thanks,

Jan
harry d brown jr
Honored Contributor

Re: Losing Logical Volumes after an Ignite


If you aren't saving and restoring VG information, then you have to somehow rebuild them. And if you are using this to clone systems, then you might have a lot more issues with LUNS.

live free or die
harry d brown jr
Live Free or Die
Jan Bray
Occasional Advisor

Re: Losing Logical Volumes after an Ignite

Is there specific information available that addresses this issue when creating backup media on CD? I.e. a system_cfg file, etc?

Thanks,

Jan