[Bug 466894] New: single-user boot with /boot on RAID-1 fails to find existing boot & some-not-all other devices
https://bugzilla.novell.com/show_bug.cgi?id=466894 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=466894#c1 Summary: single-user boot with /boot on RAID-1 fails to find existing boot & some-not-all other devices Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pgnet.trash@gmail.com QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 I'm running uname -a Linux server 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux I've patched OS 11.1's "/lib/mkinitrd/scripts/setup-md.sh", per, "Bug 461673 - xen/kernel-xen on OpenSuse 11.1 not starting; OK on OpenSuse 11.0" https://bugzilla.novell.com/show_bug.cgi?id=461673 my setup is RAID-1 based, disks sdc+sdd /boot on /dev/md0, fmt=ext3 swap on /dev/md1, fmt=swap /root on /dev/md2:VG(VG_Dom0):LV(LV_ROOT), fmt=ext3 /home/store on /dev/md3:VG(VG_DomU):LV(store), fmt=ext3 /home/work on /dev/md3:VG(VG_DomU):LV(work), fmt=ext3 disks sda+sdb 'other' on /dev/md4 'other' on /dev/md5 & boots OK, df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/VG_Dom0-LV_ROOT 13G 5.5G 6.6G 46% / udev 4.2G 213k 4.2G 1% /dev /dev/md0 152M 53M 91M 37% /boot none 68M 0 68M 0% /tmp /dev/mapper/VG_DomU-store 5.3G 4.5G 572M 89% /home/store /dev/mapper/VG_DomU-work 11G 451M 9.6G 5% /home/work with all RAID devs available (i'm curious/concerned about the "resync=PENDING .. tbd later ...), cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [linear] md5 : active (auto-read-only) raid1 sda2[0] sdb2[1] 347606300 blocks super 1.0 [2/2] [UU] resync=PENDING bitmap: 332/332 pages [1328KB], 512KB chunk md4 : active (auto-read-only) raid1 sda1[0] sdb1[1] 629145424 blocks super 1.0 [2/2] [UU] resync=PENDING bitmap: 293/300 pages [1172KB], 1024KB chunk md3 : active raid1 sdc4[0] sdd4[1] 230934236 blocks super 1.0 [2/2] [UU] bitmap: 0/441 pages [0KB], 256KB chunk md0 : active raid1 sdc1[0] sdd1[1] 152604 blocks super 1.0 [2/2] [UU] bitmap: 0/10 pages [0KB], 8KB chunk md1 : active raid1 sdc2[0] sdd2[1] 522100 blocks super 1.0 [2/2] [UU] bitmap: 0/8 pages [0KB], 32KB chunk md2 : active raid1 sdc3[0] sdd3[1] 12578820 blocks super 1.0 [2/2] [UU] bitmap: 5/192 pages [20KB], 32KB chunk If I reboot this setup to single user, title OS 11.1 SINGLE_USER root (hd0,0) kernel /vmlinuz single root=/dev/system/ROOT iommu=force irqpoll initrd /initrd @ shell prompt, ls /boot is completely empty. looks like /boot on /dev/md0 is not mounted at all. checking cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [linear] md1 : active (auto-read-only) raid1 sdc2[0] sdd2[1] 522100 blocks super 1.0 [2/2] [UU] bitmap: 0/8 pages [0KB], 32KB chunk md2 : active raid1 sdc3[0] sdd3[1] 12578820 blocks super 1.0 [2/2] [UU] bitmap: 7/192 pages [28KB], 32KB chunk md0, md3, md4 & md5 are missing. md4/5, i suspect, because the associated drives are hanging off of a PCI/SATA card ... but shouldn't md0 & md3 both be there & mounted? attempting to mount mount -a mount: special device /dev/md0 does not exist mount: special device /dev/VG_DomU/store does not exist mount: special device /dev/VG_DomU/work does not exist they're apparently not-mountable :-/ Reading @ possibly relevant, Bug 445490 - boot stops on mounting a software RAID - Invalid root filesystem https://bugzilla.novell.com/show_bug.cgi?id=445490#c19 it looked worth a try. applying the referenced patch to, /lib/mkinitrd/scripts/boot-md.sh and rebooting, unfortunately, makes no difference; md0/3/4/5 are still missing in single-user. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=466894 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=466894#c1 --- Comment #1 from pgnet _ <pgnet.trash@gmail.com> 2009-03-05 09:29:49 MST --- it's been ~ two months; can someone please triage? restating: my OS11.1 has both "/boot" & "/" on RAID-1 partitions. "/boot" is on an ext3 formatted partition, grep boot /etc/fstab /dev/md0 /boot ext3 acl,user_xattr 1 2 and, "/" is on an ext3 LV pvs /dev/md2 PV VG Fmt Attr PSize PFree /dev/md2 VG0 lvm2 a- 11.97G 0 grep LV_ROOT /etc/fstab /dev/VG0/LV_ROOT / ext3 acl,user_xattr 1 1 it works fine. booting into single user mode, however, "/boot" doesn't mount/appear, df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/VG0-LV_ROOT 13G 4.5G 7.6G 37% / sysfs 13G 4.5G 7.6G 37% /sys debugfs 13G 4.5G 7.6G 37% /sys/kernel/debug udev 4.2G 95k 4.2G 1% /dev devpts 4.2G 95k 4.2G 1% /dev/pts none 135M 0 135M 0% /tmp even though "/" -- also on RAID -- does, and _is_ accesssible. which indicates that module 'raid1' _is_ available/loaded. checking, ls -al /boot it's, not suprisingly, (empty), and mount /dev/md0 returns, mount: special device /dev/md0 does not exist how do i correctly set up so that "/boot" (and other, non-"/" parts, as above) is correctly mounted in single-user mode? -- 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=466894 User chrubis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=466894#c2 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pgnet.trash@gmail.com --- Comment #2 from Cyril Hrubis <chrubis@novell.com> 2009-03-17 10:36:26 MST --- Did you recreated initrd after patching initrd scripts? Otherwise there are no applied changes at all. -- 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=466894 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=466894#c3 pgnet _ <pgnet.trash@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pgnet.trash@gmail.com | --- Comment #3 from pgnet _ <pgnet.trash@gmail.com> 2009-03-27 15:00:14 MST --- (In reply to comment #2)
Did you recreated initrd after patching initrd scripts? Otherwise there are no applied changes at all.
yes, mkinitrd was run with no apparent errors. -- 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=466894 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mvancura@novell.com |ovo.novell.com | -- 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.
participants (1)
-
bugzilla_noreply@novell.com