5.3 mdmfs or mdconfig problem

ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659 at gambit.com.ru ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659 at gambit.com.ru
Thu Nov 11 06:33:59 PST 2004


>>>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041111/29fe3749/attachment.bin


More information about the freebsd-stable mailing list