Sheldon Hearn wrote:
> On Fri, 12 Jan 2001 00:54:40 +1030, Matthew Thyer wrote:
> > > /boot/kernel/kernel: swap_pager_getswapspace: failed
> > >
> > > This seems to have started in the last week.
> > >
> >
> > I saw the same problem until I stopped using mfs on /tmp.
> >
> > Stop using mfs for /tmp.
> Are you sure it's not just /tmp "filling up" swap?  If it's just that,
> all Edwin needs to do is limit the size of his MFS /tmp.  I do this in
> /etc/fstab:
>         /dev/ad0s1b   /tmp   mfs   rw,-s=245760   0   0
> See the description of the -s option in mount_mfs(8).

Well, limits are nice if you can predict your usage in advance.

In my case I was using an unlimited mfs (as I have for years):

/dev/ad0s2b            /tmp            mfs     rw              0       0

I seem to remember some changes to mfs a while ago and (without
checking cvsweb) I assume that's when this:

     -s size
             The size of the file system in sectors.  This value defaults to
             the size of the raw partition specified in special (in other
             words, newfs will use the entire partition for the file system).

became the default behaviour.

This seems a bit of a pain.

Is there anyway to go back (if I'm correct) to dynamic usage of swap ?
I suppose I'm talking about a real tmpfs ala Solaris.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to