Subject: Re: NMBCLUSTERS and sysctl
To: Martti Kuparinen <martti.kuparinen@nomadiclab.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: current-users
Date: 12/13/2000 09:45:36
On Wed, Dec 13, 2000 at 11:52:22AM +0200, Martti Kuparinen wrote:
> "Ok, so boot into single-user mode and use sysctl to increase the
> nmbclusters and recompile the kernel" I thought. This is what I get:
>
> # sysctl kern.mbuf.nmbclusters
> kern.mbuf.nmbclusters = 256
> # sysctl -w kern.mbuf.nmbclusters=1000
> sysctl: sysctl() for kern.mbuf.nmbclusters failed: Operation not permited
> # sysctl -w kern.mbuf.nmbclusters=256
> sysctl: sysctl() for kern.mbuf.nmbclusters failed: Operation not permited
> # sysctl kern.securelevel
> kern.securelevel = -1
>
> What should I do? I don't like the idea of moving the disk back to the
> installation PC...
You cannot change this w/ sysctl on a PC. Only on platforms which use
a direct-mapped segment for mapping the mbuf cluster pages (which the
x86 family cannot do) can you change this with sysctl.
--
-- Jason R. Thorpe <thorpej@zembu.com>