tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Removing the second swap space disk (fwd)
@ 1995-08-15  1:43 Chua Koon Teck
  0 siblings, 0 replies; only message in thread
From: Chua Koon Teck @ 1995-08-15  1:43 UTC (permalink / raw)
  To: tru64-unix-managers

Hi

Following is one of the solutions I received for my question above.


Thank you.

Have a nice day.



Regards


____________________________________________________________________________
Chua Koon Teck	                  	
Singapore Telecom
Comcentre
SingNet			
email=koonteck@singnet.com.sg
URL="http://www.singnet.com.sg/~koonteck"
____________________________________________________________________________

---------- Forwarded message ----------
Date: Mon, 14 Aug 1995 17:29:50 GMT
From: Andrew Gillies <anaru@cns.ed.ac.uk>
To: koonteck@singnet.com.sg
Subject: Re: Removing the second swap space disk 

Hi

> I would like to release the second swap partition for normal disk
> usage.  How can I go about releasing this second swap space ?

This should require you to bring the machine down (as swap will be in
continuous use and won't allow you to unmount it in normal multiuser
mode).  First edit out the desired swap partition from the /etc/fstab
table. E.g.

	/dev/rz1a       /       ufs rw 1 1
	/proc   	/proc   procfs rw 0 0
	/dev/rz1g       /usr    ufs rw 1 2
	/dev/rz1b       swap1   ufs sw 0 2
	/dev/rz3a       swap2   ufs sw 0 6
        ...

take out the line "/dev/rz3a ..." if that is the partition you want to
reclaim.  Then you will have to bring the machine down (at least
to single user mode, so swap is not in use).  Either bring the machine
up, or in single-user mode run "newfs" on that partition to turn it
into something usable.  Finally add a new line of the form  

	/dev/rz3a	/new/mount/point  ...etc..

back to the fstab and create the mount point directory.  Bring the
machine back into multiuser mode (or mount by hand if you are already
in multiuser mode).

I think that is everything that I did to reclaim a swap partition,

Hope that helps,
Andrew
--------------------------------------------------------------------
Andrew Gillies                          e-mail   anaru@cns.ed.ac.uk
Centre for Cognitive Science          
2 Buccleuch Place                       phone    0131 650 4422
Edinburgh EH8 9LW                       fax      0131 650 6626
--------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-08-15  1:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-15  1:43 Summary: Removing the second swap space disk (fwd) Chua Koon Teck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox