From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fa15ef22191b6e6d X-Google-Attributes: gidfee84,public From: john hall Subject: Re: swap space - reserved space? Date: 1997/12/13 Message-ID: <3492B7F9.661E@netcomuk.co.uk>#1/1 X-Deja-AN: 297867279 References: <881590435.27414.0.nnrp-05.9e982017@news.demon.co.uk> <66kf8l$3cb@nntpd2.cxo.dec.com> X-Complaints-To: abuse@corp.netcom.net.uk X-Trace: taliesin.netcom.net.uk 882030747 15169 194.42.228.204 (13 Dec 1997 16:32:27 GMT) Organization: None. (via NETCOM Internet Ltd. USENET service). Newsgroups: comp.unix.osf.osf1 Alan Rollow - Dr. File System's Home for Wayward Inodes. wrote: > -------------------->8 > The system offers the choice of whether page/swap space will be > reserved for the memory when it is created. The default mode > is to reserved page/swap as memory is created (as indicated by > the presense of /sbin/swapdefault pointing to a device which > exists). When page/swap reserved you are guaranteed that if > a page needs to be written out, there will be enough page/swap > for it. > > 8<------------------ This reveals one sublety involved in moving a DU system from one disk set to another (e.g. internal to external SCSI) with immediate swapping policy (i.e. /sbin/swapdefault pointing to a device which exists). Unaltered, the /sbin/swapdefault will still be linked to the same disk partition as previously rather than a partition on the new device addresses. If there are now no disks at this device addresss then you'll have changed from immediate to deferred swap mode. If swapdefault still points to an existing disk partition then it will happily use it. Hopefully the disk didn't have your vital data on it! regards john hall