SUMMARY Re: Swap partition does not install at boot time

From: Carmelo Granja <c.granja_at_med.mcgill.ca>
Date: Wed, 06 May 1998 16:43:29 -0400

Thanks to everyone that responded.


I resolved the problem by defining PAGERAW in rc.config

# rcmgr set PAGERAW 1


The hint to this came from Paul A Sand reply

The other replays contained very useful information.

Thanks Alan, Brian, Carlos Jose Carlos.

I'll include for completeness two key replies.

=========================
Alan_at_nabeth.cxo.dec.com

The default page/swap space is defined by the existence
of the symbolic link /sbin/swapdefault which points to
the block device of the partition you want to use as the
default page/swap space. The presense of this link also
controls whether the system attempts to reserve page and
swap space.

Additional page and swap device are added by putting
appropriate lines into /etc/fstab. If you elect not
to have a default page/swap space, then any device you
want to use for page/swap needs a line in /etc/fstab

===================
Paul A Sand

We have

    PAGERAW="1"
    PAGEFILE="/dev/rz0b"
    PAGEMINSZ=0
    PAGEMAXSZ=0
    export PAGERAW PAGEFILE PARTITION PARTITIONTYPE PAGEMINSZ PAGEMAXSZ

I'm pretty sure that PAGERAW is the only important one in the
normal case where you just want to run swapon -a. (The
script /sbin/init.d/paging runs /sbin/swapon -a if PAGERAW is 1.

=====================

The others contained copies of their system relevant parameters for very
useful comparisons.

Regards all

Carmelo Granja

C.Granja_at_med.McGill.CA

-----Original Message-----


>Hi,
>
>
>My system an Alpha Server 1000A with DU V4.0D is not installing the
existing
>swap partion at boot time, the command
>
># swapon -a
>
>does intall it.
>
>After some investigation, I found that /etc/rc.config does not contain any
>references to PAGEFILE PAGERAW PAGEMINSZ PAGEMAXSZ
>which are defined in another system with DU V3.2 so I imagine they may also
>be needed here.
>
>If the above is indeed the problem could someone recommend how best to
>proceed so that the default swapping gets installed at boot time
>automatically.
>
>Thanks so much
>
>Carmelo Granja
>
>C.Granja_at_med.McGill.CA
>
>
>
Received on Wed May 06 1998 - 22:47:01 NZST

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