- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirror for hpux, itanium .. continued
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
05-29-2007 05:08 AM
05-29-2007 05:08 AM
But what I like is to run
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
instead of
lvlnboot -R.
I've found some documents advising to run lvlnboot -R
lvlnboot -R /dev/vg00
and some documents saying that it isn't necessary. I've followed the commands:
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
is there a reason to run /not to run lvlnboot -R?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 05:12 AM
05-29-2007 05:12 AM
Re: mirror for hpux, itanium .. continued
No reason not to run lvlnboot -R
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-29-2007 05:23 AM
05-29-2007 05:23 AM
Solution"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-60130/lvlnboot.1M.html and http://docs.hp.com/en/B2355-60105/lvlnboot.1M.html )
This sounds to me that "lvlnboot -R" is not working, if the information set by "lvlnboot -b" is not there.
So especially while mirroring a disk, I prefer to run all the 4 commands, because I experienced some situations where a system booted from a mirrored disk (lvlnboot -R was used) can not properly boot into various modes (single user) or having problems with the boot loader showing /stand directory etc.
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-29-2007 05:43 AM
05-29-2007 05:43 AM
Re: mirror for hpux, itanium .. continued
"This command should be run in recovery mode (-R) whenever the configuration of the root volume group is affected by one of the following commands: lvextend, lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,
or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M), lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and
vgreduce(1M)). Starting with HP-UX Release 10.0, this is done automatically."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 06:13 AM
05-29-2007 06:13 AM
Re: mirror for hpux, itanium .. continued
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 06:28 AM
05-29-2007 06:28 AM
Re: mirror for hpux, itanium .. continued
But many documents only list this single command (... -R) or all 5!
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
# lvlnboot -R
Some documents lists the mentioned 4 steps.
I sent a feedback using the feedback system on http://docs.hp.com/en/feedback.html some weeks ago regarding this, but without any response until now.
I noticed also, the systems in question are booting fine if you don't interrupt the boot process, but if you boot from the just created mirror (only "lvlnboot -R" performed), you probably get problems to boot into single user or other modes from the boot loader 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-29-2007 07:43 AM
05-29-2007 07:43 AM
Re: mirror for hpux, itanium .. continued
I followed steps here:
http://docs.hp.com/en/5991-6481/ch03s04.html#babegeeh
I only ran lvlnboot -R
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk7_p2 -- Boot Disk
/dev/disk/disk5_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk7_p2
/dev/disk/disk5_p2
Root: lvol3 on: /dev/disk/disk7_p2
/dev/disk/disk5_p2
Swap: lvol2 on: /dev/disk/disk7_p2
/dev/disk/disk5_p2
Dump: lvol2 on: /dev/disk/disk7_p2, 0
Then did the setboot command:
setboot -a 0/1/1/0.0x1.0x0
Rebooted to the alternate - and it worked!
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 07:51 AM
05-29-2007 07:51 AM
Re: mirror for hpux, itanium .. continued
now try to boot the alternate disk, interrupt and list the content of /stand from the OS loader, then boot to single user mode.
I saw problems in doing this.
Booting without interrupt the process worked.
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-29-2007 08:11 AM
05-29-2007 08:11 AM
Re: mirror for hpux, itanium .. continued
HP-UX Alternate Boot: 0/1/1/0.0x1.0x0
I pressed the Any Key to interrupt Autoboot
HPUX> ls /stand
.kc.lock backup boot.sys bootconf bootfs
current ext_ioconfig ioconfig krs last_install
lost+found nextboot rootconf system vmunix
HPUX> boot vmunix -is
> System Memory = 6132 MB
loading section 0
................................................................................
...... (complete)
loading section 1
............... (complete)
loading symbol table
loading System Directory (boot.sys) to MFS
.....
loading MFSFILES directory (bootfs) to MFS
...............
Launching /stand/vmunix
SIZE: Text:43521K + Data:7446K + BSS:20777K = Total:71745K
Then I was in single user mode:
INIT: Running /sbin/sh
#
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 08:29 AM
05-29-2007 08:29 AM
Re: mirror for hpux, itanium .. continued
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 08:29 AM
05-29-2007 08:29 AM
Re: mirror for hpux, itanium .. continued
May be related to patch levels etc.
From my logs:
...
HP-UX Boot Loader for IPF -- Revision 2.028
Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix
Seconds left till autoboot - 9
Type 'help' for help
HPUX> ls
no such file or directory
...
HPUX> hpux
Could not open file vmunix to check for a directory
Could not open vmunix
loading failed
fs1:\EFI\HPUX> hpux
Using EFI boot partition (no HPUX partition on boot media)
(C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P.
All rights reserved
HP-UX Boot Loader for IPF -- Revision 2.028
Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix
Seconds left till autoboot - 9
Type 'help' for help
...
but without interrupt, it works ...
fs0:\EFI\HPUX> hpux
(C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P.
All rights reserved
HP-UX Boot Loader for IPF -- Revision 2.028
Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix -lq
Seconds left till autoboot - 0
AUTOBOOTING...> System Memory = 12258 MB
loading section 0
...
the server boots up to init 3
Doing the same after running all the lvlnboot commands no errors came up.
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
06-06-2007 02:38 AM
06-06-2007 02:38 AM