From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,48d5bec4003cac17 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-03-20 10:07:11 PST Newsgroups: comp.unix.osf.osf1 Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!lkg.dec.com!thomas From: thomas@lkg.dec.com (Matt Thomas) Subject: Re: How to specify additional swap space on OSF1/alpha Message-ID: <1993Mar20.180711.2110@nntpd.lkg.dec.com> Keywords: DEC alpha swap mkfile Sender: thomas@netrix.lkg.dec.com (Matt Thomas) Reply-To: thomas@lkg.dec.com Organization: Digital Equipment Corporation References: <1od7p0$i34@harpo.wi.mit.edu> Date: Sat, 20 Mar 1993 18:07:11 GMT 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.