an12365@mdaali.cancer.utexas.edu (E. Neely Atkinson) (03/28/91)
I apologize in advance for this inquiry, since I am sure it is covered in the manuals - unfortunately, I cannot decipher the descriptions there. How do I increase my swap space? Can I add part of an existing slice or do I have to use the whole slice? Do I have to reformat my disk? Thanks for any help. E. Neely Atkinson an12365@mdaali.cancer.utexas.edu
jim@jagubox.gsfc.nasa.gov (Jim Jagielski) (03/28/91)
In article <4884@lib.tmc.edu> an12365@mdaali.cancer.utexas.edu (E. Neely Atkinson) writes: }I apologize in advance for this inquiry, since I am sure }it is covered in the manuals - unfortunately, I cannot }decipher the descriptions there. How do I increase my }swap space? Can I add part of an existing slice or do I }have to use the whole slice? Do I have to reformat my }disk? } Well, there are two ways to do this: the easy way and the hard way. 1st, the hard way :( You will have to totally "repartition" your disk. When creating partitions this time, increase the size of "Swap." Then reload all of A/UX... What? I breezed over this? That's because this way is just too ugly; don't torture yourself :) THE EASY WAY ------------ The easy way only works if you have another disk drive handy (I don't know if it'll work if you add ANOTHER swap partition to your current disk, assuming of course that you had free space available). Format this drive (if needed) and then use HD Setup or SilverLining or whatever application you have to create a Swap partition on this disk. Let's assume that this "Swap disk" is SCSI ID 3. Now as far as A/UX is concerned, the device name of the Swap partition will be /dev/dsk/c3d0s1 (Slice 1 is by default Swap). (Did I go through setting up the Swap partition too quickly? If so, e-mail me and I'll provide more info.) Now boot up A/UX. To make A/UX see and use this additional swap space, as root type: /etc/swap -a /dev/dsk/c3d0s1 0 0 To make sure that this worked, type: /etc/swap -l To add this swap space whenever A/UX is booted, edit the /etc/rc file and add the "/etc/swap -a /dev/dsk/c3d0s1 0 0" line to it. THE NON-DISK WAY ---------------- If you add more RAM, you're need for Swap decreases... I have 32 MB and hardly ever use any Swap... -- ======================================================================= #include <std/disclaimer.h> =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagubox.gsfc.nasa.gov Greenbelt, MD 20771 "Exploding is a perfectly normal medical phenomenon. In many fields of medicine nowadays, a dose of dynamite can do a world of good."