Re: Problem booting RAID1/mdadm system when one disk is unplugged





On Fri, 1 Sep 2006, James Brown wrote:

All,

I have already posted this question to gmane.linux.raid, but would really appreciate some help from a Debian perspective please...

My System has 2x120GB IDE disks with the an up-to-date Sarge install, running kernel 2.6.8-3 and configured for mirroring.

When I tested booting my system, I found:

a) A kernel panic unless both disks are plugged in.
b) One disk removes from the array each reboot.

The relevant logs are on this thread:
http://article.gmane.org/gmane.linux.raid/13033/match=newbie+kernel+panic+raid1

I was advised this was a problem with my initrd because it didn't contain a mdadm.conf file and presumably that I should

Unfortunately, some friends of mine do not agree that my initrd is the problem because they point out that I can still boot when two disks are present. What do people here think?

Thanks in advance

James.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx


1) You do not need an initrd at all.
2) I would make sure you are booting from the /dev/md* partition.
3) You must have a /boot on a /dev/md partition.
4) You need LILO installed with the special raid option in the config.
5) I have done this and tested by pulling each HDD out and it working
successfully with Debian + 2x74GB raptors.

Justin.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] documenting HD partitions...
    ... I know that on the list someone pointed out how to get all the partition ... I have 12 disks and I would like to do ... the commands to get and save all the disk information in case of trouble. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ...
    (SuSE)
  • Re: Partitioning And Formatting A Large Disk (2086.09GB)
    ... some kernel config param somewhere for big disks??? ... Have you tried cfdisk or sfdisk? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Copy entire /usr
    ... I run remotely a server and one of the disks ... you don't want a partition named usr on the new partition, ... because then when you mount under /usr it comes out as ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Corrupt data - RAID sata_sil 3114 chip
    ... sil3114 is known to cause data corruption with some disks. ... subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • Re: Corrupt data - RAID sata_sil 3114 chip
    ... sil3114 is known to cause data corruption with some disks. ... subject of "unsubscribe". ... Trouble? ...
    (Debian-User)