Operating System - HP-UX
1833696 Members
3114 Online
110062 Solutions
New Discussion

retrieve VGs and LVs after re installing an OS

 
silusan
Regular Advisor

retrieve VGs and LVs after re installing an OS

We have a hp vm guest (11.31)

Created using three LUNs (disks)

OS disk

App disk and

log disk

 

After installing the OS,

we created a VG and an LV on app disk

we created a VG and an LV on log disk

 

For some reasons, I need to reinstall the OS on OS disk.

After reinstalling OS on os disk, can I avoid creating Vgs and LVs on app and log disk? like taking a backup of lvm configuration before reinstalling?

 

thanks

1 REPLY 1
Patrick Wallek
Honored Contributor

Re: retrieve VGs and LVs after re installing an OS

If you have the OS disk / VG separate from the data VGs then you should be able to export the VGs, copy the map file(s) elsewhere, then once you have reinstalled the OS you can copy map files(s) back and reimport the VGs.

 

For more information have a look at the man pages for vgimport and vgexport.