2010-03-28 09:39:30 |
ceg |
bug |
|
|
added bug |
2010-03-28 10:37:12 |
ceg |
summary |
boot: initramfs missing dir /var/run/mdadm |
initramfs missing /var/run/mdadm dir (loosing state) |
|
2010-03-28 11:37:31 |
Sami Haahtinen |
mdadm (Ubuntu): status |
New |
Confirmed |
|
2010-03-29 03:50:02 |
ceg |
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/mdadm.map.new (man page incorrectly says /var/run/mdadm.map) and not picked up later on, and hotplug devices showing up later can not be matched correctly.
This can be fixed by creating /var/run/mdadm in the initramfs *before* the udevd is started by init-premount/udev (either during creation of the initramfs image, or dynamicly (boot time consuming) in mdadm's initramfs-tools init-top/mdadm script).
The initramfs' /var/run is later copied to the real /var/run as part of the implemented boot process and /var/run/mdadm/map is carries on the a valid --incremental state. |
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/mdadm.map.new (man page incorrectly says /var/run/mdadm.map) and not picked up later on, and hotplug devices showing up later can not be matched correctly.
This can be fixed by creating /var/run/mdadm in the initramfs *before* the udevd is started in init-premount/udev (either during creation of the initramfs image, or dynamicly (boot time consuming) in mdadm's initramfs-tools init-top/mdadm script).
The initramfs' /var/run has to be copied to the real /var/run as part of the boot process so /var/run/mdadm/map carries on the valid --incremental state.
|
|
2010-03-30 11:08:46 |
ceg |
summary |
initramfs missing /var/run/mdadm dir (loosing state) |
initramfs missing /var/run/mdadm/ dir (loosing state, race, misconfig) |
|
2010-04-15 07:22:52 |
ceg |
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/mdadm.map.new (man page incorrectly says /var/run/mdadm.map) and not picked up later on, and hotplug devices showing up later can not be matched correctly.
This can be fixed by creating /var/run/mdadm in the initramfs *before* the udevd is started in init-premount/udev (either during creation of the initramfs image, or dynamicly (boot time consuming) in mdadm's initramfs-tools init-top/mdadm script).
The initramfs' /var/run has to be copied to the real /var/run as part of the boot process so /var/run/mdadm/map carries on the valid --incremental state.
|
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/mdadm.map.new (man page incorrectly says /var/run/mdadm.map) and carried into the main system later on. This means hotplug devices showing up later can not be matched by --incremental correctly. (with a strange device busy failure)
This can be fixed by:
* creating /var/run/mdadm in the initramfs *before* the udevd is started in init-premount/udev (either during creation of the initramfs image, or dynamicly (boot time consuming) in mdadm's initramfs-tools init-top/mdadm script).
* copying initramfs' /var/run the real /var/run as part of the boot process so /var/run/mdadm/map carries on the valid --incremental state.
|
|
2010-09-15 12:34:24 |
Surbhi Palande |
mdadm (Ubuntu): status |
Confirmed |
Incomplete |
|
2010-09-15 14:41:20 |
Jools Wills |
mdadm (Ubuntu): status |
Incomplete |
Confirmed |
|
2010-09-15 16:26:05 |
Surbhi Palande |
mdadm (Ubuntu): status |
Confirmed |
Incomplete |
|
2010-09-16 10:41:01 |
ceg |
mdadm (Ubuntu): status |
Incomplete |
Confirmed |
|
2010-09-16 10:42:43 |
ceg |
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/mdadm.map.new (man page incorrectly says /var/run/mdadm.map) and carried into the main system later on. This means hotplug devices showing up later can not be matched by --incremental correctly. (with a strange device busy failure)
This can be fixed by:
* creating /var/run/mdadm in the initramfs *before* the udevd is started in init-premount/udev (either during creation of the initramfs image, or dynamicly (boot time consuming) in mdadm's initramfs-tools init-top/mdadm script).
* copying initramfs' /var/run the real /var/run as part of the boot process so /var/run/mdadm/map carries on the valid --incremental state.
|
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/mdadm.map.new (man page incorrectly says /var/run/mdadm.map) and carried into the main system later on. This means hotplug devices showing up later can not be matched by --incremental correctly. (with a strange device busy failure)
This can be fixed as explained by Jools in the comments, and as he did in his package.
|
|
2010-09-17 07:17:17 |
Surbhi Palande |
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) |
|
2010-09-17 07:18:02 |
Surbhi Palande |
mdadm (Ubuntu): status |
Confirmed |
In Progress |
|
2010-09-17 07:18:05 |
Surbhi Palande |
mdadm (Ubuntu): assignee |
|
Surbhi Palande (csurbhi) |
|
2010-10-19 09:22:23 |
Launchpad Janitor |
branch linked |
|
lp:~csurbhi/+junk/mdadm.fixes |
|
2010-10-19 20:10:17 |
Stephan B |
bug |
|
|
added subscriber Stephan B |
2011-06-07 01:18:31 |
Steve Langasek |
nominated for series |
|
Ubuntu Lucid |
|
2011-06-07 01:18:31 |
Steve Langasek |
bug task added |
|
mdadm (Ubuntu Lucid) |
|
2011-06-07 01:18:31 |
Steve Langasek |
nominated for series |
|
Ubuntu Maverick |
|
2011-06-07 01:18:31 |
Steve Langasek |
bug task added |
|
mdadm (Ubuntu Maverick) |
|
2011-06-07 05:17:05 |
Steve Langasek |
mdadm (Ubuntu Lucid): status |
New |
In Progress |
|
2011-06-07 05:17:07 |
Steve Langasek |
mdadm (Ubuntu Maverick): status |
New |
In Progress |
|
2011-06-07 05:48:32 |
Steve Langasek |
bug |
|
|
added subscriber Steve Langasek |
2012-05-21 20:17:20 |
Steve Langasek |
mdadm (Ubuntu Maverick): status |
In Progress |
Won't Fix |
|
2012-12-17 17:46:08 |
Grant Slater |
bug |
|
|
added subscriber Grant Slater |
2015-06-17 12:10:19 |
Rolf Leggewie |
mdadm (Ubuntu Lucid): status |
In Progress |
Won't Fix |
|
2016-01-05 19:35:23 |
Till Ulen |
removed subscriber Alexander Konovalenko |
|
|
|