- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: proper disk recovery
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-17-2002 01:36 PM
05-17-2002 01:36 PM
I lost the first drive and successfully booted off the second drive and the system is functioning as "normal".
I have the first drive replaced.
What is the proper sequence of commands to have that drive added back into the volume group and re-sync the mirrors?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 01:44 PM
05-17-2002 01:44 PM
Solution# mkboot -l /dev/rdsk/c2t2d0
# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
# vgcfgrestore -n vg00 /dev/rdsk/c2t2d0
=> recovers LVM info to disk
# vgchange -a y vg00
=> enables new root disk
# vgsync vg00
=> this will take awhile (sync the LVs)
After it's done, do the ODE install .. only do this if the primary disk has additional ODE lif files .. check with ..
# lifls -l /dev/rdsk/
Install ODE onto the new mirrored disk..
# ll /usr/sbin/diag/lif/updatediaglif
=> Make sure the file exist.
# lifls -l /dev/rdsk/c2t2d0
=> List content of LIF dir (should have ISL,AUTO,HPUX,PAD,LABEL).
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0
=> Install ODE LIF files while "protecting" the existing LIF files.
=> Use updatediaglif2 for 11.0 64-bit.
# lifls -l /dev/rdsk/c2t2d0
=> Should now see the additional LIF files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 01:48 PM
05-17-2002 01:48 PM
Re: proper disk recovery
You might want to double check that your boot path points to the correct disk ..
# setboot
==> display boot path
# setboot -p
==> sets primary boot path
# setboot -a
==> sets alternate boot path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 01:58 PM
05-17-2002 01:58 PM
Re: proper disk recovery
Have a look at Technical Knowledge Base documents #LVMKBRC00006111 (hot swap) and #LVMKBRC00006116 (no host swap) for mirrored boot disks.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2002 01:50 AM
05-19-2002 01:50 AM
Re: proper disk recovery
you have to check also which lv is boot, root, swap,or dump
# lvlnboot -v
if all is not Ok
you have to use
# lvlnboot -b for boot
# lvlnboot -r for root
# lvlnboot -s for swap
# lvlnboot -d for dump
see man lvlnboot