Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debain + Raid + Mdadm, not autodetected

4 views
Skip to first unread message

Leszek Dubiel

unread,
Mar 13, 2005, 5:24:16 AM3/13/05
to
Installed fresh Sarge. Made /dev/hda3 and /dev/hda4 partitions, set type to fd.
Then

mdadm -C -l 1 -n 2 /dev/md0 /dev/hda3 /dev/hda4
mkreiserfs /dev/md0
mount /dev/md0 /mnt
cat /proc/mdstat
touch /mnt/test_file
ls /mnt/

and array works ok, but after reboot it is not started.
Then I do

mdadm -As -c partitions

and get segmentation fault.
I try

mdadm -As /dev/md0

and it complains that md0 is not present in config file.
I have to do

mdadm -A /dev/md0 /dev/hda3 /dev/hda4

and array is started. Other option is to use

mdrun.

WHY array is not started at boot time? Kernel is
2.4.27-1-386. I have put md, raid1 and reiserfs
module on initrd.

Leszek Dubiel

0 new messages