tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Colin Brooks <cbrooks () nature ! berkeley ! edu>
To: tru64-unix-managers
Subject: SUM: Swap space & hard drives
Date: Wed, 10 Jul 1996 18:22:16 +0000	[thread overview]
Message-ID: <96076335021358.tru64-unix-managers.marc@archive.invalid> (raw)

Thank you to the following people for responding:

alan@nabeth.cxo.dec.com
Gyula Szokoly <szgyula@skysrv.Pha.Jhu.EDU> 
rbae@esri.com (Ryan Bae [ESRI-Redlands])
Dale Cook <cdm@hyperk.com>
Roddy McColl <roddy@visual-ra.swmed.edu>
"Martyn Brown, Lincoln University" <brown@whio.lincoln.ac.nz>
"Jeffrey C. Ollie" <jeff@ollie.clive.ia.us>
Craig Makin <Craig_Makin.DOLA@notes.dola.wa.gov.au>
Dougal Scott <dwagon@aaii.oz.au>
bremner@cs.mcgill.ca
Clifford Krieger <ckrieger@psi.prc.com>
"Dr. Tom Blinn, 603-881-0646" <tpb@zk3.dec.com>
Hellebo Knut <Knut.Hellebo@nho.hydro.com>
bouchard_l@decus.fr (Louis Bouchard - Bouygues Telecom)

----
Most people had the same response - I would need to back up my data currently
on rz3c, and then repartition the hard drive so that I would have several
partitions 
to choose from.  I would then reload the data on one of the partitions
(probably rz3g), 
and use a remaining one (probably rz3b) for swamp space.  One person mentioned
using a swap file, but Digital UNIX 3.2c doesn't support this yet, according
to "man swapon".  I've also considered adding a 3rd hard disk to use mostly
as swap.

Here are 3 representative examples of the responses that I got:

--------- (1) ----------
NO! Don't even think about that. Instead: go to single user mode,
back up /big to tape/nfsmounted partition/whatever, change the partition table,
create new file systems, restore the backup. You can't change the partition
size of a file system...

---------- (2) -----------
1. backup rz3c (/big filesystem)
2. zero the disklabel for rz3c
3. rewrite the disklabel as you wish, either std DEC or your requirements
4. mount /big on which ever partition you require
5. restore /big
6. add rz3b to fstab indicating it is another swap partition.

----------- (3) -------------
Be careful ! The partition table is on the first block of your disk. 
If you use partition a for swapping, you might end up with a funny looking disk
whenever your system start swapping.

	It would be better to use partition "a" as a file system and push your
swap area on another partition.  It is not without a reason that DEC is using
partition "a" for root and "b" for primary swap on a standard installation.  If
the partition "a" is used for swap, the partition table will be overwritten as
swap starts filling up (the swap space being "raw device" disk space).
-----------------------------
****************************************************************************
*********
*Colin Brooks                       						    *
*GIS Program Analyst                   Also at:					    *
*Hopland Research & Extension Center | Integrated Hardwood Range Management
Program *
*4070 University Rd.                 | ESPM at UC-Berkeley			    *
*Hopland, CA  95449                  | 160 Mulford Hall			      	    *
*TEL:(707)744-1270 FAX:(707)744-1040 | Berkeley, CA 94720-3114		      	    *
*cbrooks@nature.berkeley.edu         | TEL: 510-643-1136  FAX: 510-643-5438
*
****************************************************************************
*********

                 reply	other threads:[~1996-07-10 18:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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