Thanks for the many responses, everyone.  Just so you know, the reason 
I am creating a raid on a single disk is because I am testing the
raidtools before I put it on some larger file servers.  I have run
into a new problem now.  When I run raidstart I get an error.  I first 
created /etc/raidtab.  I ran mkraid /dev/md0.  I did a mke2fs -b=4096
/dev/md0 .  All of this appeared to work fine.  I mounted /dev/md0.  I 
copied data to it.  I unmounted /dev/md0, stopped the raid, and
rebooted the machine.  Now I get this error:



[root@cwb-fs raidtools-0.90]# raidstart -a
/dev/md0: Invalid argument
[root@cwb-fs raidtools-0.90]# raidstart /dev/md0 
/dev/md0: Invalid argument


Any ideas?   I am running the raidtools from the
raidtools-19990421-0.90.tar.gz tarball.


Thanks
--Drew Norman


Ingo Molnar writes:
 > 
 > On Fri, 14 May 1999, Robert (Drew) Norman wrote:
 > 
 > > I can not get raidtools-0.90 to work.  I have attempted everything I know
 > > to do.  I have used the raidtools-0.50 before with no problems.  I am
 > > running the following:
 > 
 > have you patched the 2.2.8 kernel with the latest RAID driver patch? You
 > have to apply raid0145-19990421-2.2.6 to 2.2.8 (or rather 2.2.9). You'll
 > get a single reject in fs.h, then apply the attached patch too. Let me
 > know if you still cant get it to work after this. 
 > 
 > --mingo
 > 
 > --- linux/include/linux/fs.h.orig    Sat May 15 11:10:15 1999
 > +++ linux/include/linux/fs.h Sat May 15 11:11:21 1999
 > @@ -255,6 +255,11 @@
 >      return test_bit(BH_Protected, &bh->b_state);
 >  }
 >  
 > +static inline int buffer_lowprio(struct buffer_head * bh)
 > +{
 > +    return test_bit(BH_LowPrio, &bh->b_state);
 > +}
 > +
 >  #define buffer_page(bh)             (mem_map + MAP_NR((bh)->b_data))
 >  #define touch_buffer(bh)    set_bit(PG_referenced, &buffer_page(bh)->flags)
 >  
 > 
 > 

Reply via email to