tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Changing swap mode makes loss of swapdevice ?
@ 2002-11-28 14:00 Magali BERNARD
  0 siblings, 0 replies; only message in thread
From: Magali BERNARD @ 2002-11-28 14:00 UTC (permalink / raw)



Thanks to:
Michael Polnick <polnick@pdv-sachsen.net>
"Gergen, Peter" <petergergen@kpmg.com.au>

Michael explains what I misunderstood in man pages

polnick@pdv-sachsen.net said:
> if you use  sysconfigdb -u you REPLACE the whole vm  sysconfigtab
> entry with your new vm entry. If it doesn't contain the swap device,
> you lost the swap.
> I think you mean -m (merge) to merely change the modified parameter.

and also:

> The vm-swap-eager is old-style and the vm_swap_eager is new-style both
> are recognized (currently).


petergergen@kpmg.com.au said:
> It is easiest to just edit the /etc/sysconfigtab file and change the
> line vm_swap_eager = 1    to   vm_swap_eager = 0 and the reboot 

but you can read at the top of /etc/sysconfigtab:
#
# The supported method of changing the information in this
# file (sysconfigtab) is by using the sysconfigdb command.
#

Original message:

> 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 ?


-- 
_________________________________________________________________
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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-28 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28 14:00 SUMMARY: Changing swap mode makes loss of swapdevice ? Magali BERNARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox