- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stop and re-sync 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
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
тАО01-29-2009 02:01 PM
тАО01-29-2009 02:01 PM
I need shutdown one storage for maintenance and then go on again.
What is the most easy method for stop and resync the mirror?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 03:17 PM
тАО01-29-2009 03:17 PM
Re: Stop and re-sync mirror
Have a look at this white paper and check if you have next patches installed.
For 11.11: Patches PHKL_31216 and PHCO_30698 (or superseding patches)
http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 04:30 PM
тАО01-29-2009 04:30 PM
Re: Stop and re-sync mirror
lvextend -m 0
to break it
lvextend -m 1
to rebuild
rebuild will take some time.
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-29-2009 11:17 PM
тАО01-29-2009 11:17 PM
Re: Stop and re-sync mirror
As a word of caution before doing this i shall suggest you to run the following commands so that you can have the PV list for the existing VG as well as the a map file in place for the VG(s).
for all the VGs that are having the mirrors (MirrorDisk/UX)on both the storages as said by you Ealier, PLease run.
#vgexport -p -v -s -m /tmp/
#vgexport -p -v -f /tmp/
Kepping these map files and the PV list for the involved VGs shall be good.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 12:07 AM
тАО01-30-2009 12:07 AM
Re: Stop and re-sync mirror
man pvchange
Example:
pvchange -a n /dev/dsk/c3t0d0s2
Warning: Detaching a physical volume reduces the availability of data
within the logical volumes residing on that disk.
Prior to detaching a physical volume or the last available path to it,
verify that there are alternate copies of the data
available on other disks in the volume group.
If necessary, use pvchange(1M) to reverse this operation.
Physical volume "/dev/dsk/c3t0d0s2" has been successfully changed.
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-30-2009 07:33 AM
тАО01-30-2009 07:33 AM
Re: Stop and re-sync mirror
I'm unclear as to whether the original poster was attempting to move data off one storage system to another prior to maint. or if he simply needed to break off the mirrors.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 09:11 AM
тАО01-30-2009 09:11 AM
SolutionIn most cases the system will notice that the missing storage is back and start syncing in background.
In all other cases, when the system does not recognize the storage, simply do ioscan and vgsync for any vg with stale extents (or lvsync respectively).
This biggest advantage here is, that you won't need to resync all extents, but only those that changed while the mirror was down.
If, for some unkown reason, none of the mentioned steps work to bring the mirror back online, you're still free to break the mirror, even if the mirror disks are completely gone.
My 2 cents,
Armin
PS: Please assign points if you find answers useful!