mdconfig using malloc()

Shawn O'Connor soconnor at falconknight.com
Thu Jun 28 08:26:16 UTC 2007


Guys,

I'm trying to do the following:

mdconfig -a -t malloc -o reserve -s 2g

Which fails saying it can't:

  mdconfig: ioctl(/dev/mdctl): Cannot allocate memory

I saw some old post advocated using -t swap instead, saying that swap  
probably wouldn't be used until real memory was consumed. But, on my  
6.2 machine that immediately raises the swap usage to 2GB and does  
use disk instead of RAM when I test using it.

Is there any way I can get 2GB of physical memory actually allocated?

As a last resort, would upgrading to -CURRENT get this to work?

Many thanks!

	-Shawn



More information about the freebsd-questions mailing list