bferguso@ics.uci.edu (B. Ferguson) (08/02/89)
As a result of using decwindows all of our users need more swap space. I reconfigured the partitions on ra0 to give 64880 sectors in partition g and changed the the config file to say: config vmunix root on ra0a swap on ra0b and ra0d size 66880 dumps on ra0b from the previous: config vmunix root on ra0a swap on ra0b dumps on ra0b Now when I do pstat -s I get : 50160k swap configured 11793k used (3195k text, 54k smem) 4925k free, 3122k wasted, 33442k missing avail: 7*512k 2*256k 2*128k 3*64k 1*32k 4*16k 285*1k Can any one explain the reason for there being 33442k missing? Thanks Bruce.
chris@wugate.wustl.edu (Chris Myers) (08/03/89)
In article <20352@paris.ics.uci.edu> B Ferguson <bferguso@ics.uci.edu> writes: >[...] >config vmunix root on ra0a swap on ra0b and ra0d size 66880 dumps on ra0b >[...] >Now when I do pstat -s I get : > >50160k swap configured > 11793k used (3195k text, 54k smem) > 4925k free, 3122k wasted, 33442k missing >avail: 7*512k 2*256k 2*128k 3*64k 1*32k 4*16k 285*1k > >Can any one explain the reason for there being 33442k missing? You need to type 'swapon /dev/ra0d' and add the following line to your /etc/fstab file (so that it automatically adds the second swap partition after you reboot): /dev/ra0d::sw:0:0::: The kernel will only swap on the primary (first listed on the config line) swap partition until told to do otherwise by the swapon command. The /etc/rc file does a swapon -a, which checks for swap partitions listed in /etc/fstab and enables swapping on them. Chris Myers Office of the Network Coordinator Washington University in St. Louis