Swapping on a Logical Volume?

From: Kristian Koehntopp <kris_at_oekoalpha.pz-oekosys.uni-kiel.d400.de>
Date: Thu, 21 Sep 1995 12:59:24 +0200

This is a fairly old installation

        root_at_oekoalpha> uname -a
        OSF1 oekoalpha V2.0 240 alpha

which has memory problems

        Sep 21 11:52:19 oekoalpha vmunix: swap space below 10 percent free
        Sep 21 11:52:20 oekoalpha vmunix: process (pid = 5597) killed because of no swap space

The machine is already in lazy allocation mode. It has currently 64 MB of
RAM and 128 MB of swapspace. I have an unused partition of another 100 MB on
this machine, but this partition is under control of the logical volume
manager:

        # Old Swap 128 MB
        /dev/rz3b swap1 ufs sw 0 2
        # Secondary Swap 100 MB
        /dev/rootvg/workspace swap2 ufs sw 0 2

When I try to activate this swapspace, I get

        root_at_oekoalpha> swapon -av
        swapon: /dev/rootvg/workspace: device not configured
        root_at_oekoalpha> swapon -s
        Total swap allocation:
            Allocated space: 16384 pages (128MB)
            Reserved space: 7434 pages ( 45%)
            Available space: 8950 pages ( 54%)

        Swap partition /dev/rz3b:
            Allocated space: 16384 pages (128MB)
            In-use space: 7434 pages ( 45%)
            Free space: 8950 pages ( 54%)

Question 1: Is it possible to use the above logical volume as additional
swap space? Would an upgrade to 3.2 remedy the situation?

Question 2: If it is possible, what do I have to do to make it work?

Kristian
Received on Thu Sep 21 1995 - 13:21:52 NZST

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