chip@tct.uucp (Chip Salzenberg) (02/02/90)
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. 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... -- Chip Salzenberg at ComDev/TCT <chip%tct@ateng.com>, <uunet!ateng!tct!chip> "The Usenet, in a very real sense, does not exist."
kevin@msa3b.UUCP (Kevin P. Kleinfelter) (02/05/90)
chip@tct.uucp (Chip Salzenberg) writes: ... >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 have deleted my "/u" minidisk, so I know it is possible. Rather than trying to "change" its status, you might try to delete it, and then mark it as "free space" and THEN make it swap space. I wouldn't know about swap space: I'm running a few small reentrant programs on a machine with 8 meg; I don't think I've swapped. You may have to do this when booted from the "maintennance" diskette. -- Kevin Kleinfelter @ Management Science America, Inc (404) 239-2347 gatech!nanovx!msa3b!kevin
jackv@turnkey.gryphon.COM (Jack F. Vogel) (02/05/90)
In article <1990Feb2.132506.18995@tct.uucp> chip@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@seas.ucla.edu AIX Technical Support - or - Locus Computing Corp. jackv@ifs.umich.edu