*BSD News Article 19177


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!psinntp!newstand.syr.edu!rodan.acs.syr.EDU!smcarey
From: smcarey@rodan.acs.syr.EDU (Shawn M Carey)
Subject: Re: Swapinfo
Message-ID: <1993Aug4.191234.16542@newstand.syr.edu>
Organization: Syracuse University, Syracuse, NY
References: <23nbdp$rs8@stimpy.css.itd.umich.edu>
Date: Wed, 4 Aug 93 19:12:34 EDT
Lines: 27

In article <23nbdp$rs8@stimpy.css.itd.umich.edu> altitude@css.itd.umich.edu (Alex Tang) writes:
>Hi.  I'm wondering why I can't get my second swap partition to function.  I've
>configured my kernel like so:
>config          "386bsd"        root on wd0 swap on sd0 and wd0
>
>
>but when I do a swapinfo, i get:
>
>Device       512-blks       Used  Available   Capacity
>/dev/sd0b       20160      10240       9920      51%
>/dev/wd0b       20144  *** not available for swapping ***
>
>Any ideas?
>
>ps.  wd0b, and sd0b are my swap partitions.  
>

	Do you have the second partition (wd0b) listed in your
/etc/fstab as swap?  eg.

/dev/wd0b               none            swap sw

This will cause swapon -a to catch it, otherwise you'll have to add the
partition manually with "swapon /dev/wd0b".  Hope this helps.

-Shawn Carey