- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Missing mirror copy
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
тАО05-25-2004 12:38 AM
тАО05-25-2004 12:38 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2004 12:45 AM
тАО05-25-2004 12:45 AM
SolutionI personnally would go for the safer route which would be to split your mirrors than shut it down, and then resync them afterwards.. but that's just me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2004 12:46 AM
тАО05-25-2004 12:46 AM
Re: Missing mirror copy
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2004 12:49 AM
тАО05-25-2004 12:49 AM
Re: Missing mirror copy
I think better to do lvsplit and do the shutdown and Use lvsync to resync them all
There is a possibility of continous error messages in syslog.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2004 02:00 AM
тАО05-25-2004 02:00 AM
Re: Missing mirror copy
Could you also please refresh my memory of the safest way of doing the lvsplit and lvmerge then lvsync? If you could put it step by step I would appreciated
BR
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2004 02:11 AM
тАО05-25-2004 02:11 AM
Re: Missing mirror copy
for LVOL in /dev/vg01/lvol*
do
lvsplit -s backup $LVOL
done
then
for LVOL in /dev/vg01/lvol*
do
lvmerge $LVOLbackup $LVOL
done
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2004 02:57 AM
тАО05-25-2004 02:57 AM
Re: Missing mirror copy
I think that if u will NOT change the LUN on the second EVA, that is to say when u bring it up the LUN will be exactly as before, tyhere is no need to do anithing: after all mirror (RAID 1) is used exactly to protect in case of missing of one copy !!
The only thing that happens is some messages complaining about a missing copy but the system go on using the working copy of the lv.
When the copy is available again, LVM will sync the LVs and everything is back. In the worst case LV will not sync the copies automatically and u have to run the command vgsync.
If u r planning to change the LUN of the second EVA, splitting and merging is non sense. If u change the LUNs, the PV will be not valid: u have to lvreduce -m 1 all the LVs (reducing the mirror copy) and vgreduce also to deallocate the PV from the VG.
What i'm trying to say is that if u can lvmerge after the power up there is no need to lvsplit before. If the EVA change the configuration u will not see the PV in the VG so u will not be able to lvmerge after
hope this help
Cesare Salvioni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 02:27 AM
тАО05-26-2004 02:27 AM
Re: Missing mirror copy
Like Cesare Salvioni, I├в m sure that you don├в t have to worried by this.
When you have two or more disk in mirror and lose one copy, when the copy is available again, LVM will sync the LVs.
But be careful that only in two cases the LVs will synchronize automatically:
- When a disk comes back online after experiencing a power failure.
- When you extend a logical volume by increasing the number of mirror copies ├в the newly added physical extents will be synchronized.
If you have to synchronize your LVs manually you must use the vgsync command or the lvsync command.
It├в s necessary that you check the Recovery Method used in the LVs definitio