[linux-lvm] Re: Keeping swap in the middle of the disk
Greck Cannon
greck at unpunk.com
Fri Jan 26 19:40:47 UTC 2001
On Fri, Jan 26, 2001 at 07:18:23PM +0000, Chris Wilson wrote:
|
| - Use MD to do linear append of hda2, hda4 and hdc2, hdc4 then use LVM
| with the md0 and md1. [Not tried this - and all the different versions of
| MD look rather scary!]
This is exactly what I'm doing... well, the md part anyway. md 0.90
(stock in 2.4, a patch in 2.2) is very robust, and easy to configure.
LVM on the other hand, is still kind of a mess of incompatible versions
and some serious bugs... I'm biding my time on production equipment.
Device Boot Start End Blocks Id System
/dev/sda1 1 532 4273258+ 83 Linux
/dev/sda2 533 550 144585 83 Linux
/dev/sda3 551 583 265072+ 82 Linux swap
/dev/sda4 584 1115 4273290 fd Linux raid autodetect
Device Boot Start End Blocks Id System
/dev/sdb1 1 532 4273258+ 83 Linux
/dev/sdb2 533 550 144585 83 Linux
/dev/sdb3 551 583 265072+ 82 Linux swap
/dev/sdb4 584 1115 4273290 fd Linux raid autodetect
I'm using matching priorities on the swap to stripe them, and sda4 and
sdb4 are RAID-0. Eventually I'll bind sda1 and sdb1 as RAID-0 with md
as well, and give LVM /dev/md0 and /dev/md1 as PVs.
sda2 is / (just for ease of maintenance and repair) and I dunno WHAT I'm
going to do with sdb2 yet. Maybe I'll trust md to RAID-0 sda2 and sdb2
together as /.
BTW, it's *really* nice to see someone else that still takes an interest
in what used to be some of the basics of system performance.
--greck
--
to be bored, visit http://unpunk.com/~greck/
---------------------------
More information about the linux-lvm
mailing list