Subject: Re: using swap with hpcmips
To: None <port-hpcmips@netbsd.org>
From: Alexander Bochmann <ab@lists.gxis.de>
List: port-hpcmips
Date: 02/05/2002 12:51:08
Hi,

...on Mon, Feb 04, 2002 at 10:31:25PM -0500, Andrew Diller wrote:

 > So I'm trying to determine why hpcmips on the z50 won't configure swap.

Hm, it does on my system.

I have 

8 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  c:   169984    34816     unused        0     0         # (Cyl.   68 - 399)
  d:   256000        0     unused        0     0         # (Cyl.    0 - 499)
  e:    34784       32      MSDOS                        # (Cyl.    0*- 67)
  f:   189440    34816     4.2BSD      512  4096    16   # (Cyl.   68 - 437)
  g:    31743   224257       swap                        # (Cyl.  438*- 499)

(I should have bought a CF card mith more than 128MB :( ...)

...and in the fstab

nfsserver:/space/slice2/z50/root / nfs rw,auto,-C,-a=2 0 0
/dev/wd0g       none    swap    sw                      0       0
swap            /tmp    mfs     rw,auto,-s=30000        0       0

# swapctl -l
Device      1K-blocks     Used    Avail Capacity  Priority
/dev/wd0g       15871        0    15871     0%    0

...no problems there.

Before, I used a swapfile on the nfs mount, without 
problems either (just had a "swapon /swap" in rc.local) - 
but then the system didn't really need any swap anyway, yet. 
Perhaps if I try to run X some day.

Alex.