From owner-freebsd-doc Wed May 23 16:20: 8 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F12E137B423 for ; Wed, 23 May 2001 16:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4NNK1G65052; Wed, 23 May 2001 16:20:01 -0700 (PDT) (envelope-from gnats) Received: from ice.42.org (ice.42.org [194.246.250.222]) by hub.freebsd.org (Postfix) with ESMTP id 40BB937B423 for ; Wed, 23 May 2001 16:10:41 -0700 (PDT) (envelope-from sec@ice.42.org) Received: by ice.42.org (Postfix, from userid 1000) id C3E5B2DC; Thu, 24 May 2001 01:10:39 +0200 (CEST) Message-Id: <20010523231039.C3E5B2DC@ice.42.org> Date: Thu, 24 May 2001 01:10:39 +0200 (CEST) From: sec@ice.42.org Reply-To: sec@ice.42.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/27599: md(4) manpage enhancement Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27599 >Category: docs >Synopsis: md(4) manpage enhancement >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 23 16:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Stefan `Sec` Zehl >Release: FreeBSD 4.3-STABLE i386 >Organization: >Environment: System: FreeBSD ice 4.3-STABLE FreeBSD 4.3-STABLE #5: Mon May 21 23:19:31 CEST 2001 root@ice:/usr/export/obj/usr/export/src/sys/ICE i386 >Description: I found out that the hard way that a malloc(9)-backed md(4) disk has a certain maximum size. If you increase it beyond that, your system will hang. (See discussion with phk, kern/27259). I hope my manpage update (or something similar) can be added, so other users won't run into the same problem. >How-To-Repeat: >Fix: Add this note to the manpage. --- /usr/export/src/share/man/man4/md.4 Sun Dec 31 03:11:56 2000 +++ ./md.4 Thu May 24 00:56:57 2001 @@ -59,6 +59,11 @@ with the kernel option .Dv MD_NSECT . .Pp +Be warned that due to kernel constraints such a +.Nm +disk cannot be bigger than a certain maximum size. +This size can be found in the 'Limit' column of 'vmstat -m'. +.Pp At boot time the .Nm driver will search for pre-loaded modules of type >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message