- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replace root mirror drive
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
01-17-2006 05:46 AM
01-17-2006 05:46 AM
#B.11.11 U 9000/800/N4000-44
##############################
Hello All,
I found some instructions for replacing a bad "root mirror" (c2t6d0) internal drive. Does this look correct? Is there a vgsync missing ?
##############################
After the disk has been replaced boot into LVM Maintenance Mode:
reboot
interrupt when "10 sec is allowed"
bo pri isl
interact with isl "y"
ISL> hpux -lm
# vgcfgrestore -n vg00 /dev/rdsk/c2t6d0
# vgchange -a y vg00
# mkboot -l /dev/rdsk/c2t6d0
# mkboot -a "hpux -lq" /dev/rdsk/c2t6d0
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -R
# lvlnboot -v
# reboot
# lvdisplay -v /dev/vg00/[lvols]
and finally by
# vgdisplay -v vg00
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 05:49 AM
01-17-2006 05:49 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 06:15 AM
01-17-2006 06:15 AM
Re: replace root mirror drive
After failed disk has been replaced by HP (assuming the disk is c2t6d0):
vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t6d0
mkboot /dev/rdsk/c2t6d0
mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c2t6d0
vgchange -a y /dev/vg00
lvlnboot -Rv /dev/vg00
vgsync /dev/vg00
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:28 AM
01-17-2006 09:28 AM
Re: replace root mirror drive
1. Shutdown the server , replace the faulty disk.
2. Boot normally.
3. Identify the new disk , with ioscan.
4. # vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t6d0
5. # vgchange -a y /dev/vg00
6. # mkboot -a /dev/rdsk/c2t6d0
7. # mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c2t6d0
8. # lvlnboot -R /dev/vg00
9. # lvlnboot -v /dev/vg00 [ Verify ]
10. # vgsync /dev/vg00
[ Wait till synchronizaion completes. ]
11. # setboot
[ check , the pri and alt path. ]
12. You can reboot and check .
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 09:31 AM
01-17-2006 09:31 AM
Re: replace root mirror drive
Also to check , from which disk the system is booted from , use this command,
# echo "boot_string/s" | adb /stand/vmunix /dev/kmem
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 02:35 PM
01-17-2006 02:35 PM
Re: replace root mirror drive
The steps are as below,
ISL> hpux -lq
# pvcreate -f -B /dev/rdsk/cXtXd0
pvcreate: The physical volume "/dev/dsk/c4t6d0" is already recorded in
the "/etc/lvmtab" file.
# vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtXd0
vgcfgrestore: Couldn't query physical volume "/dev/dsk/c4t6d0":
# mkboot /dev/rdsk/cXtXdX
# mkboot -a "hpux -lq" /dev/rdsk/cXtXdX
# vgchange -a y /dev/vg00
Volume group "/dev/vg00" has been successfully changed.
#vgsync /dev/vg00
To verify offline diagnostics are installed on root and mirror disks:
# lifls -il /dev/rdsk/cXtXd0
To download offline diagnostics:
# cd /usr/sbin/diag/lif
if server is a K-Class:
# mkboot -b updatediaglif -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/cXtXd0
if server is a L/N/V/RP Class:
# mkboot -b updatediaglif2 -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/cXtXd0
# lvlnboot -Rv /dev/vg00
Attached a document for more reference.
Hope this will help you,
Regards,
Shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 02:55 PM
01-17-2006 02:55 PM
Re: replace root mirror drive
If you want to do it online, pls see attached file. but it required HP/UX mirrored software