linux raid questions

Mark Szidik szidikm@mlc.lib.mi.us
Tue, 19 Sep 2000 15:10:00 -0400 (EDT)


I am setting up software RAID in Linux for the first time.
(I am going by the HOWTO for version .90 of the raidtool)

I re compiled the 2.2.17 kernel and turned the MD option on.

Reboot and now I can cat /proc/mdstat:
Personalities : [1 linear] [2 raid0] [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive

I just want to do RAID 1, so here is my /etc/raidtab file:
raiddev /dev/md0
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              4
        persistent-superblock   1
        device                  /dev/sdb1
        raid-disk               0
        device                  /dev/sdc1
        raid-disk

Now I try to /sbin/mkraid /dev/md0 and I get the following:
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sdb1, 17751793kB, raid superblock at 17751680kB
disk 1: /dev/sdc1, 17751793kB, raid superblock at 17751680kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

Of course there is nothing in /var/log/messages and /proc/mdstat is
unchanged at:
Personalities : [1 linear] [2 raid0] [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive


Can anyone help me with this?


Thanks,
Mark