Messages in this thread | | | Date | Mon, 29 Apr 1996 12:08:57 +0100 (BST) | From | Bryn Paul Arnold Jones <> | Subject | Re: striped swapping? |
| |
On Sat, 27 Apr 1996, Stephen C. Tweedie wrote:
> Hi, > > On Thu, 25 Apr 1996 14:11:59 +0100 (BST), Steve Payne > <srp20@cam.ac.uk> said: > > > If I have two swap partitions on two separate hard drives (on separate > > busses) under linux is the swapper clever enough to strip (even corsely > > (sp?)) bewteen them? (I'm guessing you _can_ have more than one swap > > partition active at once). > > Yes, IF you are using the new swapon from util-linux-2.5 or later, AND > you use the new priority flags to give both your swap partitions the > same priority. If you don't do this, then the earlier installed > partitions will be swapped to in preference to the later ones. >
Ok, so how do I use it, I do: # swapoff -a # swapon -v -p 10 /dev/hda2
I'm guessing about the 10, and it sais: swapon: illegal option -- p usege: swapon [-hV] swapon -a [-v] swapon [-v] [-p priority] special ...
Hmm, look's broken to me, this is util-linux-2.5-7 (from the Red Hat distribution). I'm just about to get the source of the util-linux package from one of my cd's. Hmm, look's like it wasn't compiled with priorites on, time to recompile .... perhaps it sould have said that when I tryed to use them, oh well ... (and then not have the -p options appear in the usage). Going to fix my utils now ....
> Cheers, > Stephen. > -- Bryn -- PGP key pass phrase forgotten, \ Overload -- core meltdown sequence again :( | initiated. / This space is intentionally left | blank, apart from this text ;-) \____________________________________
| |