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_at_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_at_cns.ed.ac.uk>
To: koonteck_at_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_at_cns.ed.ac.uk
Centre for Cognitive Science          
2 Buccleuch Place                       phone    0131 650 4422
Edinburgh EH8 9LW                       fax      0131 650 6626
--------------------------------------------------------------------
Received on Tue Aug 15 1995 - 04:02:11 NZST