Bug 7122 - Fresh install don't boot with soft raid + LVM
Summary: Fresh install don't boot with soft raid + LVM
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2012-08-20 16:01 CEST by Olivier Thauvin
Modified: 2014-12-01 18:42 CET (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Install report (524.97 KB, application/x-gzip)
2012-09-03 16:59 CEST, Olivier Thauvin
Details

Description Olivier Thauvin 2012-08-20 16:01:20 CEST
Description of problem:

I did reinstall my own server, previously setup with software RAID and lvm (except for /boot).

I fully reinstall it, all disk, RAID and lvm were recognized and the install went fine (minimal install).

But the reboot failed, /dev/VG/LV didn't exists. I had to reboot from CD in rescue mode, chroot into the install and run "dracut -f".
After this, everything went fine.

Steps to Reproduce:
Install a computer having two partition under RAID and an lvm over it, then reboot failed.

cat /proc/mdstat:
Personalities : [raid1] 
md0 : active raid1 sda2[0] sdb2[1]
      1919680 blocks [2/2] [UU]
      
md1 : active raid1 sda5[1] sdb5[0]
      730515584 blocks [2/2] [UU]

md1 is the lvm

rootfs on / type rootfs (rw)
/dev/mapper/virgo-root on / type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sda1 on /boot type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/mapper/temp-tmp on /tmp type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/mapper/temp-nettmp on /mnt/nettmp type xfs (rw,relatime,attr2,noquota)
/dev/mapper/virgo-var on /var type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/mapper/virgo-users on /mnt/users type xfs (rw,relatime,attr2,usrquota)
/dev/mapper/virgo-data on /mnt/data type xfs (rw,relatime,attr2,noquota)
/dev/mapper/virgo-projects on /mnt/projects type xfs (rw,relatime,attr2,noquota)
/dev/mapper/temp-mirrors on /mnt/mirrors type xfs (rw,relatime,attr2,noquota)
Thierry Vignaud 2012-09-03 16:51:17 CEST

CC: (none) => mageia, thierry.vignaud

Comment 1 Thierry Vignaud 2012-09-03 16:51:32 CEST
Can you attach your /root/drakx/bug.gz?

Keywords: (none) => NEEDINFO

Comment 2 Olivier Thauvin 2012-09-03 16:59:39 CEST
Created attachment 2741 [details]
Install report
Comment 3 Thierry Vignaud 2012-09-03 17:47:16 CEST
Did you kept your old initrd?
In order to compare lsinitrd on both?
Comment 4 Colin Guthrie 2012-09-03 18:01:19 CEST
This is likely the theme bug where the initrd is created too early in the install process.

Can you test and see if the following work around works for you.

 1. Do the install as normal.
 2. When complete, and on the screen where you enter the root password, flip to tty2 (ctl+alt+f2) and type: rm /mnt/boot/initrd-3*.img
 3. Flip back to the installer (alt+f7) and complete the process.

Does this produce better results?
Comment 5 Olivier Thauvin 2012-09-04 19:50:55 CEST
Unfortunately, I cannot test again on this computer: it is my own server (mail server, proxy, gateway, dhcpd, storage, etc).

It is easy to test using VirtualBox with a VM having two disk.
Comment 6 Thierry Vignaud 2012-09-06 09:06:07 CEST
Can you do that test please?
Comment 7 Buchan Milne 2012-09-12 21:16:42 CEST
This affects LVM-only installations. I ran into it on a new clean install.

I don't know if non-LVM RAID installations are affected.

Next time I install a VM or physical I will test Colin's workaround.

CC: (none) => bgmilne

Comment 8 Marja Van Waes 2012-10-16 19:54:33 CEST
(In reply to comment #5)
> Unfortunately, I cannot test again on this computer: it is my own server (mail
> server, proxy, gateway, dhcpd, storage, etc).
> 
> It is easy to test using VirtualBox with a VM having two disk.

(In reply to comment #6)
> Can you do that test please?

(In reply to comment #7)
> This affects LVM-only installations. I ran into it on a new clean install.
> 
> I don't know if non-LVM RAID installations are affected.
> 
> Next time I install a VM or physical I will test Colin's workaround.

@ Olivier or Buchan

did one of you get around to testing it?

CC: (none) => marja11

Comment 9 Marja Van Waes 2012-11-07 18:49:39 CET
(In reply to comment #8)

> @ Olivier or Buchan
> 
> did one of you get around to testing it?

ping?
Comment 10 roelof Wobben 2013-01-06 17:35:32 CET
Can anyone confirm this bug is still valid for Megeia 2 or Cauldron.

Roelof

CC: (none) => r.wobben

Comment 11 Samuel Verschelde 2013-08-27 15:15:34 CEST
1. Changing version to cauldron since we can't fix installer for released versions (that's what alphas and betas are for)
2. Is this bug still valid with latest installer?

CC: (none) => stormi
Version: 2 => Cauldron

Comment 12 Dick Gevers 2014-12-01 18:42:16 CET
Unanswered too long.

If seen with current installer, please reopen and set whiteboard to '5beta1' (or higher), removing 'needinfo. Thanks.

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.