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 579124 Details for
Bug 796906
raid volumes with multiple device failures need a way to do partial allocation
[?]
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]
Partial fix for this bug
bz796096-replace-with-partial.patch (text/plain), 979 bytes, created by
Jonathan Earl Brassow
on 2012-04-20 23:14:37 UTC
(
hide
)
Description:
Partial fix for this bug
Filename:
MIME Type:
Creator:
Jonathan Earl Brassow
Created:
2012-04-20 23:14:37 UTC
Size:
979 bytes
patch
obsolete
>Index: LVM2/lib/metadata/raid_manip.c >=================================================================== >--- LVM2.orig/lib/metadata/raid_manip.c >+++ LVM2/lib/metadata/raid_manip.c >@@ -1632,10 +1632,28 @@ int lv_raid_replace(struct logical_volum > * > * - We need to change the LV names when we insert them. > */ >+try_again: > if (!_alloc_image_components(lv, allocate_pvs, match_count, > &new_meta_lvs, &new_data_lvs)) { > log_error("Failed to allocate replacement images for %s/%s", > lv->vg->name, lv->name); >+ >+ /* >+ * If this is a repair, then try to >+ * do better than all-or-nothing >+ */ >+ if (match_count > 1) { >+ log_error("Attempting replacement of %u devices" >+ " instead of %u", match_count - 1, match_count); >+ match_count--; >+ >+ /* >+ * Since we are replacing some but not all of the bad >+ * devices, we must set partial_activation >+ */ >+ lv->vg->cmd->partial_activation = 1; >+ goto try_again; >+ } > return 0; > } >
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 796906
: 579124 |
579127