- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Alternate Boot Path fails
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
тАО02-01-2004 10:38 PM
тАО02-01-2004 10:38 PM
c1t5d0 ( Primary Boot Path)
c1t8d0 ( Alternate Bot Path)
c0t14d0 Boot Disk
c0t15d0 Boot Disk ( mirror for c1t5d0)
All Drives are "Seagate ST32272WC"
System is only capable of booting from primary boot path. When trying to boot from alternate boot path I receive message:
"Boot Device not ready"
"Retying boot device"
ioscan -fnC disk reports all drives "claimed"
dd if=/dev/rdsk/cxxxxx of=/dev/null bs=1024k works as expected on all drives.
Any suggestions ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2004 10:51 PM
тАО02-01-2004 10:51 PM
Re: Alternate Boot Path fails
I hope you forgot to make it as a bootable device. You are required to use -B option to pvcreate command to make a device bootable.
Did you use -B option to pvcreate command before creating a mirror?
"Boot device not reay" means your boot area is corrupted and you may be required to mirror it again.
Thanks
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2004 10:53 PM
тАО02-01-2004 10:53 PM
Re: Alternate Boot Path fails
Mirroring Boot disk is clearly documented here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=148246
Hope this helps
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2004 11:33 PM
тАО02-01-2004 11:33 PM
Re: Alternate Boot Path fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2004 11:38 PM
тАО02-01-2004 11:38 PM
Re: Alternate Boot Path fails
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2004 11:43 PM
тАО02-01-2004 11:43 PM
Re: Alternate Boot Path fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 12:52 AM
тАО02-02-2004 12:52 AM
Re: Alternate Boot Path fails
What is the difference between the Primary Boot Path device at c1t5d0 and the Boot Disk at c0t14d0? did you want 1 boot device and 3 boot mirrors? Is c1t8d0 (alt. boot path) not a boot mirror? If so, how can it be part of vg00 and yet be an alternate boot device?
To remove a disk as a mirror, use this syntax:
/usr/sbin/lvreduce [-A autobackup] -m mirror_copies lv_path [pv_path ...]
example:
lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c0t15d0
Repeat for all mirror lvols on c0t15d0
(use pvdisplay -v /dev/dsk/c0t15d0 ?| more to see if it has any extents left on it)
After the extents of each logical volume mirror have been removed from c0t15d0, remove the disk from the VG using VGREDUCE:
vgreduce /dev/vg00 /dev/dsk/c0t15d0
This will take c0t15d0 out of /etc/lvmtab.
You may then use pvcreate to install the space needed for the boot block:
pvcreate -f -B /dev/rdsk/c0t15d0
Then add the disk back into vg00:
vgextend /dev/vg00 /dev/dsk/c0t15d0
Then re-mirror each logical volume, lvol1 - lvol N (all vg00 lvols). Example:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t15d0
Repeat for each lvol.
When the mirroring is completed, insure the boot area has been installed:
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c0t15d0
(-lq allows the VG to activate if quorum is not met).
See if the boot mirror is accepted as a boot device:
lvlnboot -v /dev/vg00
If you don't see the line:
/dev/dsk/c0t15d0 (
To make this happen, use this series of commands:
lvlnboot -b /dev/vg00/lvol1 # /stand
lvlnboot -r /dev/vg00/lvol3 # /
lvlnboot -s /dev/vg00/lvol2 # swap
lvlnboot -d /dev/vg00/lvol2 # dump
lvlnboot -R /dev/vg00
Repeat the lvlnboot -v command to insure the alternate boot mirror is accepted as a boot device. It should look something like this:
# lvlnboot -v vg00
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t14d0 (
Boot: lvol1 on: /dev/dsk/c0t15d0
Root: lvol3 on: /dev/dsk/c0t15d0
Swap: lvol2 on: /dev/dsk/c0t15d0
Dump: lvol2 on: /dev/dsk/c0t15d0, 0
Finally - test it as a boot device.
-StephenD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 12:53 AM
тАО02-02-2004 12:53 AM
Re: Alternate Boot Path fails
Then do a :
lvreduce -m 0 /dev/vg00/lvolx /dev/dsk/cxtxdx
Use the cxtxdx from the disk that you like to reassign as mirror from the start.(NOT your PRIM Boot disk!!)
When all mirrors are removed from this disk do:
vgreduce /dev/vg00 /dev/dsk/cxtxdx
Then you should be able to do a pvremove:
pvremove /dev/rdsk/cxtxdx
I think that brings you at the start.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 01:24 AM
тАО02-02-2004 01:24 AM
Re: Alternate Boot Path fails
Boot: lvol1 on: /dev/dsk/c0t14d0
/dev/dsk/c0t15d0
Root: lvol3 on: /dev/dsk/c0t14d0
/dev/dsk/c0t15d0
Swap: lvol2 on: /dev/dsk/c0t14d0
/dev/dsk/c0t15d0
Dump: lvol2 on: /dev/dsk/c0t14d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2004 01:34 AM
тАО02-02-2004 01:34 AM
Re: Alternate Boot Path fails
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