[Bug 684291] New: device names not updated by zypper dup on Raid0 system
https://bugzilla.novell.com/show_bug.cgi?id=684291 https://bugzilla.novell.com/show_bug.cgi?id=684291#c0 Summary: device names not updated by zypper dup on Raid0 system Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rschweikert@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Ran zypper dup to update from oS 11.3 to oS 11.4 on a system with 2 550 GB drives setup in a RAID 0 config in the BIOS (thus dmraid). After all packages were installed I rebooted the system, but upon reboot the machine could not find the root partition. The partition setup part1 -> /boot (ext2) part2 -> swap part3 -> / (xfs) I received the message Waiting for .......to appear in addition to the problem described in 684113 (dmraid missing) the second problem during this dup operation was that the raid0 drives are identified differently with the new kernel. However, non of the pertinent files were updated /etc/fstab /boot/grub/menu.lst /etc/sysconfig/bootloader were all still pointing to the old device naming that no longer exists. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c1
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c2
Steffen Winterfeldt
problem during this dup operation was that the raid0 drives are identified differently
Differently in what way? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c3
Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c4
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c5
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c6
Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c7
--- Comment #7 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c10
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c11
--- Comment #11 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c12
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c13
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c14
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c19
--- Comment #19 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c20
--- Comment #20 from Robert Schweikert
The reason that it doesn't create the correct links is that /lib/mkinitrd/boot/21-dmraid.sh (which is copied into the initrd) runs dmraid as:
/sbin/dmraid -a y -p
The '-p' says "don't create partitions" which causes you problems because you need partitions. So you could just edit that file, run "mkinitrd" and it should reboot perfectly.
However I'm not confident about removing that "-p" in the distro as it is presumably there for a reason and theoretically people cold depend on it.
I would like to see if we can convert it back to using md. This would involve:
1/ edit /lib/udev/rules.d/64-md-raid.rules to replace
TEST!="md/array_state", GOTO="md_end"
with
ENV{DEVTYPE}=="disk",TEST!="md/array_state", GOTO="md_end"
2/ re-create the initrd with md support:
mkinitrd -f md
3/ Restore the old fstab and menu.lst files (from fstab.bck and menu.lst.old).
4/ reboot and when you get the prompt:
dmraid -an mdadm -As Ctrl-D If that doesn't work (which I think it will) try:
mdadm -Ss mdadm -I /dev/sda mdadm -I /dev/sdb
5/ When you have the system booted again, make a new initrd
mkinitrd
and make sure it boots safely.
Please let me know how it goes.
Alright!! Thanks, this worked, the machine once again boots without manual intervention. :) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c21
Neil Brown
Thanks, this worked, the machine once again boots without manual intervention.
Great. Thanks for the confirmation. I think we are all done here, so closing as 'fixed'. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c22
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c23
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=684291
https://bugzilla.novell.com/show_bug.cgi?id=684291#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com