Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* problems with linux raid
@ 1999-08-19  4:00 RaymondInFinland
  1999-08-19  4:00 ` Janne Sinkkonen
  1999-08-19  4:00 ` Homestation
  0 siblings, 2 replies; 3+ messages in thread
From: RaymondInFinland @ 1999-08-19  4:00 UTC (permalink / raw)


Hi,

Another newbie (dumb?) question.
I've been playing around with the raid options in the linux kernel
because I want to combine to small disks to 1 big one with raid-0
(striping). I compiled a new kernel with all the raid options on (to be
sure) and download the raidtools from the redhat site (version 0.90).
The kernel i'm using is
2.2.5-22. Below is my raidtab:

raiddev /dev/md0
        raid-level              0
        nr-raid-disks           2
        nr-spare-disks          0
        chunk-size              1024
        device                  /dev/sda5
        raid-disk               0
        device                  /dev/sdd1
        raid-disk               1

I initialize the disks with mkraid /dev/md0 which works. Do a startraid
-a and mke2fs /dev/md0. Now i have a working raidpartition which i can
use.
The problem is that when i reboot the machine and want to mount the
raidpartition again i get the following errors:

during kernel boot i get:

>(read) sda5's sb offset: 511872 [events: a149000047e0040c]
>md: invalid raid superblock magic on sda5
>md: sda5 has invalid sb, not importing!
>could not import sda5!
>autostart sda5 failed!
>huh12?
>(read) s

raidstart -a yields:
/dev/md0: Invalid argument

The strange thing is that when i do a mkraid again i'm able to use the
raidpartition again. (but as soon as i do a reboot, it seems to have
disappeared again)

Any clues, hints, tips or pointers anyone?

Raymond


"...whatever the cost may be, we shall fight on the beaches, we shall
fight on the landing grounds, we shall fight in the fields and in the
streets, we shall fight in the hills; we shall never surrender..."
- Winston Churchill, on Linux.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-08-19  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-19  4:00 problems with linux raid RaymondInFinland
1999-08-19  4:00 ` Janne Sinkkonen
1999-08-19  4:00 ` Homestation

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox