hi sonia..
I built a new rh-6.0 box too with latest raid stuff..
I had an old rh-5.x box with mdadd/mdcreate ...
To make it so that the original /home ( /dev/md0 ) worked with
the new rh-6.0 homeserver.. I had to use linux-2.2.10
and the older raidtools-0.41.* toolset
- could NOT get teh newer raidtools to read the superblock
of the old /dev/md0 ( /home ) which had to remain intact
have fun
alvin
> Sonia de Diego Atance wrote:
>
> Hi!
>
> I have raidtools-0.90-3, which comes with RPMS in RedHat CD.
> I have downloaded md-035-3, because this is the software I worked with when
> I had slackware. When I had it, I only had to do:
>
> mdadd /dev/md0 /dev/hdc /dev/hdd
> mdrun -pl /dev/md0
> mount /dev/md0 /mnt
>
> and it worked. So I have tried to do that and in first step it failed, as I
> told you. After that I have discovered raidtools, but I do not know how it
> works. I have tried to make a /etc/raidtab like this:
>
> raiddev /dev/md0
> raid-level 0
> nr-raid-disks 2
> nr-spare-disks 0
>
> device /dev/hdc
> raid-disk 0
> device /dev/hdd
> raid-disk 1
> chunk-size 4096
>
> I do not know if this makes what I want or which are parameters I need. I
> executed: mkraid /dev/md0 and got:
>
> handling MD device /dev/md0
> analyzing super-block
> disk 0: /dev/hdc 8257032 kB, raid superblock at 8256960kB
> /dev/hdc appears to contain an ext2 filesystem -- use -f to override
> mkraid:aborted
>
> And in boot (dmesg) I got:
> md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
> md.c: sizeof(mdp_super_t) = 4096, this is why I have put chunk-size 4096.
>
> Can you help me, please?
>
> Due to message from Luca to the list, I think I do not need md-035.3, do
> I?. Must I work with raidtools only?, and how?.
>
> Thanks a lot
>
> Sonia
>
> At 03:41 PM 7/29/99 +0200, you wrote:
> >Hi!
> >raidtools is the name for the new versions of the md-tools. RedHat 6.0
> >with kernel 2.2.5 has raid-driver-0.35 in it??? Please look it up in your
> >kernel messages (#dmesg | grep md). Or do you mean the md-tools to be 0.35.
> >I think Redhat-2.2.5 has raid-0.90 in the kernel and the raidtools 0.90 in
> >the package. both, the tools and the kernel-driver should be the same
> >version.
> >
> >When did you make the linear? under slackware??? - did you make it new
> >with the redhat-kernel and the new raid-tools? - mail me you configuration
> >(/etc/raidtab).
> >
> >Thomas
> >
> >
> >> Hi again.
> >>
> >> I want to mount a linear multiple device with md-0.35 (I do not know
> >where
> >> to find 0.36). I have RedHat 6.0 and kernel 2.2.5. I have found in
> >RedHat a
> >> package called raidtools with programs as raidadd. Do you know if this
> >is
> >> the equivalent to md?. Because this is the explication I find. It worked
> >in
> >> Slackware but not in RedHat.
> >>
> >> Thanks again
> >>
> >> Sonia
> >>
> >
> >--
> >Sent through Global Message Exchange - http://www.gmx.net
> >
> >
>
>