Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149855 Details for
Bug 231874
vgcfgbackup does not work with partial lvm1 vg despite the fact that lvs exist with all pvs accounted for
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Major hack - just skip failure on PE checks in check_pv_segments and check_lv_segments if partial flag is set
lvm2-allow-partial-vgs-for-lvm1.patch (text/plain), 1.39 KB, created by
Dave Wysochanski
on 2007-03-12 19:25:30 UTC
(
hide
)
Description:
Major hack - just skip failure on PE checks in check_pv_segments and check_lv_segments if partial flag is set
Filename:
MIME Type:
Creator:
Dave Wysochanski
Created:
2007-03-12 19:25:30 UTC
Size:
1.39 KB
patch
obsolete
>Index: LVM2-newcmd/lib/metadata/pv_manip.c >=================================================================== >--- LVM2-newcmd.orig/lib/metadata/pv_manip.c 2007-02-23 13:20:44.000000000 -0500 >+++ LVM2-newcmd/lib/metadata/pv_manip.c 2007-03-12 15:09:27.000000000 -0400 >@@ -290,13 +290,17 @@ int check_pv_segments(struct volume_grou > if (free_count != vg->free_count) { > log_error("PV segment VG free_count mismatch: %u != %u", > free_count, vg->free_count); >- ret = 0; >+ /* partial VGs for LVM1 will fail extent counting */ >+ if (!(vg->status & PARTIAL_VG)) >+ ret = 0; > } > > if (extent_count != vg->extent_count) { > log_error("PV segment VG extent_count mismatch: %u != %u", > extent_count, vg->extent_count); >- ret = 0; >+ /* partial VGs for LVM1 will fail extent counting */ >+ if (!(vg->status & PARTIAL_VG)) >+ ret = 0; > } > > return ret; >Index: LVM2-newcmd/lib/metadata/merge.c >=================================================================== >--- LVM2-newcmd.orig/lib/metadata/merge.c 2007-02-23 13:20:44.000000000 -0500 >+++ LVM2-newcmd/lib/metadata/merge.c 2007-03-12 15:13:46.000000000 -0400 >@@ -132,6 +132,8 @@ int check_lv_segments(struct logical_vol > log_error("LV %s: segment %u has " > "inconsistent PV area %u", > lv->name, seg_count, s); >+ /* partial VGs for LVM1 will fail extent counting */ >+ if (!(lv->vg->status & PARTIAL_VG)) > r = 0; > } > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231874
: 149855