Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 17:33:56 +0300
From:      ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru
To:        freebsd-stable@freebsd.org
Subject:   Re: 5.3 mdmfs or mdconfig problem
Message-ID:  <20041111143356.GA705@gambit.com.ru>
In-Reply-To: <opsg9tu9nm8527sy@smtp.local>
References:  <20041105110830.GP58031@gambit.com.ru> <20041105215427.GA33096@xor.obsecurity.org> <20041109083810.GJ58031@gambit.com.ru> <opsg7ya3jo8527sy@smtp.local> <20041110084132.GA699@gambit.com.ru> <opsg9tu9nm8527sy@smtp.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

>>>> This host has 192 MB of RAM and 512 MB of swap.
>>>>	/sbin/mdmfs -i 4096 -s $1    md $2				(*)
>>> You don't have enough RAM in your system to do that.
>> I'm running mdmfs WITHOUT "-M" flag.

Ronald Klop wrote:
> Maybe I'm missing something, but tmpmfs works malloc-based by default:
> /etc/rc.d/initdiskless: mount_md() { /sbin/mdmfs -i 4096 -s $1 -M md $2 }

	I removed "-M" from the mount_md() function definition
	in /etc/rc.d/initdiskless file, please see [*].

	When I run "mdmfs -i 4096 -s 1m md /mnt" command, mdmfs runs
	"mdconfig -a -t swap -s 1m", but the /mnt is still malloc-backed:

FreeBSD i386 5.3-STABLE Nov 11 07:00:00 UTC 2004
panic: kmem_malloc(4096): kmem_map too small: 63737856 total allocated

--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQFBk3hU99Q+k88BflcRAjsBAKCCc6O9YSFv2JVN/gPaa2ZzAvIeUgCgl/nr
9jw/VOuUKnq8lSqMYEtsAmc=
=56IN
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041111143356.GA705>