linux raid questions

basher584@usol.com basher584@usol.com
Tue, 19 Sep 2000 20:33:45 GMT


Are you using the RAID patch from 
http://people.redhat.com/mingo/raid-patches/?  I have no idea what 
is going on but I know I needed the RAID patches when I was doing 
software RAID becuase of I was booting off of the RAID drive.

-Benjamin Noggle

> 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
> 
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>