- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvmerge backup to original vg00
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
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
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
тАО09-24-2008 07:08 AM
тАО09-24-2008 07:08 AM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 08:37 AM
тАО09-24-2008 08:37 AM
Re: lvmerge backup to original vg00
but if you must.
To boot to lvm maintenance mode.
During boot just after the EFI boots your primary disk you are prompted to hit any key to interupt.
interupt the boot, at the hpux> prompt type in hpux -lm
BTW,
Creating an ignite image before updates is the "best" way to recover from something like this.
Also DRD is now available in 11.23 and 11.31 to clone your root filesystem for testing of updates and recoveries.
but to rename root lvols.. I have not had to do this in a decade or so you better make that Ignite image before you do...
boot to maintenance mode
rename all lvols and rlvols using mv command
check or fix lvlnboot configs
use lvmerge to merge the old to the new ( read the man page as if you do it backwards then you will blow away your good copy ). Another option is just to lvremove your bad lvols and remirror to your good ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 08:43 AM
тАО09-24-2008 08:43 AM
Re: lvmerge backup to original vg00
After using lvmerge to merge the alternate back to the original I could use vgexport using -m and edit the map file to make the lvols lvol1 instead of lvol1-backup. I would then vgimport vg00 and reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 08:50 AM
тАО09-24-2008 08:50 AM
Re: lvmerge backup to original vg00
just doing a mv is a legitimate way to rename lvols ( although a bit more difficult with vg00 )
if lvlnboot -v says boot, root, swap, and dump are on lvol1, lvol2, etc.. then you should be ok.
I would still create an ignite tape before you do this, if you do not and something gets trashed, then you will have no other way to recover except cold install.
Best of luck, I just have not done the lvplit thing since the 1990's as ignite and now DRD negate any need for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 08:54 AM
тАО09-24-2008 08:54 AM
Re: lvmerge backup to original vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 09:01 AM
тАО09-24-2008 09:01 AM
SolutionAllows you to clone your root disk, apply upgrades or patches on the fly to the cloned copy without touching the currently active root disk.
Then you can boot the copy, check it out, if you are unhappy just boot the orig copy and try again. Or if happy, boot the copy, keep the orig on the side just in case.
Works great, especially for testing patches or updates for full installation or errors without jeopordizing anything.
docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 09:38 AM
тАО09-24-2008 09:38 AM
Re: lvmerge backup to original vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 09:58 AM
тАО09-24-2008 09:58 AM
Re: lvmerge backup to original vg00
use the pull downs next to each response and pick an appropriate level of worthyness..then click submit at the bottom of the thread.
Have a good one...
T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 10:21 AM
тАО09-24-2008 10:21 AM