- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM changes between ignite backups
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
Forums
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
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
10-10-2008 06:43 AM
10-10-2008 06:43 AM
I don't have a problem at this time, but I just wanted to get some steps documented in our DR recovery guide.
Suppose we take an ignite tape backup on the 1st of each month. Then throughout the month a couple LVs are entended, maybe a physical volume is added to a VG. These LVM structures are stored on an EVA accessed via fibre channel.
If during the last week of the month we lose the root drive and restore from the Ignite created on the 1st, what happens to those LVM structures? Will they reflect the increased size, or will they be the original size recorded on the ignite tape on the 1st?
I guess I'm just not sure where all that info is stored. Is it in the LVM headers on the EVA itself, or is it on the root drive?
Thanks in advance,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2008 06:51 AM
10-10-2008 06:51 AM
Re: LVM changes between ignite backups
If you make changes after you take an image and then use a previous image to recover you will get the configs from the date of recovery, NOT any changes after the image was created. All lvm structures are recreated from the image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2008 06:59 AM
10-10-2008 06:59 AM
Re: LVM changes between ignite backups
LVM headers are stored on the physical disk defining them. Changes are, of course, recorded by default in the files in the '/etc/lvmconf' directory on vg00.
In disaster recovery tests I do, I Ignite vg00 and using template scripts, I re-create my current non-vg00 LVM disks into which backup software then loads their data.
If you lost your root drive (and its mirror? --- you do mirror, I hope) and you had to resort to a re-Ignite (of vg00) I expect that you would 'vgimport' your non-vg00 volume groups. At that point, I would *manuallly* do 'vgcfgbackup's of the newly imported volume groups to update your '/etc/lvmconf' directory with current LVM metadata.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2008 07:11 AM
10-10-2008 07:11 AM
Re: LVM changes between ignite backups
James, I think what you said is similar to what I was thinking too.
I would be able to do as you suggest:
1) restore vg00 from ignite
2) recreate the non-vg00 structures from scratch using scripts
3) restore data from tape.
To save time though, and in a best case scenario, the data on the EVA is intact and would not need to be restored from tape. Assuming all the hardware paths remain constant I should be able to restore vg00 and the other data will just be there. At a minimum though, I'd have to vgimport to get the new size information and rebuild /etc/lvmconf?
We do mirror in the sense that our root drive is a RAID-6 device, a P400 controller on an rx3600 server. We can lose 2 drives, plus there's a hot spare configured.
Thanks for your thoughts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2008 08:02 AM
10-10-2008 08:02 AM
Re: LVM changes between ignite backups
Yes your non-vg00 LVM structures will stay intact. A vgimport may not even be needed after an ignite recovery as long as the storage nor its device paths have changed.
( I read this as changes to vg00 which is clearly not what your question asked )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2008 08:07 AM
10-10-2008 08:07 AM
Solution> Assuming all the hardware paths remain constant I should be able to restore vg00 and the other data will just be there.
Essentially, yes. Mind you, the hardware paths (before 11.31) might change when you Ignite, particularly if you have added and/or deleted hardware since the last ignition. This isn't an issue. You can always use 'vgscan -p -v' to "see" what disks belong to what volume groups. Using this output, you can specify the devices for your 'vgimport' without effort.
Regards!
...JRF...