> -----Original Message----- > From: Craig Zody [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 01, 2000 7:26 AM > To: [EMAIL PROTECTED] > Subject: OT on SWAP not on RAID > > > Hello all, > > Although I have RAID set up on a few systems that I help out > with, this > is not really a SWAP on RAID question, but since everyone > here seems to > know so much about it, I figured that I would ask here first before > annoying the entire Linux-Kernel mailing list. > > I have a box with 4 IDE drives. Each drive is the same model and each > drive has a 128 MB partition set aside to use as swap space. In the > various discussions of swap on raid, many people have said that it is > unnecessary as the kernel will automatically use all swap partitions > equally. > > But when my system boots (kernel 2.2.14) I get the following message: > Adding Swap: 131536k swap-space (priority -1) > Adding Swap: 131536k swap-space (priority -2) > Adding Swap: 131536k swap-space (priority -3) > Adding Swap: 131536k swap-space (priority -4) > > This doesn't look to me as if the kernel is using all of the swap > partitions equally. Am I wrong? > > My /etc/fstab looks has the entries for the swap partitions > as follows: > > /dev/hda4 swap swap defaults > 0 0 > /dev/hdb4 swap swap defaults > 0 0 > /dev/hdc4 swap swap defaults > 0 0 > /dev/hdd4 swap swap defaults > 0 0 > > Is there something else I need to do to get it to use the swap space > more efficiently? Read the man page for fstab and/or swapon. One of those tells you how to specify the priority for each swap device in fstab. I set all of mine the same. Greg