- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Steps to replace mirrored disk - HPUX
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
01-25-2007 03:11 AM
01-25-2007 03:11 AM
I have a disk that contains 10 logical volumes witch are mirrored and two witch are not mirrored. There are many "error reading from the disk" events from this disk, logged in the system. I have decided to replace this disk, to prevent any possible data failure.
I would appreciate if somebody tell me the steps to perform to replace this disk, as it contains both mirrored and non-mirrored LV.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:25 AM
01-25-2007 03:25 AM
Solution1) put in the new disk
2) run a vgcfgrestore to restore the VG configuration
3) reactivate the VG (vgchange -a y vg??)
4) vgsync to resynchronize your mirrored LV's
5) Restore the data from your non-mirrored LVs.
If you replace a disk that has non-mirrored LV's then you WILL have data loss unless you run a backup before the replacement or move the data to a different disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:38 AM
01-25-2007 03:38 AM
Re: Steps to replace mirrored disk - HPUX
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 07:38 AM
01-25-2007 07:38 AM
Re: Steps to replace mirrored disk - HPUX
Make sure you read and understand the document provided by Steven.
In case this is a data volume and your patch level is current, make sure you are using the
pvchange -a n /dev/dsk/...
command to prevent any LVM access to the disk before you pull out the culprit.
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
01-25-2007 05:17 PM
01-25-2007 05:17 PM
Re: Steps to replace mirrored disk - HPUX
Mirroed boot disk and Mirrored data disk procedure varies greatly only in the LIF preperation in he concerned disk.
The common procedure between these two are
1. reduce the lv from mirror using lvreduce -m 0 /dev/vgxx/lvxx /dev/dsk/cxtxdx (fault pv name)
2. reduce the vg from the pv
vgreduce /dev/vgxx /dev/dsk/cxtxdx (faulty pv name)
Before diong this take a vgcfg backup.
There is detaield document on this in docs.hp.com at
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
TQ
Perumal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2007 10:11 PM
01-28-2007 10:11 PM