Changing swap mode makes loss of swapdevice ?

From: Magali BERNARD <Magali.Bernard_at_univ-st-etienne.fr>
Date: Thu, 28 Nov 2002 11:16:05 +0100

Hi managers,

I have an XP1000 with Tru64Unix 5.1, with default swap mode
set to eager (or immediate). I want to set it to lazy (or
deferred) mode. From the man pages I have understood the
following:

- Make a swap.stanza file:
vm:
        vm_swap_eager = 1

- sysconfigdb -u -f swap.stanza vm
- Reboot

I was surprised to get the message
"vm_swap_init: warning UNSPECIFIED swap device not found"
"swapon -s" shows no more allocated space.
"sysconfig -q vm" gives effectively "swapdevice = UNSPECIFIED"
(and "vm_swap_eager = 0")

Finally I had to add in my swap.stanza file:
        swapdevice = /dev/disk/dsk1b

an reboot was ok.

Also, before changing swap mode, /etc/sysconfigtab contained
"vm-swap-eager=1" instead of "vm_swap_eager=1"...

Did I miss something ?

TIA.


-- 
_________________________________________________________________
Magali BERNARD - CRITeR - Université Jean Monnet de Saint-Etienne
23 rue du Dr Paul Michelon - 42023 St-Etienne Cedex 2 - FRANCE
Tel: 04.77.48.50.62
Received on Thu Nov 28 2002 - 10:18:37 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT