From owner-freebsd-stable Fri Dec 13 13: 3:15 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE39337B401 for ; Fri, 13 Dec 2002 13:03:13 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF54443EC2 for ; Fri, 13 Dec 2002 13:03:12 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id gBDL3AdK054178; Fri, 13 Dec 2002 13:03:10 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id gBDL3Aea032148; Fri, 13 Dec 2002 13:03:10 -0800 (PST) (envelope-from jdp) Date: Fri, 13 Dec 2002 13:03:10 -0800 (PST) Message-Id: <200212132103.gBDL3Aea032148@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: marius@malkav.snowmoon.com Subject: Re: memory disks in 4.5-stable In-Reply-To: <20021212170432.V55411-100000@malkav.snowmoon.com> References: <20021212170432.V55411-100000@malkav.snowmoon.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20021212170432.V55411-100000@malkav.snowmoon.com>, Marius M. Rex wrote: > > I want to create a number of small RAM disks on some webservers so they > can serve high traffic content directly off of RAMdisks instead of > conventional disks or NFS. > > I first tested this out on my desktop machine 4-7 stable and everything > worked just fine. I made 3 10Mb RAMdisks and mounted then just as > planned. But once I hopped onto the production servers (4.5-Stable from > eb 26, 2002 I believe) I seemed to be limited to using only one md device. > Only md0 is reconized as valid, any device number above that fails > to be recognized as a configured device. It's a bug that I fixed in the -stable branch on 19 August. If you update "src/sys/dev/md/md.c" to revision 1.8.2.2 and rebuild your kernel, your problem should go away. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message