Ken Schneider wrote:
On Fri, 2005-05-20 at 16:08 -0400, Louis Richards wrote:
On Friday 20 May 2005 08:44 am, radoeka wrote: <SNIP>
Your going to need to create more partitions. Your boot partition and swap will not be LVM. Create three partitions on each drive. The suggested scheme will give you an idea as to what size to make the swap partition, probably 1G. I used 100M for my /boot device and it is plenty. You will end up with 3 RAID devices. make one formated for swap, one /boot and formated (reiser or ext3), and a third device that is not formated or mounted anywhere. If your RAID device is formated and/or given a mount point, it will not show up in LVM.
It's hard to tell from here, but I'm guessing your RAID device is listed as mounting at /. I think this is the default. Change this to be blank.
I just installed 9.3 to a system with three disks and software RAID 5. I made three partitions on each disk. I did this to end up with three large equal sized partitions.
hda1 and hdb1 = /dev/mdo = /boot hdc1 and hda2 = /dev/md1 = swap hdb1 and hdc2 = /dev/md2 = swap hda3 and hdb3 and hdc3 = /dev/md3 = LVM = / (RAID 5)
You really should not put swap into a software raid as it will actually make swap run slower and since there is no filesystem in swap that needs saving why bother. YMMV
I hear the advice quoted often, with varying volume, about the pros and cons of putting swap on RAID. While yes, performance will be less (as it would generally be with most (equal reads and writes, etc) types of software RAID), it ~will~ save you from a crash should you lose a disk holding the swap. The data in swap ~does~ need saving as long as the machine is running and swapping. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin First they came for the Jews and I did not speak out because I was not a Jew. Then they came for the Communists and I did not speak out because I was not a Communist. Then they came for the trade unionists and I did not speak out because I was not a trade unionist. Then they came for me and there was no one left to speak out for me. -- Pastor Martin Niemöller