- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- which is the best approach to replace a failed dis...
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
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-15-2010 07:49 AM
тАО04-15-2010 07:49 AM
I often get disk failed in a VG, like vg00, and it belongs to mirrored lv, so how to replace this failed disk most efficently? usually I first use lvreduce -m 0 to de-mirror all the lvs, but when the disk was failed, it caused i/o issue and it would take so long to lvreduce, though at last, it works, and then I use vgreduce to remove the failed disk from VG's configuration. I assume it is not the best way to reach, but I could not figure out others more efficent.
could any one offer me some hints?
Thanks a lot!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 07:55 AM
тАО04-15-2010 07:55 AM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 07:55 AM
тАО04-15-2010 07:55 AM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 09:05 PM
тАО04-15-2010 09:05 PM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
if your hw is of PA risk
do the following this.
1) vgcfgrestore -n /dev/vg00 /dev/rdsk/cxtydz
2) vgchange -a y vg00
3) mkboot /dev/rdsk/cxtydz
4) mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/cxtydz
5) vgsync vg00
6) lvlnboot -Rv
7) Shutdown -ry 00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2010 04:19 AM
тАО04-16-2010 04:19 AM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
;-)
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
тАО04-16-2010 04:38 AM
тАО04-16-2010 04:38 AM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
I strongly feel that cnd & Pete shud be awarded 10pts....
The link is a must for HPUX admins...
You would learn to learn later, quite sure :-)...
SNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2010 04:43 AM
тАО04-16-2010 04:43 AM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
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
тАО04-16-2010 08:08 AM
тАО04-16-2010 08:08 AM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
I am dealing with vg00, so i think i could not vgchange -a n vg00 when the system was still running. but your opinion gave me hint to deal with other VGs when such situation happens again.
thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2010 08:19 AM
тАО04-16-2010 08:19 AM
Re: which is the best approach to replace a failed disk configured in lv-mirrored VG?
pvchange disables access to a PV not VG..
I would add that sometimes the disk marked with a stale extend is not neccessarily the bad disk.
dd if=/disk_you_think -of=/dev/null
(if no errors then repeat on the other disk as it is probably the one that is bad )
if the good disk has a stale extent then you are out of luck and will have to restore from tape or Ignite if OS..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2010 11:13 AM
тАО04-16-2010 11:13 AM