Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Linear Raid Problem
@ 1999-05-20  4:00 Fernando Castillo Y
  1999-05-21  4:00 ` Alex Meisel
  0 siblings, 1 reply; 5+ messages in thread
From: Fernando Castillo Y @ 1999-05-20  4:00 UTC (permalink / raw)


Hi.
    I have an AlphaServer 2100 4/233 with RedHat Linux 6.0 and I have
some problems creating a linear Raid, look:

/etc/raidtab:

     raiddev /dev/md0
     raid-level      linear
     nr-raid-disks   2
     persistent-superblock 1
     device                    /dev/sdc2
     raid-disk                 0
     device                    /dev/sdc3
     raid-disk                 1

[root@cuncuna /etc]# lsmod
Module                  Size  Used by
raid0                   4104   0  (unused)
raid5                  24616   0  (unused)
raid1                  11464   0  (unused)
linear                  2024   0  (unused)
autofs                 14128   1  (autoclean)
nfsd                  235288   8  (autoclean)
tulip                  36848   1  (autoclean)

[root@cuncuna /etc]# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead not set
unused devices: <none>


[root@cuncuna /etc]# ls -al /dev/md0
brw-rw----   1 root     disk       9,   0 May 20 16:56 /dev/md0

[root@cuncuna /etc]# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sdc2, 1227600kB, raid superblock at 1227520kB
disk 1: /dev/sdc3, 1227600kB, raid superblock at 1227520kB
/dev/md0: Invalid argument
^^^^^^^^^^^^^^^^^^^^^^^^^

Any idea ?!

Thanks.
    Fernando.


--
 _______________________   ________.--'-`--._____   Tel:  +56 2 3340800
|____==================_)  \_'===================`  FAX:  +56 2 2312498
       _,--___.-|__|-.______|=====/  `---'          Post: Santa Maria Av.
       `---------._          ~~~~~|                       2274, Providencia
                   `-._ -  -  - ,'                        Santiago,
                       \_____,-'                          CHILE
               e-mail: fcastill@its.cl






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

* Re: Linear Raid Problem
  1999-05-20  4:00 Linear Raid Problem Fernando Castillo Y
@ 1999-05-21  4:00 ` Alex Meisel
  1999-05-21  4:00   ` Sander Pronk
  1999-05-21  4:00   ` Bill Anderson
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Meisel @ 1999-05-21  4:00 UTC (permalink / raw)


Fernando Castillo Y wrote:
> 
> Hi.
>     I have an AlphaServer 2100 4/233 with RedHat Linux 6.0 and I have
> some problems creating a linear Raid, look:
> 
> /etc/raidtab:
> 
>      raiddev /dev/md0
>      raid-level      linear
>      nr-raid-disks   2
>      persistent-superblock 1
>      device                    /dev/sdc2
>      raid-disk                 0
>      device                    /dev/sdc3
>      raid-disk                 1
> 
[....]
> [root@cuncuna /etc]# mkraid /dev/md0
> handling MD device /dev/md0
> analyzing super-block
> disk 0: /dev/sdc2, 1227600kB, raid superblock at 1227520kB
> disk 1: /dev/sdc3, 1227600kB, raid superblock at 1227520kB
> /dev/md0: Invalid argument
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Any idea ?!
Hi Fernando!

May be that your persistent-superblock option is the invalid argument.

Sooo long!
		AleX



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

* Re: Linear Raid Problem
  1999-05-21  4:00 ` Alex Meisel
@ 1999-05-21  4:00   ` Sander Pronk
  1999-05-21  4:00     ` Bill Anderson
  1999-05-21  4:00   ` Bill Anderson
  1 sibling, 1 reply; 5+ messages in thread
From: Sander Pronk @ 1999-05-21  4:00 UTC (permalink / raw)


Alex Meisel wrote:
> 
> Fernando Castillo Y wrote:
> >      raiddev /dev/md0
> >      raid-level      linear
> >      nr-raid-disks   2
> >      persistent-superblock 1

AFAIK It's the 'raid-level linear'; it should be numeric:
raid-level 0 
for striping, and probably
raid-level -1 
for linear



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

* Re: Linear Raid Problem
  1999-05-21  4:00   ` Sander Pronk
@ 1999-05-21  4:00     ` Bill Anderson
  0 siblings, 0 replies; 5+ messages in thread
From: Bill Anderson @ 1999-05-21  4:00 UTC (permalink / raw)


Sander Pronk wrote:
> 
> Alex Meisel wrote:
> >
> > Fernando Castillo Y wrote:
> > >      raiddev /dev/md0
> > >      raid-level      linear
> > >      nr-raid-disks   2
> > >      persistent-superblock 1
> 
> AFAIK It's the 'raid-level linear'; it should be numeric:
> raid-level 0
> for striping, and probably
> raid-level -1
> for linear


Under the latest raidtools, raid-level linear is acceptable.

Linear is useful more partition/disks of varying sizes
Raid 0 is striping
Raid 1 is mirroring



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

* Re: Linear Raid Problem
  1999-05-21  4:00 ` Alex Meisel
  1999-05-21  4:00   ` Sander Pronk
@ 1999-05-21  4:00   ` Bill Anderson
  1 sibling, 0 replies; 5+ messages in thread
From: Bill Anderson @ 1999-05-21  4:00 UTC (permalink / raw)


Alex Meisel wrote:
> 
> Fernando Castillo Y wrote:
> >
> > Hi.
> >     I have an AlphaServer 2100 4/233 with RedHat Linux 6.0 and I have
> > some problems creating a linear Raid, look:
> >
> > /etc/raidtab:
> >
> >      raiddev /dev/md0
> >      raid-level      linear
> >      nr-raid-disks   2
> >      persistent-superblock 1
> >      device                    /dev/sdc2
> >      raid-disk                 0
> >      device                    /dev/sdc3
> >      raid-disk                 1
> >
> [....]
> > [root@cuncuna /etc]# mkraid /dev/md0
> > handling MD device /dev/md0
> > analyzing super-block
> > disk 0: /dev/sdc2, 1227600kB, raid superblock at 1227520kB
> > disk 1: /dev/sdc3, 1227600kB, raid superblock at 1227520kB
> > /dev/md0: Invalid argument
> > ^^^^^^^^^^^^^^^^^^^^^^^^^
...

have you recompiled your kenrel, liekly with a different version than
redhat 6.0 ships with? This was the source of my identical errors. In
/usr/doc/raidtools-0.90 (?) you will find references to the patch you
will need to download.. I had this when i upgraded kernel, it was
working fine, but when I compiled a new version, it faied with the same
error message. RH ships w/a patch already there.

Bill



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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-20  4:00 Linear Raid Problem Fernando Castillo Y
1999-05-21  4:00 ` Alex Meisel
1999-05-21  4:00   ` Sander Pronk
1999-05-21  4:00     ` Bill Anderson
1999-05-21  4:00   ` Bill Anderson

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