Re: raid problem

1999-10-27 Thread Luca Berra

On Wed, Oct 27, 1999 at 11:09:46PM +0200, Mathieu ARNOLD wrote:
  I'm using a redhat 6.1 with a 2.3.21 kernel.

 well, i've gone back to the 2.2 series, i'm now using a 2.2.13 kernel, and
 well, it does exactly the same thing.
 does someone have a clue ?
yup.
neither 2.3.x nor 2.2.x do support new raid code, but you can find a patch
for 2.2.x (while there is no patch for 2.3.x)

i'd get
ftp://ftp.fr.kernel.org/pub/linux/kernel/people/alan/2.2.13ac/patch-2.2.13ac1.gz

other option is:
ftp://ftp.fr.kernel.org/pub/linux/daemons/raid/alpha/raid0145-19990824-2.2.11.gz
and fix the rejects by hand

regards,
Luca

-- 
Luca Berra -- [EMAIL PROTECTED]
Communications Media  Services S.r.l.



Re: raid problem

1999-10-27 Thread Mathieu ARNOLD



Luca Berra wrote:
 
 On Wed, Oct 27, 1999 at 11:09:46PM +0200, Mathieu ARNOLD wrote:
   I'm using a redhat 6.1 with a 2.3.21 kernel.
 ...
  well, i've gone back to the 2.2 series, i'm now using a 2.2.13 kernel, and
  well, it does exactly the same thing.
  does someone have a clue ?
 yup.
 neither 2.3.x nor 2.2.x do support new raid code, but you can find a patch
 for 2.2.x (while there is no patch for 2.3.x)
 
 i'd get
 ftp://ftp.fr.kernel.org/pub/linux/kernel/people/alan/2.2.13ac/patch-2.2.13ac1.gz
 
 other option is:
 ftp://ftp.fr.kernel.org/pub/linux/daemons/raid/alpha/raid0145-19990824-2.2.11.gz
 and fix the rejects by hand

yep, i've read about it just after posting my msg :/

i now have :
md0 : active raid5 hdh1[4] hdg1[3] hdf1[2] hde1[1] hdb1[0] 60066304 blocks
level 5, 32k chunk, algorithm 2 [5/5] [U] resync=15% finish=163.4min

and 
/dev/md0   56G  3.7G   53G   7% /opt1

i'm just happy now :)

-- 
Cordialement
Mathieu Arnold   PGP key id : 0x2D92519F
IRC : _mat  ICQ 1827742  http://www.mat.cc/



Re: Re: raid problem

1999-10-15 Thread Mathieu Arnold

Luca Berra [EMAIL PROTECTED] said :
On Fri, Oct 15, 1999 at 12:13:51AM +0200, Mathieu Arnold wrote:
 Hi
 
 I'm using a redhat 6.1 with a 2.3.21 kernel.
do you have any need for a 2.3 kernel???
if not please reinstall the kernel that came
with your distribution.

well, i'm using a bi celeron motherboard (abit bp6) and smp is really better with 2.3 
kernels

Regards,
Luca

P.S.
it seems to me (from this kind of messages) that not having
the latest raid patches in th 2.3 kernel, is causing more
problems that having these, could this be a suggestion to
Linus

where can i find the latest patchs ?

-- 
Cordialement
Mathieu Arnold   PGP key id : 0x2D92519F
IRC : _mat  ICQ 1827742  http://www.mat.cc/

- La messagerie itinérante sans abonnement NetCourrier -
Web : www.netcourrier.com Minitel : 3615 et 3623 NETCOURRIER
  Tél : 08 36 69 00 21



Re: raid problem

1999-10-15 Thread Jakob Østergaard

On Fri, Oct 15, 1999 at 10:04:06AM +0200, Luca Berra wrote:
[snip]
 
 P.S.
 it seems to me (from this kind of messages) that not having
 the latest raid patches in th 2.3 kernel, is causing more
 problems that having these, could this be a suggestion to
 Linus

AFAIK Ingo is hard working at getting RAID ready for 2.3

It needs some porting to the new unified buffer-cache architecture
and there is the 12+ disks issue too (which causes superblock restructuring).

It would, however, be really nice to have an ETA on it, so we can
plan to back up important stuff and get ready for some 2.3+RAID testing
in time:)(Ingo, are you reading this?  ;)


: [EMAIL PROTECTED]  : And I see the elder races, :
:.: putrid forms of man:
:   Jakob Østergaard  : See him rise and claim the earth,  :
:OZ9ABN   : his downfall is at hand.   :
:.:{Konkhra}...:



Re: Re: raid problem

1999-10-15 Thread Luca Berra

On Fri, Oct 15, 1999 at 10:33:58AM +0200, Mathieu Arnold wrote:
 
 where can i find the latest patchs ?

you cannot. this is the problem
raid has not been ported to 2.3 kernels,
sorry

Luca

-- 
Luca Berra -- [EMAIL PROTECTED]
Communications Media  Services S.r.l.



Re: Re: raid problem

1999-10-15 Thread David Cooley

At 10:33 AM 10/15/1999 +0200, Mathieu Arnold wrote:

well, i'm using a bi celeron motherboard (abit bp6) and smp is really 
better with 2.3 kernels

I'm curious what you mean by "working better".  I'm running kernel 2.2.12 
on a Sun Ultra 2 with Dual 300MHz Ultra CPU's and have had no problems... 
It screams!
===
David Cooley N5XMT Internet: [EMAIL PROTECTED]
Packet: N5XMT@KQ4LO.#INT.NC.USA.NA T.A.P.R. Member #7068
We are Borg... Prepare to be assimilated!
===



Re: Re: raid problem

1999-10-15 Thread David Cooley

Also running RAID5 with 12 4.2G 1RPM Seagate Cheetah drives in a SUN 
D1000 drive array.

At 09:15 AM 10/15/1999 -0400, David Cooley wrote:
At 10:33 AM 10/15/1999 +0200, Mathieu Arnold wrote:

well, i'm using a bi celeron motherboard (abit bp6) and smp is really 
better with 2.3 kernels

I'm curious what you mean by "working better".  I'm running kernel 2.2.12 
on a Sun Ultra 2 with Dual 300MHz Ultra CPU's and have had no problems... 
It screams!
===
David Cooley N5XMT Internet: [EMAIL PROTECTED]
Packet: N5XMT@KQ4LO.#INT.NC.USA.NA T.A.P.R. Member #7068
We are Borg... Prepare to be assimilated!
===


===
David Cooley N5XMT Internet: [EMAIL PROTECTED]
Packet: N5XMT@KQ4LO.#INT.NC.USA.NA T.A.P.R. Member #7068
We are Borg... Prepare to be assimilated!
===



raid problem

1999-10-14 Thread Mathieu Arnold

Hi

I'm using a redhat 6.1 with a 2.3.21 kernel.
the raid/raid5 support is compiled in the kernel (aka not module).
I have 5 hard drives (IBM-DJNA-351520, 14664MB w/430kB Cache, CHS=29795/16/63,
(U)DMA) who are called hdb to hdf.
All of these disks only have one partition on them which is hd?1 and which
takes all the room.
Here is my /etc/raidtab :

raiddev /dev/md0
raid-level  5
nr-raid-disks   5
nr-spare-disks  0
persistent-superblock   1
parity-algorithmleft-symmetric
chunk-size  32
device  /dev/hdb1
raid-disk   0
device  /dev/hdc1
raid-disk   1
device  /dev/hdd1
raid-disk   2
device  /dev/hde1
raid-disk   3
device  /dev/hdf1
raid-disk   4

which is, conforming to the howto, right.

and when i try :
# mkraid /dev/md0

here is what i have :

handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdb1, 15016648kB, raid superblock at 15016576kB
disk 1: /dev/hdc1, 15016648kB, raid superblock at 15016576kB
disk 2: /dev/hdd1, 15016648kB, raid superblock at 15016576kB
disk 3: /dev/hde1, 15016648kB, raid superblock at 15016576kB
disk 4: /dev/hdf1, 15016648kB, raid superblock at 15016576kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

and, well, nothing appears in the syslog, and /proc/mdstat remains unchanged.

anyone have a clue ?

-- 
Cordialement
Mathieu Arnold   PGP key id : 0x2D92519F
IRC : _mat  ICQ 1827742  http://www.mat.cc/



strange RAID problem - RAID doesn't work at boot

1999-07-30 Thread seanh21


Ok, I am setting up a RAID box, a PII-350 with an ASUS P2B-S mobo (adaptec
7000 chip).  I found some document on the web that explained how to set up
software RAID correctly (I think it was a HOWTO, but it seems to have gone
missing, I cant find it anywhere).  

I got it working with kernel 2.2.5 (I'm using RAID-0).  I have two RAID
devices, md0 and md1. /home is on md0 and /usr is on md1.  However, I was
having a problem.  When I wrote stuff to the disk and then compared it to
the source (a cd) they differed slightly.  That state of affairs not being
acceptable I decided to try a newer kernel (upon the suggestion that the
older scsi drivers might be faulty).  So I downloaded 2.2.10 and compiled
and installed it as I thought was correct (I compiled in md support and
RAID-0 mode as well as generic scsi support - for my HP CD-writer and the
AIC-7000 support for my scsi card).   

Now the machine will not boot at all if I have /dev/md0 or /dev/md1
anywhere in my fstab.  It fails when checking the filesystems on md0 and
md1, saying "short read opening /dev/md0" (same for md1).  I am having a
really hard time understanding what is going wrong here.  I would be most
grateful for any suggestions that people might have (this machine is due
very shortly, I need to get it finished so I can deploy it) and also, if
anyone knows a good document that explains how to do software RAID, step
by step, I would be grateful for that.

Thank you,
Sean Harper



Re: strange RAID problem - RAID doesn't work at boot

1999-07-30 Thread seanh21

Yes, and when I boot with the original 2.2.5 kernel that I made it works
fine.  Also, when I boot with the new kernel and do not include md0 or md1
in the fstab and then manually mount them it works just fine.

Sean

On Fri, 30 Jul 1999, Chen-Yuan Wu wrote:

 check do you have the device /dev/md0.
 -Original Message-
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Date: Friday, July 30, 1999 11:43 AM
 Subject: strange RAID problem - RAID doesn't work at boot
 
 
 
 Ok, I am setting up a RAID box, a PII-350 with an ASUS P2B-S mobo (adaptec
 7000 chip).  I found some document on the web that explained how to set up
 software RAID correctly (I think it was a HOWTO, but it seems to have gone
 missing, I cant find it anywhere).  
 
 I got it working with kernel 2.2.5 (I'm using RAID-0).  I have two RAID
 devices, md0 and md1. /home is on md0 and /usr is on md1.  However, I was
 having a problem.  When I wrote stuff to the disk and then compared it to
 the source (a cd) they differed slightly.  That state of affairs not being
 acceptable I decided to try a newer kernel (upon the suggestion that the
 older scsi drivers might be faulty).  So I downloaded 2.2.10 and compiled
 and installed it as I thought was correct (I compiled in md support and
 RAID-0 mode as well as generic scsi support - for my HP CD-writer and the
 AIC-7000 support for my scsi card).   
 
 Now the machine will not boot at all if I have /dev/md0 or /dev/md1
 anywhere in my fstab.  It fails when checking the filesystems on md0 and
 md1, saying "short read opening /dev/md0" (same for md1).  I am having a
 really hard time understanding what is going wrong here.  I would be most
 grateful for any suggestions that people might have (this machine is due
 very shortly, I need to get it finished so I can deploy it) and also, if
 anyone knows a good document that explains how to do software RAID, step
 by step, I would be grateful for that.
 
 Thank you,
 Sean Harper