Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: thomas@lkg.dec.com (Matt Thomas)
Subject: Re: How to specify additional swap space on OSF1/alpha
Date: Sat, 20 Mar 1993 18:07:11 GMT	[thread overview]
Message-ID: <1993Mar20.180711.2110@nntpd.lkg.dec.com> (raw)
In-Reply-To: 1od7p0$i34@harpo.wi.mit.edu


In article <1od7p0$i34@harpo.wi.mit.edu>, lstein@genome.wi.mit.edu (Lincoln Stein) writes:
|>I'm using a DEC 3000 alpha running prerelease OSF1.  Can someone tell
|>me whether it's possible to designate an additional file for swap
|>space without repartitioning a disk?
|>
|>On a sun, it's easy to create a swap file using mkfile, and then
|>designate it as swap using swapon.  While OSF1 has swapon, it doesn't
|>seem to have an equivalent to mkfile.  I've tried creating a file of
|>0's and setting the sticky bit, but swapon complains that the "device
|>is not configured."

Find an empty disk partition (but not an "a" parition or you may wipe out your
disklabel) and do:

	swapon /dev/rzXp

where X is the disk number and p is the parition (a-h).  To get it automaticlly
mounted, add it to /etc/fstab thusly (I'm using rz0b as the second swap
parition):

/dev/rz0g                       swap1                   ufs sw          0 2
/dev/rz0b                       swap2                   ufs sw          0 2

Another alternative to consider to switch your OSF/1 system to lazy allocation
swap space instead of the default eager allocation.  To do this, remove the
link /sbin/swapdefault (which is a symbolic link to the swap parition block
device entry in /dev).
--
Matt Thomas                            Internet:   thomas@lkg.dec.com
U*X Networking                         UUCP:       ...!decwrl!thomas
Digital Equipment Corporation          Disclaimer: This message reflects my own
Littleton, MA                                      warped views, etc.


  reply	other threads:[~1993-03-20 18:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-03-19 19:43 How to specify additional swap space on OSF1/alpha Lincoln Stein
1993-03-20 18:07 ` Matt Thomas [this message]
1993-03-22 10:16   ` ufe
1993-03-22 14:22     ` John Corne
1993-03-22 17:03     ` Rick Murphy
1993-03-23  0:25       ` Fred Velijanian
1993-03-25  9:18         ` Balendra Elangco
1993-03-23 18:46   ` Andreas Karrer
1993-03-23 21:00     ` Dave Sill
1993-03-24 23:53     ` Inefficiency of filesystem paging (was Re: How to specify additional swap space on OSF1/alpha) Dan Mosedale
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