https://bugzilla.novell.com/show_bug.cgi?id=656536
https://bugzilla.novell.com/show_bug.cgi?id=656536#c10
Neil Brown changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
InfoProvider| |hare@novell.com
--- Comment #10 from Neil Brown 2011-03-01 22:13:00 UTC ---
Thanks.
There seem to be (at least) two bugs here.
1/ when run from the installer, mkinitrd doesn't know about a resumedev
and so doesn't tell the various scripts about one. You can confirm this
by looking in y2logmkinitrd in the YaST logs.
It mentioned "Root device:" but not "Resume device:".
2/ When given a resume device like /dev/disk/by-id/md-uuid-xxxxxxx
the mdadm boot script behaves poorly if that uuid is not found in
mdadm.conf and assumes /dev/md0. It really doesn't need to assume
anything at all.
The important difference between the LiveCD and the DVD/NET installs are
that the LiveCD sets
resume=/dev/md2
while the DVD/NET install sets
resume=/dev/disk/by-id/md-uuid-xxxxxxxx
I can fix '1' by changing:
if test -z "$dev"; then
# fallback
dev=/dev/md0
fi
$mdadm -A $mdconf --uuid=$uuid "$dev"
to
if test -z "$dev"; then
$mdadm -A $mdconf --uuid=$uuid
else
$mdadm -A $mdconf --uuid=$uuid "$dev"
fi
The others need to be handled by someone who understands mkinitrd
and installers...
Hannes: can you make any comment on '2'?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.