- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing a root disk
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
08-22-2005 09:29 AM
08-22-2005 09:29 AM
vgchange -a n /dev/vg00
vgexport -v -m /tmp/vg00.map /dev/vg00
pvcreate -B -f /dev/rdsk/c0t6d0
mkboot /dev/rdsk/c0t6d0
mkboot -a "hpux -lq (0;) /stand/vmunix" /dev/rdsk/c0t6d0
mknod /dev/vg00/group c 64 0x000000
vgcfgrestore -n vg00 /dev/rdsk/c0t6d0
vgimport -m /tmp/vg00.map /dev/vg00 /dev/dsk/c0t6d0
vgchange -a y /dev/vg00
lvlnboot -v
When I boot the server and it attempts to boot from the primary path I get the following error:
ISL booting hpux -lq (0;) /stand/vmunix
Boot
: disc(0;0)
Exec failed: Exec format error
I can type hpux at the ISL prompt and continue booting.
ISL> hpux
Boot
: disc(10/0.6.0;0) /stand/vmunix
I have obviously not replaced that many root disks and it's not something I hope to do a lot :) but I would like to get the process documented so I can do it right.
What am I missing?
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 09:38 AM
08-22-2005 09:38 AM
Re: Replacing a root disk
Have a look at the LVM chapter of the Software recovery handbook. It has a section on replacing failed disks and should give you a very good procedure.
PDF file here:
http://www1.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/LVM.pdf
Software Recovery Handbook home:
http://www1.itrc.hp.com/service/iv/node.do?node=prodITRC%2FWW_Start%2FN1%7C16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 09:47 AM
08-22-2005 09:47 AM
Re: Replacing a root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 09:51 AM
08-22-2005 09:51 AM
Re: Replacing a root disk
Pls refer the link below..
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
it contains the various methods for identifying a disk failure and replacing a failed disk
regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 04:57 PM
08-22-2005 04:57 PM
Re: Replacing a root disk
you mentioned that the disk was not mirrored - so you need to restore your backup. You did mixed 2 procedures too, that one for a new disk and one for replacing. Please refer to the documentation links.
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
08-22-2005 05:23 PM
08-22-2005 05:23 PM
Re: Replacing a root disk
This should simply say
mkboot -a "hpux -lq"
Part in parenthesis (0;) specifies hardware path to the disk device. There is no disk at hardware path 0 thus the failure. man 1m hpux for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 06:32 PM
08-22-2005 06:32 PM
SolutionThere was a syntax problem! Either you enter simply enter "hpux -lq" or hpux -lq (;0) /stand/vmunix
It is (;0) not (0;)
since you misplaced the ";" the 0 has become hardware path. actually 0 is section.
So(;0) means (hw_path_disk;0)
(0;) means (0;0)
0;0 - there is no such hw path/section!
Actually you can avoid all these.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 04:48 AM
08-23-2005 04:48 AM
Re: Replacing a root disk
I can't believe I missed that syntax error and I can't believe the 2 or 3 of my colleagues missed it either. I guess sometimes you just need a fresh set of eyes to look it over.
Thanks again!