Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: john hall <jhall@netcomuk.co.uk>
Subject: Re: swap space - reserved space?
Date: 1997/12/13	[thread overview]
Message-ID: <3492B7F9.661E@netcomuk.co.uk> (raw)
In-Reply-To: 66kf8l$3cb@nntpd2.cxo.dec.com


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



      reply	other threads:[~1997-12-13  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-08  5:00 swap space - reserved space? Andrew Ireland
1997-12-08  5:00 ` Mat Butler
1997-12-08  5:00 ` Brian Weaver
1997-12-08  5:00 ` Jim Granfield
1997-12-09  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1997-12-13  5:00   ` john hall [this message]
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