[comp.unix.aix] paging space

dbeedle@rs6000.cmp.ilstu.edu (Dave Beedle) (04/19/91)

     Hi all...is there a way to find out what is using up the paging space
and is there a way to free some up?  Thanks!

-- 
  Dave Beedle                                    Office of Academic Computing
                                                    Illinois State University
  Internet:  dbeedle@rs6000.cmp.ilstu.edu                    136A Julian Hall  
    Bitnet:  dbeedle@ilstu.bitnet                          Normal, Il   61761

joubert@afc-tci.UUCP (Joubert Berger) (06/01/91)

Anyone know how to deactive a paging space.  I created a very large
paging space and I know what to make it smaller.  So I am going to delete
the paging space and recreate it.  But I need to first make the paging 
space unactive.  Any ideas?
	     Joubert
-- 
Joubert Berger                   | Email:
Teldata Computer Industries, Inc.| joubert@afc-tci.uucp    
Atlanta, Georgia  (404) 256-2166 | {rutgers,ogicse,gatech}!emory!afc-tci!joubert

rel@mtu.edu (Robert E. Landsparger) (06/02/91)

In article <598@afc-tci.UUCP>, joubert@afc-tci.UUCP (Joubert Berger) writes:
|> Anyone know how to deactive a paging space.  I created a very large
|> paging space and I know what to make it smaller.  So I am going to delete
|> the paging space and recreate it.  But I need to first make the paging 
|> space unactive.  Any ideas?
|> 	     Joubert

One way, is to disable it through SMIT so it is not active on system restart,
and re-boot the system.  This will cause it not to become active when the
system comes back up.  Then remove the paging space.

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.

--Bob

-- 

USER:		Can I get a list of *all* the unix commands?
CONSULTANT:	man -k - | lpr -
USER:		huh?

+-------------------------------------------------------------------------+
| Robert E. Landsparger (rel@mtu.edu) - Computing Technology Services
| Michigan Technological University, Houghton, MI 49931	(906) 487-2110
+--------------------------------------------------------------------+
| The above comments do not always represent those of my employer.
+

richard@locus.com (Richard M. Mathews) (06/04/91)

rel@mtu.edu (Robert E. Landsparger) writes:

>In article <598@afc-tci.UUCP>, joubert@afc-tci.UUCP (Joubert Berger) writes:
>|> Anyone know how to deactive a paging space.  I created a very large
>|> paging space and I know what to make it smaller.  So I am going to delete
>|> the paging space and recreate it.  But I need to first make the paging 
>|> space unactive.  Any ideas?
>|> 	     Joubert

Please specify the platform and release on all questions.

>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).

Disclaimer: I only wrote the code.  I don't speak for LCC or IBM.

Richard M. Mathews			 Freedom for Lithuania
richard@locus.com				Laisve!
lcc!richard@seas.ucla.edu
...!{uunet|ucla-se|turnkey}!lcc!richard

jackv@turnkey.tcc.com (Jack F. Vogel) (06/04/91)

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

allan@sinix.UUCP (Allan Perry) (06/17/91)

richard@locus.com (Richard M. Mathews) writes:
>
>   [someone else asked some questions about the paging space]
>
>Please specify the platform and release on all questions.

C'mon, Richard.  It has to be RS/6000.  No one ever mentions AIX 1.2.* here.
There must be something in the charter of this newsgroup against it.

I read this newsgroup to see if anyone asks about anything that I worked on,
but I spend most of my time skipping RS/6000 articles.

>Disclaimer: I only wrote the code.  I don't speak for LCC or IBM.

I don't speak for LCC or IBM, either.  I don't ever work for them anymore.

alan

jaime@excalibur.austin.ibm.com (06/17/91)

In article <1991Jun17.122158.23757@sinix.UUCP>, allan@sinix.UUCP (Allan
Perry) writes:
> From: allan@sinix.UUCP (Allan Perry)
> Subject: Re: paging space
> 
> richard@locus.com (Richard M. Mathews) writes:
> >
> >   [someone else asked some questions about the paging space]
> >
> >Please specify the platform and release on all questions.
> 
> C'mon, Richard.  It has to be RS/6000.  No one ever mentions AIX 1.2.* here.
> There must be something in the charter of this newsgroup against it.
> 
.
.
> alan

Try again Alan.  I have seen several articles dealing with AIX 1.2.* in this 
newsgroup.  I will grant you that the vast bulk of the questions deal with
the 6000 machine, tho.  Have a nice day!

--------------------------------------------------------------------------

Jaime Vazquez		
AIX Technical Support  
IBM AWD-Austin/2830             
6000:  jaime@excalibur.austin.ibm.com          
InterNet: jaime@austin.vnet.ibm.com  or jaime%austin@vnet.ibm.com
--------------------------------------------------------------------
<Standard disclaimers apply.>