- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcfgrestore problem after replacing 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
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-03-2004 10:31 AM
тАО05-03-2004 10:31 AM
vgcfgrestore problem after replacing mirror
I then ran a vgcfgrestore, vgchange and a vgsync to the volume group. I dit not receive any errors running any of these commands. Somehow two of my filesystems became corrupted. One I was not able to do a fsck -F vxfs -o full -y - it returned a bad magic number. Tried a couple times but no luck. The mirror as also gone. I verified from the previous days data collection that the lv was mirrored but I was unable to get it to mount. Finally I removed the lv, recreated it and had it restored. The other fs contained oracle tables. The tables were there but were corrupt (fsck would not fix). We are now in the process of restoring the db files. I have replaced mirrors probably a dozen times and have never seen file corruption like this.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 10:47 AM
тАО05-03-2004 10:47 AM
Re: vgcfgrestore problem after replacing mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 10:49 AM
тАО05-03-2004 10:49 AM
Re: vgcfgrestore problem after replacing mirror
If you still have the old disk you might try to reconnect it to i.e. a testsystem and try a vgimport -q n from it.
Do you see any stale extents.
I guess this doesnt realy help you....
regards
Juergen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 10:56 AM
тАО05-03-2004 10:56 AM
Re: vgcfgrestore problem after replacing mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 11:25 AM
тАО05-03-2004 11:25 AM
Re: vgcfgrestore problem after replacing mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 11:44 AM
тАО05-03-2004 11:44 AM
Re: vgcfgrestore problem after replacing mirror
The mirrors not recovering the lost data tells me eith of the two things: 1) the replaced disk was not the bad one (believe me it happens more frequently than you can think), or 2) Mirror disk was just a step behind the original disk on its way to the graveyard and during the process it also bit the dust.
Also on a very remote possibility, the firmware revisions of the disk devices may be the thing to blame for LVM corruption, but not very likely.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 12:12 PM
тАО05-03-2004 12:12 PM
Re: vgcfgrestore problem after replacing mirror
Thanks again for the quick update. I believe the problems you experienced were due to a patching issue. A potential problem was addressed in patch PHKL_29602:
CR:JAGae88760
After replacing a failed LVM disk, restoring it with vgcfgrestore(1M) and activating the volume group it belongs to - all according to the normal, recommended procedure - there is a high probability of silent data corruption if any mirrored logical volumes have data on that disk. What is supposed to happen is that the data gets marked "stale" and resync'ed from another mirror, but this isn't being done correctly.
The latest version of this patch is PHKL_30553. There are several dependencies associated with
the patch that will need to be installed as well. The ITRC patch database will resolve those dependencies for you and present you with a patch bundle which you can install. An alternative would be to install the latest quality pak patch bundle from the latest support plus cd. It's available for download from:
Thanks for all the responses