Red Hat Bugzilla – Bug 885268
dracut corrupts raid1 metadata when set to load md-raid and dm-raid
Last modified: 2013-07-31 21:08:17 EDT
Description of problem:
When I boot without rd.md=0 and rd.dm=0 then dracut properly detects my raid1 but it somehow marks the metadata of the array as durty which makes it resync itself. In addtition to this the detected array partitions cannot be accessed. No error messages are shown. mdadm just freezes and I cannot mount any of the detected raid partitions.
When I boot with rd.md=0 and rd.dm=0 then the array is properly set but each hdd partition is listed 3 times (1x sda1; 1x sdb1; 1x md126p1) in konqueror und gnome (I don't know the name its file manager). In this case I can properly access each partion but if I intentionally touch any of the raid-disks, then they start resyncing.
Version-Release number of selected component (if applicable):
Boot with any imsm raid1 array and without rd.md=0 and rd.dm=0
Steps to Reproduce:
Paritions either not accessable or listed more than once.
The raid should be detected and porperly initiallized at startup without making it resync itself. Then only the raid partitions should be visible in any file manager, not the actual hdd-paritions.
I'm not sure if this is really a dracut bug or should be filed against udev or udevadm or maybe mdadm? This also happens with f18 and rawhide.
If your root or /usr device is not on raid, you should always have "rd.md=0 rd.dm=0" on your kernel command line.
Anyway, the problem will soon go away, as we will not autoassemble devices anymore in future dracut versions.
Will there be another helpers (or so) that will do the assembling at startup? What should I do in the mean time? As I said the partitions are listed 3 times in the file explorer.
If I manually deassemble and then reassemble the array after startup then everything is fine in the file explorerr...
Will anyone EVER take a look at this??? It's a month without any useful comments!
Well we have other bugs to look at as well. Second your bug report is
incomplete. You haven't provided any information about the actual raid
configuration and partition layouts such as /proc/mounts and /proc/mdstat
output, and do you use LVM or not?
As Harald already stated, if you don't have / or /usr on raid, it should
not auto-assemble the array in the initrd, and the assembly then depends
on your /etc/mdadm.conf settings
Please start out by trying the fixes listed in
Did you get this resolved based on the above fixes or is this still an issue?
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.