maps file not getting copied from initramfs to real rootfs (loosing state, race, misconfig)
Bug #550131 reported by
ceg
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
In Progress
|
Undecided
|
Surbhi Palande | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mdadm
"mdadm --incremental" will save state in a map file under /var/run/mdadm/map.
But in initramfs and early boot this directory does not exist.
The state is then saved in /var/run/
This can be fixed as explained by Jools in the comments, and as he did in his package.
Related branches
summary: |
- boot: initramfs missing dir /var/run/mdadm + initramfs missing /var/run/mdadm dir (loosing state) |
summary: |
- initramfs missing /var/run/mdadm dir (loosing state) + initramfs missing /var/run/mdadm/ dir (loosing state, race, misconfig) |
description: | updated |
summary: |
- initramfs missing /var/run/mdadm/ dir (loosing state, race, misconfig) + maps file not getting copied from initramfs to real rootfs (loosing + state, race, misconfig) |
Changed in mdadm (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Surbhi Palande (csurbhi) |
Changed in mdadm (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in mdadm (Ubuntu Maverick): | |
status: | New → In Progress |
To post a comment you must log in.
this issue can be identified from the initramfs by checking the current md devices. Only one of the disks in the array is active and incremental adding fails with error, /dev/md/d0 device already exists.
one time workaround is to stop the existing array and manually assemble the array without --incremental.