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 ...
- 02-16-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 1
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:
Then BusyBox loaded up and gave me an error: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!
/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
- 02-20-2010 #2
you could try scanning for the raid units:
however, this probably will not find them.Code:mdadm --assemble --scan
try assembling them manually:
i used sdX3 here for the md2 unit, if the partitions are different amend accordingly.Code:mdadm --assemble /dev/md2 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
if the unit is recognized and assembled, export it to the configuration file for boot:
Code:mdadm -Es | grep md2 >> /etc/mdadm/mdadm.conf


Reply With Quote
