- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setboot error during root disk mirroring
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
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
тАО01-16-2009 01:07 AM
тАО01-16-2009 01:07 AM
I have a HP rp7640 which I have installed UX 11.23. After installation I went through the steps to mirror the disks but when I typed the setboot -a command, I get the error:
setboot: cannot set alteranate bootpath
Here is what I did...I pasted everything including an error I got during vgextend:
# pvcreate тАУf -B /dev/rdsk/c4t6d0
Physical volume "/dev/rdsk/c4t6d0" has been successfully created.
# vgextend /dev/vg00 /dev/dsk/c4t6d0
vgextend: Warning: Max_PE_per_PV for the volume group (4328) too small for this PV (4375).
Using only 4328 PEs from this physical volume.
Volume group "/dev/vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# mkboot /dev/rdsk/c4t6d0
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol2" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol4" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol5" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol6" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lv_users /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lv_users" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lv_system /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lv_system" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lv_sudo /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lv_sudo" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvextend -m 1 /dev/vg00/lv_crash /dev/dsk/c4t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lv_crash" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# setboot -a 1/0/0/3/0.6.0
setboot: cannot set alternate boot path
# setboot -h 1/0/0/3/0.6.0
setboot: cannot set ha_alternate boot path
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 01:19 AM
тАО01-16-2009 01:19 AM
Re: setboot error during root disk mirroring
Can you post the output of "lvlnboot -v"?
Also did you add an entry for the new disk in /stand/bootconf file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 01:35 AM
тАО01-16-2009 01:35 AM
Re: setboot error during root disk mirroring
1) Here is the output of lvlnboot -v:
[root@casper1 - /root ] # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0s2 (0/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c4t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0s2
/dev/dsk/c4t6d0
Root: lvol3 on: /dev/dsk/c0t6d0s2
/dev/dsk/c4t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0s2
/dev/dsk/c4t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0s2, 0
2) No I did not add any entry in /stand/bootconf file.
All that's pasted above is what I did after the OS installation.
Thanks and regards
Rianui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 01:52 AM
тАО01-16-2009 01:52 AM
Solution/dev/dsk/c0t6d0s2 (0/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c4t6d0 (1/0/0/3/0.6.0) -- Boot Disk
uhhh, you are trying to mirror an itanium system with the steps of an RISC system!!!!
Have a look at the appendix of this doc (page 50).
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 02:00 AM
тАО01-16-2009 02:00 AM
Re: setboot error during root disk mirroring
1. prepare partiton file:
3
EFI 500MB
HPUX 100%
HPSP 400MB
2.create device files for new disk (use insf!!!!)
3.verify partiton table of the new disk (use idisk!!!)
4.Populate /efi/hpux in the new EFI partition in the new disk! (use mkboot!!!)
5.Change auto file (booting from disks must be without quorum...use "boot vmunix -lq" and efi_cp to ..rdisk/newdisk_s1)
6.Check that "boot vmunix -lq" option is set to all boot disks (use efi_cp!!!)
7.Create a pv (use pvcreate with ..rdsk/newdisk_s2!!!)
8.Extend vg00 (use ..dsk/newdisk_s2)
9.Mirror all lvs from vg00 (use lvextend)
10.Add new disk to /stand/bootconf
11.Check BDRA with lvlnboot command
12.Set primary and alternate boot path (use setboot with HW paths!)
13 .Check with setboot!
If You need more iformation I suggest to read this document:
http://docs.hp.com/en/5992-1910/5992-1910.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 02:31 AM
тАО01-16-2009 02:31 AM
Re: setboot error during root disk mirroring
Thanks guys
I will use the right document for this job and follow the steps you have given me. I will let you know how that goes.
Thanks.
Rinaui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2009 07:06 AM
тАО01-16-2009 07:06 AM