Comment 15 for bug 495370

Revision history for this message
ceg (ceg) wrote : Re: Please upgrade to 3.1.x for lucid

Installed the 3.1.2 package on a machine and ...

it was the first time mdadm --incremental actually succeeded in re-adding a drive when it was attached to an ubuntu machine after booting. Thumbs up!

You wrote about /var/run/map, but in the running system I see mdadm created /var/run/mdadm.map and /var/run/mdadm only contains monitor.pid, is that intended?

I think instead of recreating the dir on every boot, it could be added to the initramfs staging area with the mdadm's /debian/initramfs/hook script (mkdir -p <$var-containig-staging-rootpoint>/var/run/mdadm) and thus be added to the image.

What I haven't checked is if udev is stopped when the initramfs map file is copied so no new devices show up and may be written to the old location until the real root fs is set up and used.