- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: replace bad drive in OS mirror
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
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
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
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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2012 09:59 AM