How to increase swap space in AIX PS/2 1.1?

Jack F. Vogel jackv at turnkey.gryphon.COM
Mon Feb 5 06:12:25 AEST 1990


In article <1990Feb2.132506.18995 at tct.uucp> chip at tct.uucp (Chip Salzenberg) writes:
>I've recently started working with AIX PS/2 1.1, in preparation for
>doing some porting work.  However, now that I have Emacs and bash
>running, I've a small problem with swap space.  Someone else built the
>system with the default swap area of 4000 blocks, and now I'm running
>out of swap space when I compile large programs from Emacs.
 
Surprise surprise, nothing like GNU software to chew up the old memory,
wait til you try and run X :-}!!

>I have a small partition that I'm willing to sacrifice, but it was
>originally configured as "/u" and now the "minidisks" command won't
>let me change its status.
 
>So can I increase my swap space without rebuilding the whole disk??
>I'd be very disappointed if this change is impossible...

Theoretically this can be done, it depends on your present layout of
minidisks. What I mean is that there is a tool for manipulating things,
it is the Utilities diskette, it will allow you to remove and recreate
the various sorts of minidisks on your drive. The problem you might
have, I suspect, is that in the usual installation the /u filesystem
is created on minidisk 1, while the paging device is usually number 4,
and the local and root lay between them. Thus you cannot really combine
their space into one paging device. However if the /u minidisk is 
larger than 4000 blocks you could remove it, and recreate a paging
minidisk with that larger area, and then perhaps make the /u filesystem
where the old paging device was. In any case, I would strongly recommend
doing a backup prior to diddling with the vtoc in this way.

Good Luck!

Disclaimer: These are my opinions, not necessarily LCC's or IBM's

-- 
Jack F. Vogel			jackv at seas.ucla.edu
AIX Technical Support	              - or -
Locus Computing Corp.		jackv at ifs.umich.edu



More information about the Comp.unix.aix mailing list