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

Re: [linux-lvm] Swap/DB devices

> I'm in the process of re-jigging all the file systems to sit in volume
> groups.
> Two questions :-
> a) Can I setup swap to run from a volume group is it a good idea?

It's as good as partition based swap (very low LVM driver overhead).

Please take i/o amounts into consideration and avoid to allocate swap LVs
and other i/o intensive LVs on the same PVs.

> b) I have  database devices running in cooked file systems for Oracle,
> Sybase and Informix.
> Vendor recommendations for sybase and Informix are normally raw, here we
> carve our database devices from HP volume groups is this a good idea for
> linux?

There is a raw device patch available by Stephen Tweedie.
IIRC it will make it into the 2.3 kernel (what do you say Stephen?).

LVM has to be enhanced a little bit to support that patch.

> Anybody done this?

Yes, i did successfull tests with a lot of swap LVs.
Anybody out there with (big) database installations on LVM?

BTW: you can have performance boosts by setting up striped LVs
     if your hardware setup is o.k. (enough i/o bandwith on scsi busses,
     several busses ...)




Systemmanagement C/S                             Deutsche Telekom AG
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge ez-darmstadt telekom de                      Germany
                                                 +49 6151 886-425

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