- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is it safe to run mkboot and lvlnboot commands aft...
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
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
тАО02-13-2001 10:33 AM
тАО02-13-2001 10:33 AM
Am I still ok for running the mkboot and lvlnboot commands now that the physical volume has been added to an active volume group? I'm a little nervous about making the change to the new volume group after its already part of an existing volume group.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2001 10:38 AM
тАО02-13-2001 10:38 AM
Re: Is it safe to run mkboot and lvlnboot commands after physical vol is added to active volume group?
Yes its safe if you know what you are doing...
And you have no choice if you are willing to mirror vg00...
Good luck
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2001 10:42 AM
тАО02-13-2001 10:42 AM
Re: Is it safe to run mkboot and lvlnboot commands after physical vol is added to active volume group?
mkboot -a "hpux -lq (;0)/stand/vmunix" BOOTDISK
then make your mirrors with lv extend
then do you lvlnboot's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2001 10:51 AM
тАО02-13-2001 10:51 AM
Re: Is it safe to run mkboot and lvlnboot commands after physical vol is added to active volume group?
I just remembered of a thread you would be interested in:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xcf860559ff7cd4118fef0090279cd0f9,00.html
all the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2001 10:54 AM
тАО02-13-2001 10:54 AM
Re: Is it safe to run mkboot and lvlnboot commands after physical vol is added to active volume group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2001 06:07 AM
тАО02-14-2001 06:07 AM
SolutionTo be in the save side my recommendation is.
Before you run the pvcreate and extend the disk.
1.Check if you do not use the disk.
Let say the disk path is /dev/rdsk/c0t5d0.
strings /etc/lvmtab |grep c0t5d0
2.pvcreate -B /dev/rdsk/c0t5d0 (be careful with the -f option).
3.mkboot /dev/rsk/c0t5d0
4.mkboot -a "hpux -lq (10/0.5.0;0)/stand/vmunix" /dev/rdsk/c0t5d0
You need to use all the path (10/0.5.0) if you run hpux-11.
5.vgextend /dev/vg00 /dev/dsk/c0t5d0
6.lvlnboot -b /dev/vg00/lvol1
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R
lvlnboot -v
It need look like this:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (10/0.6.0) -- Boot Disk
/dev/dsk/c0t5d0 (10/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Make the mirroring:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t5d0
7.setboot -a 10/0.5.0
Now you ready to check if you can boot from the alternate disk.
Remark:You can use the scripts to check if you have any stale.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2001 05:49 AM
тАО02-21-2001 05:49 AM
Re: Is it safe to run mkboot and lvlnboot commands after physical vol is added to active volume group?
mkboot -a "hpux -lq (10/0.5.0;0)/stand/vmunix" /dev/rdsk/c0t5d0
Since this is not the primary boot disk, should it be used?
jack...