- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring problem with 11i
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
04-30-2007 11:46 PM
04-30-2007 11:46 PM
I have rechecked my build (EFI setboot idisk mkboot lvlnboot ) and everything looks good.
Any advice appreciated as this has me beat !
thanks and regards
Simon Murray
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 11:49 PM
04-30-2007 11:49 PM
Re: Mirroring problem with 11i
Regards,
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 11:53 PM
04-30-2007 11:53 PM
Re: Mirroring problem with 11i
#hpux -is /stand/vmunix.prev
Hope this helps,
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 11:57 PM
04-30-2007 11:57 PM
Re: Mirroring problem with 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:03 AM
05-01-2007 12:03 AM
Re: Mirroring problem with 11i
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:16 AM
05-01-2007 12:16 AM
Re: Mirroring problem with 11i
HPUX> boot vmunix
Could not open file vmunix to check for a directory
Could not open vmunix
loading failed
Yet single user, maintenance or quorum boots ok
HPUX> boot vmunix -lq
> System Memory = 2028 MB
loading section 0
etc etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:29 AM
05-01-2007 12:29 AM
Re: Mirroring problem with 11i
HPUX> boot vmunix
does not work, but
HPUX> boot vmunix -lq
does work from the same disk?
Can you reach a prompt?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:30 AM
05-01-2007 12:30 AM
Re: Mirroring problem with 11i
#Shell> drivers
Let me know the output ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:30 AM
05-01-2007 12:30 AM
Re: Mirroring problem with 11i
I can reach a unix prompt from any of these methods of booting yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:34 AM
05-01-2007 12:34 AM
Re: Mirroring problem with 11i
vgchange -a y vg00
and attempt a repair first:
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:35 AM
05-01-2007 12:35 AM
Re: Mirroring problem with 11i
Sorry, don't understand. From the unix shell in multi-user I get:
# drivers
sh: drivers: not found.
#
Do you mean from the HPUX prompt before booting ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:36 AM
05-01-2007 12:36 AM
Re: Mirroring problem with 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:44 AM
05-01-2007 12:44 AM
Re: Mirroring problem with 11i
So, if your AUTO file contents are:
"vmunix" then change your file to "vmunix -lq".
To see the contents of AUTO:
$> lifcp /dev/dsk/
$> cat /tmp/AUTO
To change the auto string from "vmunix" to "vmumix -lq":
mkboot -a "vmunix -lq" /dev/rdsk/
should fix your problem.
I suspect that even though you mirrored your replacement disk, you didn't make it ootable, AND you didn't create the AUTO file as per above.
When you replaced your new disk, did you:
A) do a:
$> mkboot /dev/rdsk/
command on it after you did your "pvcreate" on it?
B) do a:
$> mkboot -a "vmunix -lq" /dev/rdsk/
on it after making it bootable?
After the above is done, THEN you should gone on to fixing your mirrors in vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:46 AM
05-01-2007 12:46 AM
Re: Mirroring problem with 11i
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:48 AM
05-01-2007 12:48 AM
Re: Mirroring problem with 11i
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:28 AM
05-01-2007 01:28 AM
Re: Mirroring problem with 11i
John,
Yes, my AUTO content files are good, primary is boot vmunix and secondary is boot vmunix -lq . And yes, after replacing the disk I did exacly that. Output of my lvlnboot looks good;
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t1d0s2 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c0t0d0s2 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t1d0s2
/dev/dsk/c0t0d0s2
Root: lvol3 on: /dev/dsk/c0t1d0s2
/dev/dsk/c0t0d0s2
Swap: lvol2 on: /dev/dsk/c0t1d0s2
/dev/dsk/c0t0d0s2
Dump: lvol2 on: /dev/dsk/c0t1d0s2, 0
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:32 AM
05-01-2007 01:32 AM
SolutionDid you perform the lvlnboot commands I posted again?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 03:11 AM
05-01-2007 03:11 AM
Re: Mirroring problem with 11i
It worked. I had to boot vmunix -is -lm but once there I ran all the lvlnboot commands again and I can now boot vmunix on the primary and boot vmunix -lq on the secondary.
Can you tell me why it works? I followed the mirroring procedure to the letter!
Many thanks
Simon Murray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 03:18 AM
05-01-2007 03:18 AM
Re: Mirroring problem with 11i
What mirroring procedure?
pvcreate -B /dev/rdsk/c1t0d0 #use real disk
mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
If you are running 64-bit OS:
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
# real disk. repeat for other lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 03:28 AM
05-01-2007 03:28 AM
Re: Mirroring problem with 11i
lvlnboot -R
is not enough, because the man page says:
"Whenever mkboot(1M) is used to restore the LIF area of a damaged root physical volume, the -b boot_lv option of lvlnboot must be performed afterwards to record the boot volume information inside the new LIF (see lif(4)). Subsequent lvlnboot commands such as lvlnboot -R are dependent on the boot_lv information inside the LIF."
http://docs.hp.com/en/B2355-60105/lvlnboot.1M.html
Therefore I always use
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
instead of lvlnboot -R
Without getting "your" problem.
Remember to assign some points!
Have fun ;-)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 03:33 AM
05-01-2007 03:33 AM
Re: Mirroring problem with 11i
The procedure you posted will NOT work on an Itanium machine, which the BL60 blades are.
Please remember that the procedure is different for PA-RISC and Itanium machines. You are doing a disservice by posting PA-RISC procedure in an Itanium thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 03:40 AM
05-01-2007 03:40 AM
Re: Mirroring problem with 11i
You should prepare a second procedure for cut and paste and use this for Integrity servers (thread owners will be really confused otherwise).
This thread is about an Blade BL60 - an Integrity.
Take this as an example:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Appendix A - How to mirror the root volume (Integrity servers)
(better to replace the line
"# lvlnboot -R /dev/vg00"
as suggested
;-)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 04:09 AM
05-01-2007 04:09 AM