Results 1 to 5 of 5

Thread: Boot error on opensuse 12.1 raid 1 system

  1. #1

    Angry Boot error on opensuse 12.1 raid 1 system

    People,

    as nobody seems able or willing to answer my thread:

    http://forums.opensuse.org/english/g...-1-system.html

    I have dug a little deeper.
    I added the partition back on te array with the command:

    mdadm /dev/md2 --add /dev/sda3
    cat /proc/mdstat then showed:

    Personalities : [raid1] [raid0] [raid10] [raid6] [raid5] [raid4]
    md2 : active raid1 sda3[0] sdb3[1]
    109050808 blocks super 1.0 [2/1] [_U]
    [======>..............] recovery = 33.8% (36904576/109050808)
    finish=25.4min speed=47210K/sec bitmap: 1/1 pages [4KB], 65536KB chunk

    md1 : active raid1 sda2[0] sdb2[1]
    5244916 blocks super 1.0 [2/2] [UU]
    bitmap: 0/1 pages [0KB], 65536KB chunk

    md0 : active raid1 sda1[0] sdb1[1]
    41993144 blocks super 1.0 [2/2] [UU]
    bitmap: 1/1 pages [4KB], 65536KB chunk

    unused devices: <none>
    and after a while the output looked like:

    cat /proc/mdstat
    Personalities : [raid1] [raid0] [raid10] [raid6] [raid5] [raid4]
    md2 : active raid1 sda3[0] sdb3[1]
    109050808 blocks super 1.0 [2/2] [UU]
    bitmap: 1/1 pages [4KB], 65536KB chunk

    md1 : active raid1 sda2[0] sdb2[1]
    5244916 blocks super 1.0 [2/2] [UU]
    bitmap: 0/1 pages [0KB], 65536KB chunk

    md0 : active raid1 sda1[0] sdb1[1]
    41993144 blocks super 1.0 [2/2] [UU]
    bitmap: 0/1 pages [0KB], 65536KB chunk

    unused devices: <none>

    However,
    after booting I get the following error message:

    http://i.imgur.com/VNzjF.jpg

    What did I forget to do (for ex, did I have to take a special action to make sure grub can boot both hard drives independently?)
    Hope someone can help me fix this.
    Thanks in advanced.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    13,978
    Blog Entries
    12

    Default Re: Boot error on opensuse 12.1 raid 1 system

    Don't know what you have done wrong, or are missing, but the console gives a hint: run 'systemctl status md.service'. Enter the rootpassword, system has booted in single user mode. Most of the times this is due to corrupt/incorrect entries in /etc/fstab, or by one or more corrupted file systems. Since there are no messages on the latter, my bet is it's in the RAID configuration. Now do
    Code:
    systemctl status md.service
    and post results here
    - Athlon X6 3.6 GHz, 16 GB DDR3, 30 GB SSD, 3 TB of disks, GT540, openSUSE 12.2 x86_64 + KDE 4.10 + GNOME 3
    - ASUS A73SD, Intel + GT610M Optimus, 6 GB, 120 GB SSD, openSUSE Tumbleweed

    Anything that can go wrong.... will teach us

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Boot error on opensuse 12.1 raid 1 system

    Hi man,
    thanks.

    I had to reboot more than 7 times before this error message appeared again (which is strange by itself), But here is the output of the command systemctl status md.service:

    md.service - LSB: Multiple Device RAID
    Loaded: loaded (/etc/init.d/boot.md)
    Active: failed since Sun, 29 Apr 2012 14:29:19 +0200; 10min ago
    Process: 447 ExecStart=/etc/init.d/boot.md start (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/md.service
    If this error does not show up and I can boot normally that same command systemctl status md.service gives:

    md.service - LSB: Multiple Device RAID
    Loaded: loaded (/etc/init.d/boot.md)
    Active: active (exited) since Sun, 29 Apr 2012 14:41:47 +0200; 4min 36s ago
    Process: 459 ExecStart=/etc/init.d/boot.md start (code=exited, status=0/SUCCESS)
    CGroup: name=systemd:/system/md.service
    And cat /proc/mdstat gives the following output again (notice the [_U] at MD2.
    :
    cat /proc/mdstat
    Personalities : [raid1] [raid0] [raid10] [raid6] [raid5] [raid4]
    md2 : active raid1 sdb3[1]
    109050808 blocks super 1.0 [2/1] [_U]
    bitmap: 1/1 pages [4KB], 65536KB chunk

    md0 : active raid1 sdb1[1] sda1[0]
    41993144 blocks super 1.0 [2/2] [UU]
    bitmap: 1/1 pages [4KB], 65536KB chunk

    md1 : active raid1 sdb2[1] sda2[0]
    5244916 blocks super 1.0 [2/2] [UU]
    bitmap: 0/1 pages [0KB], 65536KB chunk

    unused devices: <none>
    So what could be wrong here? Analyzing both hard drives with GSmartControl gives no strange results and both hard drives seem to be ok.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    13,978
    Blog Entries
    12

    Default Re: Boot error on opensuse 12.1 raid 1 system

    At the moment I can't think of anything else but a systemd bug. Can you produce the error if you boot the system using sysvinit? Done like this
    - In GRUB, hit F5
    - Pick "System V"
    - boot
    If this solves your trouble, you can make this permanent by installing sysvinit-init. It will require to uninstall systemd-sysvinit, accept that.
    - Athlon X6 3.6 GHz, 16 GB DDR3, 30 GB SSD, 3 TB of disks, GT540, openSUSE 12.2 x86_64 + KDE 4.10 + GNOME 3
    - ASUS A73SD, Intel + GT610M Optimus, 6 GB, 120 GB SSD, openSUSE Tumbleweed

    Anything that can go wrong.... will teach us

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    20,312

    Default Re: Boot error on opensuse 12.1 raid 1 system

    On 2012-04-29 15:06, Knurpht wrote:
    > If this solves your trouble, you can make this permanent by installing
    > sysvinit-init. It will require to uninstall systemd-sysvinit, accept
    > that.


    You can also make it permanent by adding "init=/sbin/sysvinit" to the
    kernel load line:

    Code:
    kernel /boot/vmlinuz init=/sbin/sysvinit  root=
    (or creating an alternative entry)

    The advantage is that going back is faster, so that when in the Bugzilla
    the OP should fill they ask him to try again, he can do it.


    Because if this works in systemv mode the OP has to fill a bugzilla.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •