adding swap to 4.0F box running AdvFS

From: Christopher C. Stevenson <csteven_at_kelvin.physics.mun.ca>
Date: Fri, 25 May 2001 18:23:32 -0230 (NDT)

Greetings managers,

Quick question; is there a quick, painless way to carve out a second
*swap* partion from an existing AdvFS partition, to increase the swap
space on one of our DS10's (just ran under 10% swap free and eventually
crashed, at the hands of a large user job, it would appear, twice in under
30 minutes)? DU4.0F doesn't support swapping to regular files. This box,
config'd by the previous admin, has 640M real memory:

May 25 17:45:43 wessex vmunix: Digital UNIX V4.0F (Rev. 1229); Mon Nov 1
12:03:46 NST 1999
May 25 17:45:43 wessex vmunix: physical memory = 640.00 megabytes.
May 25 17:45:43 wessex vmunix: available memory = 620.79 megabytes.
May 25 17:45:43 wessex vmunix: using 2448 buffers containing 19.12
megabytes of memory
May 25 17:45:43 wessex vmunix: Firmware revision: 5.5-5
May 25 17:45:43 wessex vmunix: PALcode: Digital UNIX version 1.51-51
May 25 17:45:43 wessex vmunix: COMPAQ AlphaServer DS10 466 MHz
[...]

>>>>>>> but apparently only 384M swap (!): <<<<<<<<

<33 wessex /var/adm> swapon -s
Swap partition /dev/rz16b:
    Allocated space: 49152 pages (384MB)
    In-use space: 1 pages ( 0%)
    Free space: 49151 pages ( 99%)


Total swap allocation:
    Allocated space: 49152 pages (384MB)
    In-use space: 1 pages ( 0%)
    Available space: 49151 pages ( 99%)


There's a nice, fat AdvFS partition that's only 1% used which looks very
attractive, and I'd like to avoid downtime if possible:

<36 wessex /var/adm> df -k | less
Filesystem 1024-blocks Used Available Capacity Mounted on
root_domain#root 262144 77803 176984 31% /
/proc 0 0 0 100% /proc
usr_domain#usr 2097152 991246 1028328 50% /usr
usr_domain#var 2097152 45182 1028328 5% /var
data#users 5010008 16 5009992 1% /users
data#data1 5010008 2658920 2351088 54% /data1
data#data2 5010008 1149919 3860089 23% /data2
[...]


Thanks in advance,
Chris
======================================================================
Christopher C Stevenson C4063 office: (709) 737-2624
Dept. of Physics & Physical Oceanography fax: (709) 737-8739
Memorial University of Newfoundland
St. John's, Newfoundland, CANADA A1B 3X7
URL: http://www.physics.mun.ca/~csteven
======================================================================

"A scientific truth does not triumph by convincing
its opponents and making them see the light, but
rather because its opponents eventually die and a
new generation grows up that is familiar with it."
                        -- Max Planck

"We are all in the gutter, but some of us are looking at the stars."
                        -- Oscar Wilde

"Committees do harm merely by existing." -- Freeman Dyson
Received on Fri May 25 2001 - 20:54:35 NZST

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