- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- replace bad drive in OS mirror
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-2012 10:02 AM
09-11-2012 10:02 AM
HP9000 N class, runnning HPUX B.11 have c1t60 and c2t6d0 in vg00 and OS mirrored.
C2t6d0 drive is bad.
I am going to use this Procedure to replace the bad drive
Hotswap (remove the bad drive then replace the new drive)
#ioscan -fnC disk
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t6d0
#vgchange -a y /dev/vg00
#mkboot /dev/rdsk/c2t6d0
#mkboot -a "hpux -lq" /dev/rdsk/c2t6d0
#vgsync /dev/vg00
#lvlnboot -R
Please let me know if this will work
Thanks
-C
Solved! Go to Solution.
- Tags:
- mirroring
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-2012 11:01 AM
09-11-2012 11:01 AM
Re: replace bad drive in OS mirror
Follow this:
When_Good_Disks_Go_Bad_WP
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-2012 02:13 PM
09-11-2012 02:13 PM
Re: replace bad drive in OS mirror
The document is general.
How do I know the system have LVM Online Disk Replacement (LVM OLR) ?
Can I do swap the disk online or single user mode?
Does any one have experience with similiar issue like in this?
Thanks,
-C
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-2012 10:41 PM
09-11-2012 10:41 PM
Re: replace bad drive in OS mirror
Do
# man pvchange
if "-a" is listed, you can do OLR.
No need to go into single user mode.
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-12-2012 05:49 AM
09-12-2012 05:49 AM
Re: replace bad drive in OS mirror
When I do "man pvchange"
did not see option "-a"
only see option "-A"
Remarks: pvchange cannot be performed if the volume group is activated in shared
mode.
Does that mean, cannot do OLR?
so in this case must perform single usermode?
Do I need to do lvreduce *, vgreduce, remove the bad drive in single usermode?
Thanks,
-C
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-12-2012 11:51 PM
09-12-2012 11:51 PM
Re: replace bad drive in OS mirror
This means that you do not have LVM OLR functionality in that server. In this case you can use any of the below 2 methods.
Method 1:
Remove the disk from the volume group and readding the replaced disk to volume group. This requires the below steps:
1. Reduce any logical volumes that have the mirror copies on the faulty disk.
2. Remove the PV from the volume group.
3. Replace the faulty disk.
4. Detect the newly replaced disk with ioscan.
5. Now follow the steps to Mirror the Root Volume on PA-RISC Servers (Appendix D) as mentioned in the HP whitepaper
When Good Disks Go Bad: Dealing with Disk Failures under LVM:
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
Method 2:
Shut down the system. This halts LVM access to the disk, but makes the entire system inaccessible. Use this option
only if you do not want to remove the disk from the volume group and you cannot deactivate it.
Pradeep
I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-20-2012 02:23 AM
09-20-2012 02:23 AM
Re: replace bad drive in OS mirror
the above mentioned step will work witout any issues .
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-20-2012 06:22 AM
09-20-2012 06:22 AM
Re: replace bad drive in OS mirror
Hello,
my notes cite the same commands. The differences are in the ordering of the commands, which does not make any difference here.
--> It will work.
Bye
Ralf
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-24-2012 09:59 AM
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP