/ spanning multiple disks

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Cameron
Date:  
Subject: / spanning multiple disks
----- Original Message -----
From: "Rob Wultsch" <>
To: <>
Sent: Thursday, August 07, 2003 6:13 PM
Subject: Re: / spanning multiple disks


> Thanks. That is probaly exactly what I am looking for.
>
> SO I would install normaly on the first disk, not touching the second
> disk. If I want a total of 256 swap then I would set it at 128, and then
> follow the steps to setup striping. Right?


You don't stripe swap - the kernel sort of does it automagically. If the
kernel needs to page stuff to disk, it uses the least active swap slice(s),
so it doesn't help and might hurt to try to stripe swap space.

If I had two 1GB disks and I wanted to run the root filesystem over both
disks I would partition like this:

Slice            Type    Mount      Size
/dev/sda1    83        /boot        100MB    (put the kernel and associated
files in here)
/dev/sda2    82        swap         128MB
/dev/sda3    fd        /dev/md0   772MB


/dev/sdb1    82        swap        228MB
/dev/sdb2    fd        /dev/md0    772MB


You'd configure /dev/md0 as a RAID0 array. This would give you about 1.5GB
of space to install your OS on.

Just my opinion.

--
Thomas Cameron, RHCE, CNE, MCSE, MCT
Cameron Technical Services, Inc.
http://www.camerontech.com/
(512) 454-3200