Find the answer to your Linux question:
Results 1 to 2 of 2
I have recently installed debian on to a system that I built as a media server. It has 4 1TB HDDs in the machine and each drive was partitions as ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    1

    Exclamation Debian update lost Raids

    I have recently installed debian on to a system that I built as a media server. It has 4 1TB HDDs in the machine and each drive was partitions as follows:
    10 MB /boot -md0
    1 GB swap -md1
    remaining / -md2

    I had the /boot running as a raid zero so i could make backups and the swap was running raid 1 for 4 GB of swap striped. The rest was all setup as a raid 5.

    I setup the system using mdadm and all worked out perfect. The system worked fine on reboot and all the raids showed no degration on them. However when the debian update icon came up on the screen came up I opened it and it said I needed some updates which was fine. So it did the updates to my system. system was still fine. I restarted it just let some updates to take effect and when it came back up it said:

    Code:
    PCI: Not using MMCONFIG.
    Loading, please wait...
    mdadm: No devices listed in conf file were found.
    Gave up waiting for root device. Common problems:
    -Boot args (cat /proc/cmdline)
    -Check root delay= (did the system wait long enough?)
    -Check root= (did the system wait for the right device?)
    -Missing modules (cat /proc/modules; ls /dev)
    ALERT! /dev/md2 does not exist. Dropping to a shell!
    Then BusyBox loaded up and gave me an error:
    /bin/sh: cant' access tty; job control turned off

    then it gives me prompt for initramfs.

    I already tried to change the root delay but that didn't solve it.

    Any help is greatly appreciated.

    Obie

  2. #2
    Just Joined! Leppie's Avatar
    Join Date
    Feb 2010
    Posts
    72
    you could try scanning for the raid units:
    Code:
    mdadm --assemble --scan
    however, this probably will not find them.
    try assembling them manually:
    Code:
    mdadm --assemble /dev/md2 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
    i used sdX3 here for the md2 unit, if the partitions are different amend accordingly.

    if the unit is recognized and assembled, export it to the configuration file for boot:
    Code:
    mdadm -Es | grep md2 >> /etc/mdadm/mdadm.conf

Posting Permissions

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