From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b524498a167043f0 X-Google-Attributes: gid1164f8,public From: John Hill Subject: Re: Swap addition. Date: 1999/01/15 Message-ID: <369F1592.708B98A7@hep.phy.cam.ac.uk>#1/1 X-Deja-AN: 432893779 Content-Transfer-Encoding: 7bit References: <369EEDB4.794B@afmb.cnrs-mrs.fr> Content-Type: text/plain; charset=us-ascii Organization: University of Cambridge Mime-Version: 1.0 Newsgroups: comp.sys.dec Eric Blanc wrote: > Hye, > > We just bought 2 DEC worstation. > > Work fine, Thanks. > > But, I have a question. > > What's the command for adding swap mem. > > Eric. > -- > _________________________________________________________________ > Eric Blanc > NMR Group Postdoc., Webmaster for AFMB > WWW: http://afmb.cnrs-mrs.fr/~eric/ AFMB CNRS-UPR 9039 > Email: eric@afmb.cnrs-mrs.fr 31 Ch J. Aiguier > Fax: 33-4-91-16-45-36 13402 Marseille CEDEX 20 > Phone: 33-4-91-16-45-29 FRANCE You don't say what operating system you are running (it does make a difference :-) ) For DIGITAL UNIX /sbin/swapon /dev/rz1b will add partition rz1b as a swap area. Make sure the partition exists and doesn't overlap other partitions on the disk. See "man swapon" for full details. Normally the swap devices are defined in /etc/fstab, so they are set up at boot time. For OpenVMS: RUN SYS$SYSTEM:SYSGEN SYSGEN> CREATE DISK:[DIR]SWAPFILE.SYS/SIZE=100000/CONTIG SYSGEN> INSTALL DISK:[DIR]SWAPFILE.SYS/SWAPFILE will create and make active a swapfile (/PAGE gives a pagefile). Normally the INSTALL command is placed in SYS$MANAGER:SYPAGSWPFILES.COM, so it is invoked early in the boot sequence. Regards, John Hill -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Dr. John C. Hill University of Cambridge, + + E-mail: hill@hep.phy.cam.ac.uk Cavendish Laboratory, + + Phone: +44-1223-337243 Madingley Road, + + Fax: +44-1223-353920 Cambridge, CB3 0HE, U.K. + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++