- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Find out old LV sizes?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 07:59 AM
04-11-2012 07:59 AM
I have a HP-UX 11iv3 host ignite backup of vg00 only and a data protector backup of the whole host.
I need to restore the machine to barnd new hardware (I there fore have no LVM info on the disks).
I have been easily able to recover the vg00 and boot the system using ignite. I can now recover the data on the other VGs using Data Protector, but first I need to know the sizes of the LVs so I can make all the filesystems.
With the above info, how can I find out what sizes the LVs were? I can use vgcfgrestore to find out the sizes of the disk in each VG, but as yet have not worked out how to get the LV sizes - any ideas?
Solved! Go to Solution.
- Tags:
- vgcfgrestore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 12:35 PM
04-11-2012 12:35 PM
Re: Find out old LV sizes?
I can't think of any way to do it besides guesstimating based on the information in Data Protector. You might not know how big the LVs were, but you should be able to figure out how big they need to be.
Kris Knigga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 01:50 PM
04-11-2012 01:50 PM
Re: Find out old LV sizes?
The only information I have been able to come up with is to list the VG information from the vgcfgbackup files that are located in the /etc/lvmconf directory.
For example:
# cd /etc/lvmconf # vgcfgrestore -l -f vg02.conf -v Volume Group Configuration information in "vg02.conf" VG Name /dev/vg02 ---- Physical volumes : 2 ---- PV Type Size (kb) Start (kb) PVkey c4t3d0 Non-Boot 17783240 1024 0 c4t4d0 Non-Boot 17783240 1024 1 max_pv 2048 max_pe 2168 max_lv 2047 vg_version 2.1 vg_size 34700m
Unfortunately this doesn't show the LV configuration, but you can see the total size of your VGs this way, if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 02:34 PM
04-11-2012 02:34 PM
Re: Find out old LV sizes?
Do you still have the old system to run lvdisplay?
Does ignite copy the old /etc/lvmtab to the new system? Or it only has entries for vg00?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 09:59 PM
04-11-2012 09:59 PM
SolutionIf not, look for the print_manifest output in the archive.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Tags:
- print_manifest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 11:50 PM
04-11-2012 11:50 PM
Re: Find out old LV sizes?
Bingo! Thanks Torsten. The information is in the manifest file in the ignite recovery archive directory. Many thanks!