From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3b8163a546cfba20 X-Google-Attributes: gidfee84,public From: wooledgj@techsrv1.clv.ous.bp.com (Greg Wooledge x5932) Subject: Re: increasing swap space Date: 1996/06/18 Message-ID: <1996Jun18.154805.2424@netusr.bp.com>#1/1 X-Deja-AN: 160885584 references: <4pi7ts$r6u@zk2nws.zko.dec.com> <1996Jun12.001216.13723@isac.hces.com> reply-to: wooledgj@techsrv2.clv.ous.bp.com newsgroups: comp.unix.osf.osf1 timw@isac.hces.com (Timothy M. Wieman) writes: >Patrick O'Rourke USG (orourke@falpha.zk3.dec.com) wrote: > >> In article , schurr@der.usz.ch (Schurr Mathias) writes: >> >We are running an Alpha 400 4/233 with Digital Unix 3.2c. Do we really >> >have to reinstall the OS to increase the swap space or is there a better >> >solution > >> No, look at the man page for swapon(8). > >But according to my man page, you canNOT swap to a regular file. Is >this changed in Digital Unix 4.0? I don't know about 4.0, but there's something here I didn't quite understand about your comment. No, you cannot swap to a regular file under 3.2, but this only matters if you've already allocated all your disk space to file systems (or database raw partitions) and have no money left to buy another disk. Buy a disk, and possibly a SCSI cable. Check SCSI addresses, shut the system down, connect the disk, power back up. Partition the disk as desired. Add an entry in /etc/fstab for your new swap partition on the new disk, and then use the appropriate swapon command. (If boss won't pay up, ask boss how much money in lost business it will cost if you must reinstall the OS and the system is down for, say, 1 whole day. Then compare this figure against the measly price of the disk & cable!) (Also, putting swap on multiple disks can be a real performance bonus!) -- Greg Wooledge wooledgj@techsrv2.clv.ous.bp.com UNIX Technical Support (216) 586-5932 British Petroleum FAX (216) 621-6459 "The views expressed in this note are those of the individual concerned and should not necessarily be taken as being the views of The British Petroleum Company p.l.c. or any of the BP Group of companies."