From owner-freebsd-doc@FreeBSD.ORG Tue Oct 28 04:00:37 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 946F316A4CE for ; Tue, 28 Oct 2003 04:00:37 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8232A43FDF for ; Tue, 28 Oct 2003 04:00:35 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9SC0ZFY043163 for ; Tue, 28 Oct 2003 04:00:35 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9SC0Zg4043149; Tue, 28 Oct 2003 04:00:35 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 28 Oct 2003 04:00:35 -0800 (PST) Resent-Message-Id: <200310281200.h9SC0Zg4043149@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Morozovsky Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA83116A4CE; Tue, 28 Oct 2003 03:58:32 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FAD343FDF; Tue, 28 Oct 2003 03:58:31 -0800 (PST) (envelope-from marck@woozle.rinet.ru) Received: from woozle.rinet.ru (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.9p2/8.12.9) with ESMTP id h9SBwTLp066613; Tue, 28 Oct 2003 14:58:29 +0300 (MSK) (envelope-from marck@woozle.rinet.ru) Received: (from marck@localhost) by woozle.rinet.ru (8.12.9p2/8.12.9/Submit) id h9SBwTrD066612; Tue, 28 Oct 2003 14:58:29 +0300 (MSK) (envelope-from marck) Message-Id: <200310281158.h9SBwTrD066612@woozle.rinet.ru> Date: Tue, 28 Oct 2003 14:58:29 +0300 (MSK) From: Dmitry Morozovsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: grog@FreeBSD.org Subject: docs/58615: update for Vinum chapter of Handbook: describe raid5 plexes X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dmitry Morozovsky List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 12:00:37 -0000 >Number: 58615 >Category: docs >Synopsis: update for Vinum chapter of Handbook: describe raid5 plexes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 28 04:00:34 PST 2003 >Closed-Date: >Last-Modified: >Originator: Dmitry Morozovsky >Release: FreeBSD 4-STABLE i386 >Organization: Cronyx Plus LLC (RiNet ISP) >Environment: System: FreeBSD 4-STABLE >Description: Vinum Chapter (Number 13 as of current Handbook) mostly had been written in the epoch of FreeBSD 3.x, where raid5 Vinum capabilities were strict-licensed. This is no longer the case for RELENG_4; however, raid5 has been described in "conceptual" sections but not in "implementation" ones. Here is update for two level1 sections. Next update for Vinum chapter should be bringing real configuration examples to consistent state. But I suppose it should be different PR. >How-To-Repeat: >Fix: Index: chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/vinum/chapter.sgml,v retrieving revision 1.24 diff -u -r1.24 chapter.sgml --- chapter.sgml 31 Aug 2003 16:41:36 -0000 1.24 +++ chapter.sgml 28 Oct 2003 11:51:27 -0000 @@ -362,7 +362,7 @@ Which Plex Organization? The version of Vinum supplied with FreeBSD &rel.current; implements - two kinds of plex: + three kinds of plex: @@ -386,11 +386,24 @@ (fractionally) more complex code and restrictions on subdisks: they must be all the same size, and extending a plex by adding new subdisks is so complicated that Vinum - currently does not implement it. Vinum imposes an + currently does not implement it (actually, you have to reconstruct + file system after adding or removing subdisks to the underlying plex). + Vinum imposes an additional, trivial restriction: a striped plex must have at least two subdisks, since otherwise it is indistinguishable from a concatenated plex. + + + raid5 + plexes implement redundancy with low volume overhead for the price + of higher CPU load and relatively low write speed. As for striped + plexes, subdisks involved must be the same size, and extending + raid5 plex will need its complete reformatting. Minimal raid5 plex + must contain at least 3 subdisks; due to performance reasons, 5 or + more subdisks (all on different drives, of course) are + recommended. + summarizes the advantages @@ -427,6 +440,15 @@ High performance in combination with highly concurrent access + + + radi5 + 3 + no + yes + High read performance in combination with redundancy such + as large data archives + @@ -708,6 +730,30 @@ + + + + Resilience and Performance: Hard Way + + With sufficient hardware and CPU power, + especially when most of disc activities are reads, it would be useful + to make raid5 volume, which consumes only 1/n of disk volume for + resilience instead of 1/2 for mirrored volumes, and still achieves + great read performance. A typical configuration file might + be: + + + volume raid5 + plex org raid5 512k + sd length 102480k drive a + sd length 102480k drive b + sd length 102480k drive c + sd length 102480k drive d + sd length 102480k drive e + + Note we have single plex here because raid5 provides + fault-tolerance itself. + >Release-Note: >Audit-Trail: >Unformatted: