sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] Success with raidtools and jfs...
- From: "Wyatt Draggoo" <wyatt AT draggoo.com>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Success with raidtools and jfs...
- Date: Mon, 13 Jan 2003 08:44:39 -0800 (PST)
From the Software-RAID-HOWTO:
2.5. Swapping on RAID
There's no reason to use RAID for swap performance reasons. The kernel
itself can stripe swapping on several devices, if you just give them
the same priority in the fstab file.
A nice fstab looks like:
/dev/sda2 swap swap defaults,pri=1 0 0
/dev/sdb2 swap swap defaults,pri=1 0 0
/dev/sdc2 swap swap defaults,pri=1 0 0
/dev/sdd2 swap swap defaults,pri=1 0 0
/dev/sde2 swap swap defaults,pri=1 0 0
/dev/sdf2 swap swap defaults,pri=1 0 0
/dev/sdg2 swap swap defaults,pri=1 0 0
This setup lets the machine swap in parallel on seven SCSI devices. No
need for RAID, since this has been a kernel feature for a long time.
I was going to until I read this. :)
>
> Why don't you stripe raid the swap partitions?
>
> On Mon, 2003-01-13 at 01:14, Wyatt Draggoo wrote:
> > Just thought I'd report in that running jfs over RAID 1 (mirrored)
drives
> > is possible. Took a few steps to get there from the SMGL ISO:
> >
> > First, I have two identical disks, partitioned exactly the same. I
> > actually break a lot more out, but to simplify things, let's go for:
> >
> > hd[ab]1 32MB (/boot)
> > hd[ab]2 512MB (swap)
> > hd[ab]3 8.5BG (/)
> <snip most of very interesting content>
> > That's it! Not too bad, eh? The final mounts on my system are:
> >
> > /dev/hda1 /boot
> > /dev/hda2 swap
> > /dev/hdb2 swap
> > /dev/md3 /
> > /dev/md5 /var
> > /dev/md6 /usr
> > /dev/md7 /export
> >
> > I like to name the md devices the same as their partitions were. md4
was
> > skipped because hd[ab]4 are my extended partition on the drives.
> >
> > For more information on RAID devices, look at the Software-RAID-HOWTO
at:
> > <a
href="http://mail.draggoo.com/jump/http://www.ibiblio.org/pub/Linux/docs/HOWTO/Software-RAID-HOWTO">http://www.ibiblio.org/pub/Linux/docs/HOWTO/Software-RAID-HOWTO</a>
> >
> > Wyatt
> >
> > --
> > Wyatt Draggoo
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > <a
href="http://mail.draggoo.com/jump/http://lists.ibiblio.org/mailman/listinfo/sm-discuss">http://lists.ibiblio.org/mailman/listinfo/sm-discuss</a>
--
Wyatt Draggoo
-
[SM-Discuss] Success with raidtools and jfs...,
Wyatt Draggoo, 01/13/2003
- Re: [SM-Discuss] Success with raidtools and jfs..., Dufflebunk, 01/13/2003
- <Possible follow-up(s)>
- Re: [SM-Discuss] Success with raidtools and jfs..., Wyatt Draggoo, 01/13/2003
Archive powered by MHonArc 2.6.24.