- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Break a failing mirrored boot 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
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
тАО04-19-2004 02:45 AM
тАО04-19-2004 02:45 AM
My mirror hard drive is failing. EMS is reporting a number of new bad spots on the drive and I want to have HP replace it.
I would reason that I need to break that mirror and then remirror when the replacement drive is put into place.
How would I go about doing that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 02:50 AM
тАО04-19-2004 02:50 AM
Re: Break a failing mirrored boot drive
Then check if it claimed in ioscan output, if yes
do vgcfgrestore -n vg00 /dev/rdsk/cxtxdx
vgchange -a y vg00
vgsync
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 02:51 AM
тАО04-19-2004 02:51 AM
Re: Break a failing mirrored boot drive
lvreduce -m 0 lvname
example:
lvreduce -m 0 /dev/vg00/lvol1
I don't think its required to break the mirror before replacing the drive.
However I always do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 08:07 AM
тАО04-19-2004 08:07 AM
SolutionYou don't have to reduce the mirror to replace the disk.
Once you have replaced the disk, do a vgcfgrestore to restore the VG info to the disk. Do a "vgchange -a y /dev/vg00" to activate the disk and then do a vgsync for /dev/vg00 to resync the mirror copies.
Try this link from ITRC.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066374050
The itrc doc id is KBAN00000347.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 08:16 AM
тАО04-19-2004 08:16 AM
Re: Break a failing mirrored boot drive
You dont have to break the mirror and remirror to replace the failed drive
Assuming your hard drive is not hotswappable
1) Shutdown & get the hard drive replaced
2) boot
3) # vgcfgrestore -n vg00 /dev/rdsk/c#t#d#
# mkboot /dev/rdsk/c#t#d#
# mkboot -a "hpux -lq" /dev/rdsk/c#t#d#
# vgsync /dev/vg00
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 01:06 AM
тАО04-20-2004 01:06 AM
Re: Break a failing mirrored boot drive
I had a mirrored data disk, in a set of 8 jamaica disks. Two of the 8 disks were a mirrored vg00. We pulled the bad vg01 disk. Then all 8 disks started to act weird and were trashed.
So now when I think "hot" swappable. I know it's hot. I'll get BURNED. Just a word of warning if you are using a V-class machine with Jamaica disks.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2004 05:22 AM
тАО04-21-2004 05:22 AM
Re: Break a failing mirrored boot drive
Special credit goes to Sanjay and to Steve Post.
The documentation SanJay specifically pointed me to was very very helpful. The note on the Jamaica drives from Steve Post was also very helpful since I my mirrored root volumes were in a Jamaica box but running on a K420. Nonetheless, I just didn't take any chances, we shut down before doing the swaps... Thanks for the forewarning!
A couple of comments... The document SanJay referred to, in step 4.2, I added the -lq (ell que) parameter to the mkboot -a command. I also needed to do one more mkboot command to copy over the diagnostics information as well. Ultimately, here is what I ran (assume c5t0d0 is my good primary boot disk and c4t6d0 is my mirror boot disk that I replaced):
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c4t6d0
# vgchange -a y /dev/vg00
# mkboot /dev/rdsk/c4t6d0
# mkboot -a "hp-ux -lq(;0)/stand/vmunix" /dev/rdsk/c4t6d0
# lvlnboot -R
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c4t6d0
# vgsync /dev/vg00
After it finished syncing the two drives, I was able to reboot the server and used the BO ALT to boot from my mirror... it worked perfectly.
Again, THANK YOU to ALL of you who contributed to this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 05:32 PM
тАО06-29-2004 05:32 PM
Re: Break a failing mirrored boot drive
who can show it to me ???
or mailto:panlm@vip.sina.com
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 03:17 PM
тАО10-14-2005 03:17 PM