GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvlnboot'ing other volume groups
Operating System - HP-UX
1846858
Members
7287
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-20-2007 03:34 PM
12-20-2007 03:34 PM
lvlnboot'ing other volume groups
Background: I'm trying to figure out the fastest way to dupe an entire set of disks - boot and data.
Initially I was doing it the brute force way boot from a special disk that is a bare-bones hpux system and use it to dd from original disks to new disks. That worked, it was a simple no-brainer. But it was really slow.
So then I wrote a script that would vgimport the original volume groups, vgcreate the new volume groups on the destination disks and vxdump | vxrestore the filesystems across. That reduced the dupe time by 75%.
But I have not been able to figure out how to make the new boot/root disks actually bootable. When I use lvlnboot to set them up, it seems to be OK. But when I actually boot from them, it doesn't work and I have to boot in LVM maintenance mode and do the lvrmboot and lvlnboot (with -b and -r and -s and -d) all over again.
Which can easily add 40 minutes to the procedure (have to do two seperate boot disks and each boot cycle takes roughly 20 minutes).
This is with semi-recently patched hpux 11.11 systems.
Any suggestions for how to avoid that last step?
Initially I was doing it the brute force way boot from a special disk that is a bare-bones hpux system and use it to dd from original disks to new disks. That worked, it was a simple no-brainer. But it was really slow.
So then I wrote a script that would vgimport the original volume groups, vgcreate the new volume groups on the destination disks and vxdump | vxrestore the filesystems across. That reduced the dupe time by 75%.
But I have not been able to figure out how to make the new boot/root disks actually bootable. When I use lvlnboot to set them up, it seems to be OK. But when I actually boot from them, it doesn't work and I have to boot in LVM maintenance mode and do the lvrmboot and lvlnboot (with -b and -r and -s and -d) all over again.
Which can easily add 40 minutes to the procedure (have to do two seperate boot disks and each boot cycle takes roughly 20 minutes).
This is with semi-recently patched hpux 11.11 systems.
Any suggestions for how to avoid that last step?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 02:11 PM
01-08-2008 02:11 PM
Re: lvlnboot'ing other volume groups
I do not have my notes with me, but here is another thread that has some useful info.
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=919439&admit=109447627+1199829676376+28353475
I also emailed my best HP-UX guru, who should be able to give a good recommendation.
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=919439&admit=109447627+1199829676376+28353475
I also emailed my best HP-UX guru, who should be able to give a good recommendation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 02:12 PM
01-08-2008 02:12 PM
Re: lvlnboot'ing other volume groups
Oh, aside from that,
do not forget your setboot to update the NVRAM boot info, and your mkboot command to make the disk bootable. The mkboot and setboot commands can be done anytime.
I will leave you to look in the man pages on those (if needed).
do not forget your setboot to update the NVRAM boot info, and your mkboot command to make the disk bootable. The mkboot and setboot commands can be done anytime.
I will leave you to look in the man pages on those (if needed).
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP