Newsgroups: comp.unix.aix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!turnkey!jackv
From: jackv@turnkey.tcc.com (Jack F. Vogel)
Subject: Re: paging space
Message-ID: <1991Jun04.154408.12112@turnkey.tcc.com>
Reply-To: jackv@turnkey.TCC.COM (Jack F. Vogel)
Organization: Turnkey Computer Consultants, Westchester, CA
References: <598@afc-tci.UUCP> <1991Jun2.035033.6444@mtu.edu> <1991Jun03.225748.1206154@locus.com>
Date: Tue, 04 Jun 91 15:44:08 GMT

In article <1991Jun03.225748.1206154@locus.com> richard@locus.com (Richard M. Mathews) writes:
>rel@mtu.edu (Robert E. Landsparger) writes:
 
>>I currently don't know off a way to turn off paging space that is in use.  I
>>am sure SOMEONE will correct (flame) me if I am wrong.
 
>At least on AIX 1.2.* (PS/2 and 370) you can use the swapctl(SC_DEL,name)
>call to remove a paging device on a running system.  Note that you can't
>delete the last paging device -- you have to add a new one before you
>delete the old one.  A floppy can be used as a temporary paging device
>in order to grow or shrink an existing paging device).
 
What Richard says is technically correct, however, swapctl() is a system 
call, the administrator has no need to worry about that level of things, 
there is an application interface to the call, /etc/swapoff and /etc/swapon 
that do the job for you. I don't know if the 6000 provides these BSD
utilites or not. Also, if you want to change the default paging device
remember that the kernel has a global, swapdev, which it its idea of the
first swap device to use upon boot, this would need to be changed to
correctly specify the new device.

Disclaimer: Opinions are my own, not necessarily my employer's.

-- 
Jack F. Vogel			jackv@locus.com
AIX370 Technical Support	       - or -
Locus Computing Corp.		jackv@turnkey.TCC.COM
