[EMAIL PROTECTED] writes:

> Hi, have you read the manual???
> 
> I now talk about version 0.90, previous versions don't have autodetection.
> 
> 1. activate Autodetection in Kernel
> 2. make the raid with a correct /etc/raidtab
> 3. change the partition-id to 0xfd
> 
> I haven't got the manual here right now, but these 3 should be the right
> things to do. Otherwise, download the raidtools-0.90 from your nearest
> kernel-mirror, unzip it and look into the HOWTO.
> 
> Thomas
> 
> 
> > Hi.
> > 
> > I'm having problems using raid with kernel 2.2.10. I actually don't know
> > whether the kernel is the problem.
> > 
> > The problem is that my kernel doesn't mount my /dev/md0 raid1 device at
> > startup. I added it to fstab and mdtab, but it refuses to mount. when i
> > mount it manually it works fine. Did i forget s.th.?

Actually, if you read /usr/src/linux/Documentation/md.txt it will tell you what
to do.  Snip from my lilo.conf:

        image=/boot/vmlinuz
                label=linux
                root=/dev/hda5
                read-only
                append="md=0,0,0,0,/dev/hdb,/dev/hdc"

And from /etc/fstab:

        /dev/md0      /mnt/raid        ext2    defaults        1 2

  This worked fine with 2.2.11 unpatched (with the raid stuff compiled right
in) and two blank drives.  Never had to use any of the raid-tools, also
because they just don't work with 2.2.11.  I understand that 2.2.12 should
have all the new patches in, and by then we might even have raid-tools that
work with it.

 Be careful however, because I have no idea if a raid-1 array already created
and initialized with the raid-tools will be readable just fine using the
method I described above.  Before trying anything, I would make a good
backup.

-- Danilo
  

Reply via email to