[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Re: linux-lvm digest, Vol 1 #136 - 14 msgs

> > > > LVM, and RAID patch 2.2.19-A1? Applying all these patches seems to be
> > > > inpossible.
> > > This actualle workes out of the box (see Patches/README).=20
> > I'm glad to see you've got this working. =20
> I'm sorry, but I'm not using it, I've just patched the kernel. My
> "production" systems only use LVM with out RAID (well, on a hardware
> raid actually)

There is one little change necessary, which is not obvious from the

In drivers/block/md.c:

int md_make_request (struct buffer_head * bh, int rw)
        int err;
        mddev_t *mddev = kdev_to_mddev(bh->b_dev);
                                           ^^^^^  Change this to b_rdev

Then LVM on top of Softraid will work. I did this since 2.2.14 or so. I
did not yet test
it with 2.2.19, but probably will do it in the next days. 
But you should be aware of the following:
In 2.2.x kernel it is not safe to use Swap on top of Softraid, and
probably also not safe
to use any Journaling FS on top of Softraid because of write reordering
issues (actually
swap and journaling will work during normal system condition, but will
fail badly during
resyncing of the RAID). This has changed in 2.4.x.


Klaus Steinberger               Beschleunigerlabor der TU und LMU
Phone: (+49 89)289 14287        Hochschulgelaende, D-85748 Garching,
FAX:   (+49 89)289 14280        EMail:
Klaus Steinberger Physik Uni-Muenchen DE
URL: http://www.physik.uni-muenchen.de/~k2/

In a world without fences and walls, who needs Windows and Gates?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]