- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring boot volumes
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
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
03-24-2003 02:05 PM
03-24-2003 02:05 PM
Mirroring boot volumes
I performed the following:
pvcreate -B /dev/rdsk/c2t12d0
vgextend /dev/vg00 /dev/dsk/c2t12d0
mkboot /dev/rdsk/c2t12d0
mkboot -a "hpux -lq" /dev/rdsk/c2t12d0
mkboot -a "hpux -lq" /dev/rdsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t12d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t12d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t12d0
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -b /dev/vg00/lvol1
NOTE: the primary path is /dev/dsk/c0t5d0 and the secondary path is /dev/dsk/c2t12d0
When I try to boot from the alternate path I get the following error:
Exec failed: cannot find /stand/vmunix or /vmunix
Please can I have some ideas about solving this problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 02:21 PM
03-24-2003 02:21 PM
Re: Mirroring boot volumes
Change to
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c0t5d0
and
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c2t12d0
The prudent thing would have been to do the mkboot a on just the alternate so that you still have an intact boot
before altering the primary boot.
Also, I assume that you have more the three LVOL's in vg00; all must be mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 04:04 PM
03-24-2003 04:04 PM
Re: Mirroring boot volumes
I have a feeling that your mirroring was not successful. "hpux -lq" should automatically pickup (;0)/stand/vmunix.
It should have put you back into ISL after failing to find vmunix. So go ahead try
ISL>hpux -is (;0)/stand/vmunix
and see if it works (i am skeptical about it though) If it does not work try a previous kernel just to see if the current one got wiped off.
ISL> hpux -is (;0)/stand/vmunix.prev
You cannot pass the single user mode in this case because you don't have other logical volumes mirrored. However, if you still have the other boot disk on the system, they will get mounted.
You will need to mirror all the logical volumes on the primary drive.
If you lost both the drives, then only thing you can do is to through boot through install CD and restore the kernel.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 05:30 PM
03-24-2003 05:30 PM
Re: Mirroring boot volumes
You should change to
lvextend -m1 /dev/vg00/lvol1 /dev/dsk/c2t12d0
......
lvextend -m1 /dev/vg00/lvol8 /dev/dsk/c2t12d0
mkboot -a"hpux -lq(;0) /stand/vmunix" /dev/dsk/c2t12d0
mkboot -a 'hpux -lq(;0) /stand/vmunix" /dev/dsk/c0t5d0
lvlnboot -R
lvlnboot -d /dev/vg00/lvol2
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:32 AM
03-25-2003 12:32 AM
Re: Mirroring boot volumes
pvcreate -f /dev/rdsk/c2t12d0
pvcreate -B /dev/rdsk/c2t12d0
vgextend /dev/vg00 /dev/dsk/c2t12d0
mkboot /dev/dsk/c2t12d0
mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/dsk/c2t12d0
for i in $i /dev/vg00/lvol*
>do
>lvextend -m 1 $i /dev/dsk/c2t12d0
>done
lvlnboot -Rv
lvlnboot -s
lvlnboot -b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 05:22 AM
03-25-2003 05:22 AM
Re: Mirroring boot volumes
lifls -C /dev/rdsk/c....
If the bootlif is not corrupted then you should see a display of ~6 files including AUTO.
lifcp /dev/rdsk/c...:AUTO -
...will indicate your mkboot string. Which should be what the others have indicated above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 12:59 AM
03-26-2003 12:59 AM
Re: Mirroring boot volumes
mkboot ???a ???hpux (10/0.7.0;0)/stand/vmunix??? ???v /dev/rdsk/c0t6d0
I hope that is of some help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 01:44 AM
03-26-2003 01:44 AM
Re: Mirroring boot volumes
you can check /var/adm/syslog/syslog.log,
and check if you made a typo.
HTH
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 11:40 PM
03-27-2003 11:40 PM
Re: Mirroring boot volumes
I refer you to use the document below from knowledge mine to re-create the mirror boot disk on your system :
http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSearchResults?mode=id&searchString=LVMKBRC00005103
Hope this is the answer that you looking for 8-).
Best Regards,
A.W.