Bug#386468: mdadm: cannot mount root filesystem after upgrade
(system unbootable)
Cyrille Bollu
cyrille.bollu at scarlet.be
Sat Sep 9 09:21:17 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
martin f krafft wrote:
>
> I think it's all due to your chroot. What happens is that mdadm
> decides that /dev/md3 (which probably is your stable root
> filesystem) holds the root filesystem, so it decides to bring it up
> during boot. Your grub configuration, however, is expecting
> /dev/md2...
>
> What happens if you change the INITRDSTART parameter in
> /etc/default/mdadm to /dev/md2 (in the testing chroot) and run
>
> update-initramfs -u -k all
>
> ?
>
> Can you then boot?
>
Hi Martin,
thanks for the help: It is working now!
...
But, still with "/dev/md3" as root filesystem and not "/dev/md2" (my
debian stable is on /dev/md1)... ;-)
Do you have any clue as why the name of my RAID arrays were changed
during the upgrade?
Also, there is still this problem that "mdadm --examine --scan" reports
2 /dev/md4 array:
ARRAY /dev/md4 level=raid1 num-devices=2
UUID=8cfd7b3f:f44097e3:010d5bfc:5a080252
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=c9d8a15d:69fcfbf6:b89fb943:69968fad
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=947adb2e:9b939d79:1998a9c0:14891ae4
ARRAY /dev/md3 level=raid1 num-devices=2
UUID=8ac60f9b:d74f9589:c2bf554b:0cad9b87
ARRAY /dev/md4 level=raid1 num-devices=2
UUID=811eaa24:c9694dbc:5fa24ebc:83dc003d
ARRAY /dev/md5 level=raid1 num-devices=2
UUID=fe7cbc7c:00b73704:1321a79d:dcfcd580
ARRAY /dev/md6 level=raid1 num-devices=2
UUID=aaedc3a2:78e89542:bcc7b974:19ab8fa3
I guess this will lead to another problematic upgrade one day in the future?
Also, what is the difference between "update-initramfs -u -k all" and
"dpkg-reconfigure -plow mdadm". Isn't the second command calling the
first? Because I had tried the 2nd command already without success...
But maybe I did forgot something else at that time...
Thanks again,
Cyrille
- --
.''`. Cyrille
: :' : proud Debian user and debugger
`. `'` http://people.debian.org/~madduck
`-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFAoeNego27Gyd61kRAgIWAKCCarqTWo7NP6mL+2JsQd/rWAHduwCeNTyx
r1x6SzFGGHDE0sxzgyqjf+Y=
=wA8m
-----END PGP SIGNATURE-----
More information about the pkg-mdadm-devel
mailing list