Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 12:45:13 -0400
From:      "Robert J. Adams" <radams@siscom.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Large /dev/md0 ramdisk
Message-ID:  <015f01c12418$77f38e70$3102fbd1@jason>

next in thread | raw e-mail | index | archive | help
Hello,

I have a need for a rather large ramdisk. From what I've read, md is a
better way of going than mfs. I don't want this to be able to swap out. So
far I'm having trouble getting md to store anything larger than ~90meg ..

OS:
FBSD 4.3-S

relevant kernel config:
options         MD_NSECT=800000

Then I do a:
disklabel -r -w md0 auto
newfs /dev/md0c
mount /dev/md0c /mnt

Then.. while trying to copy over a large file.. it stops.. locks up the
term.. (but not the entire system) .. I can't kill the cp proc, end up
having to reboot to clear it.

> df
Filesystem    1K-blocks     Used    Avail Capacity  Mounted on
/dev/twed0s1a   2032623   287113  1582901    15%    /
/dev/twed1s1e   2032623   488229  1381785    26%    /news
/dev/twed0s1e 544066012 171091592 329449140    34%    /news/spool/news/bin01
/dev/twed1s1f 544066012 172257468 328283264    34%    /news/spool/news/bin02
procfs                4        4        0   100%    /proc
/dev/md0c        387607    90265   266334    25%    /mnt

It always gets to the exact same number of blocks... 90265 .. anyone have an
idea?

Thanks,
Jason
---
Robert J. Adams radams@siscom.net http://www.siscom.net
Looking to outsource news? http://www.newshosting.com
SISCOM Network Administration - President, SISCOM Inc.
Phone: 937-222-8150 FAX: 937-222-8153




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?015f01c12418$77f38e70$3102fbd1>