- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- some extents current even after disk replaced
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
тАО08-14-2001 05:52 AM
тАО08-14-2001 05:52 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 07:08 AM
тАО08-14-2001 07:08 AM
Re: some extents current even after disk replaced
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 07:18 AM
тАО08-14-2001 07:18 AM
SolutionYou are not in bad shape and a vgsync (or an lvsync if you prefer will fix you). The reason that some of the extents are marked current is that they were able to updated using the Mirror Write Cache when you did the vgchange. Note that your vgdisplay show:
Consistency Recovery MWC
The current extents on both disks are indeed current and a vgsync will correctly sync the stale extents to the current and take no action on the current extents.
Hope this clears it up, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 07:35 AM
тАО08-14-2001 07:35 AM
Re: some extents current even after disk replaced
I've seen this happen a couple of times before. You MUST follow the correct procedure to replace a failed LVM mirrored disk.
I believe that the system only knows that extents are stale when it tries to tries to update them and the write to that disk fails. Extents that have not been updated are still current.
If you replace a disk without ensuring that either:
- all extents are marked stale or
- all extents are removed from the failed disk
then the system will continue to read current extents from the new disk when in fact these contain absolute garbage. This will result in filesystem and data corruption.
Document ID KBAN00000347 describes the procedure for replacing an LVM disk and LVMKBRC00006111 the procedure for replacing a hot swap disk. If you follow the former for replacing a hot swap disk, then you can cause the above corruption if you don't reboot the server (which is one of the steps because it assumes that the server has to be powered off to replace the disk). Is this what you did? The reboot and reactivation of the volume group causes all extents on the failed disk to be marked stale - so no problem!
The hot swap procedure requires you to remove ALL extents from the failed disk with lvreduce before swapping the disk. You have the choice of leaving it in the VG empty and vgcfgrestoring after replacement or removing it from the VG altogether, replacing it then pvcreateing the replacement and vgextend.
Hope this helps,
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2001 08:44 PM
тАО08-15-2001 08:44 PM
Re: some extents current even after disk replaced
I saw this behaviour before.
Replace the disk
Do vgcfgrestore
Do vgchange -a y
and you see stale/current entries. Did you compare it against the previous lvdisplay output?
I feel your vgcfgrestore is the culprit here. That might happen if the vgcfgbackup was run after the disk failure.
I would safely remove the mirrors and recreate them. I do not believe in running vgsync. CLEAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2001 08:41 AM
тАО08-16-2001 08:41 AM
Re: some extents current even after disk replaced
Thanks to all !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 06:27 PM
тАО11-24-2003 06:27 PM
Re: some extents current even after disk replaced
I am using pvmove to transfer data disk to
disk online.