Bug 109251
Summary: | Kickstart raid5 parity not properly initialized | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Hrunting Johnson <hrunting> | ||||
Component: | anaconda | Assignee: | Jeremy Katz <katzj> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | CC: | mingo | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-10-05 03:34:22 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Hrunting Johnson
2003-11-06 03:58:42 UTC
Created attachment 95767 [details]
Patch to force raid5 initializations to resync
*** Bug 108613 has been marked as a duplicate of this bug. *** Has anyone had a chance to review this? This affects all versions of Anaconda I've used, from Redhat 9 up to Fedora Core 2 Test 1. I supplied a patch, but this is fairly serious. Anyone who creates a RAID5 filesystem with Anaconda has a ticking time-bomb causing immediate data loss if they lose one drive. The patch is simple. For RAID5 filesystems, don't enable the (aptly named) '--dangerous-no-resync' option. For RAID5, unless you wipe the disks first (ie. put them into a known state by writing all 0's or all 1's to them), you MUST do an initial parity sync. Otherwise, you have no idea what your initial parity state is and when the drive fails, you're essentially reconstructing the bits from possibly/probably/almost-always unknown (ie. wrong) parity data. In my experience, it aways leads to corruption. We're using mdadm now which does this automatically. |