- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- removing mirrored bad 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
03-05-2003 12:57 PM
03-05-2003 12:57 PM
removing mirrored bad root disk
I have hot swapped the disk.
I couldn't break the mirror before nor can I now.
I can't pvcreate it because it's part of vg00.
I can't remove it because it can't query it.
I did do the makeboot and makeboot -a commands.
I did the vgcfgrestore and it complained that it couldn't query it but it did say that it did restore the vg configuration to the disk.
I haven't rebooted.
Any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 12:59 PM
03-05-2003 12:59 PM
Re: removing mirrored bad root disk
However, you will still have to do
#vgchange -a y vg00
#vgsync
Once this is done, do a lvlnboot -R and lvlnboot -v to make sure they show up correctly.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:13 PM
03-05-2003 01:13 PM
Re: removing mirrored bad root disk
# pvcreate -B /dev/rdsk/c2t2d0
# mkboot -l /dev/rdsk/c2t2d0
# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
# vgcfgrestore -n vg00 /dev/rdsk/c2t2d0
# vgchange -a y vg00
# vgsync vg00
If the above does not work out (for some reason) then I would do this (only do this if you're very sure your vg00.conf file is good !!)..
Reboot the machine escape the quorum in single user mode.
ISL> hpux -is -lq (;0)/stand/vmunix
# pvcreate -f -B /dev/rdsk/c2t2d0
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t2d0
# vgchange -a y /dev/vg00
# vgsync /dev/vg00
# mkboot -l /dev/rdsk/c2t2d0
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0
# lvlnboot -R
# lvlnboot -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:25 PM
03-05-2003 01:25 PM
Re: removing mirrored bad root disk
"...I can't remove it because it can't query it...."
Can you dd it?
dd if=/dev/dsk/c2t2d0 of=/dev/null count=1000000
control c (* break after a minute to get past the cache *)
### blocks in / out
If the cursor doesn't come back after the control c then the disk is bad.
Also, use the following to verify you can't see the PV Number of the old disk.
vgdisplay -v vg00
If so, then use :
reboot
interrupt
ISL > hpux -lm -is (* LVM maintenance mode *)
vgchagne -a y -q y /dev/vg00 (* activate without quorum *)
vgreduce -f /dev/vg00 (* reduce out old disk *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:27 PM
03-05-2003 01:27 PM
Re: removing mirrored bad root disk
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062909815
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:28 PM
03-05-2003 01:28 PM
Re: removing mirrored bad root disk
1)I have an L class that had a mirrored root disk go bad.
-ok
2) I have hot swapped the disk.
-ok
3) I couldn't break the mirror before nor can I now.
-You need not break the mirror, just followed the process I had earlier.
4) I can't pvcreate it because it's part of vg00.
-The pvcreate will fail if the disk that you've inserted belong to another VG previously. You can use "-f" option to force it. Extra CAUTIOUS .. don't pvcreate the wrong disk.
5) I can't remove it because it can't query it.
-There's no need to remove it.
The rest of the steps are part of the recovery process after step 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:55 AM
03-21-2003 06:55 AM
Re: removing mirrored bad root disk
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:56 AM
03-21-2003 06:56 AM
Re: removing mirrored bad root disk
Any points to award?