Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Linux raid question
@ 1999-07-19 11:19 RaymondInFinland
  1999-08-19 14:34 ` Robert Bowles
  0 siblings, 1 reply; 2+ messages in thread
From: RaymondInFinland @ 1999-07-19 11:19 UTC (permalink / raw)
  To: axp-list

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.


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-19 11:19 Linux raid question RaymondInFinland
1999-08-19 14:34 ` Robert Bowles

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