[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sofware RAID autostart

On (29/12/05 14:47), Lars Staun Knudsen wrote:
> Hi
> I'm have two 120gb HD and decided to setup a software raid and mount 
> /home on the raid. The raid is created with mdadm and works fine. But 
> the raid doesn't start after reboot!
> I'm running Sarge with a standard 2.6.8-smp kernel and has writing "md" 
> and "raid1" in "/etc/modules" and created the 
> "/etc/mdadm/mdadm.conf"-file (Allthough i've read that mdadm don't 
> depend of the conf-file.).
> ------- mdadm.conf--------------------
> DEVICE /dev/hdg1 /dev/hdh1
> ARRAY /dev/md0 level=raid1 num-devices=2 
> UUID=4ce8f2eb:085f24ad:c2bcfbb0:980bfbac devices=/dev/hdh1,/dev/hdg1
> -----------------------------------------------------------------
> All i need to type after a reboot is "mdadm -As /dev/md0" then it mounts 
> perfectly. I could insert  "mdadm ..." in my startup script, but i would 
> prefer if it worked proper. Filetype has been set to "0xFD = Linux Raid 
> autodetect" with cfdisk.

I just posted how I fixed this here:

add libata and ata_piix to /etc/modules




www.clivemenzies.co.uk ...
...strategies for business

Reply to: