From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 09:22:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D567F16A419 for ; Wed, 22 Aug 2007 09:22:23 +0000 (UTC) (envelope-from michel@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 7012113C45D for ; Wed, 22 Aug 2007 09:22:23 +0000 (UTC) (envelope-from michel@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.13.8/jtpda-5.4) with ESMTP id l7M8bUeo045513 for ; Wed, 22 Aug 2007 10:37:30 +0200 (CEST) X-Ids: 168 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 900D923724C for ; Wed, 22 Aug 2007 10:37:29 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 7A55080; Wed, 22 Aug 2007 10:37:29 +0200 (CEST) Date: Wed, 22 Aug 2007 10:37:29 +0200 From: Michel Talon To: freebsd-questions@freebsd.org Message-ID: <20070822083729.GA93337@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (shiva.jussieu.fr [134.157.0.168]); Wed, 22 Aug 2007 10:37:30 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88.7/4025/Wed Aug 22 01:37:57 2007 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at shiva.jussieu.fr with ID 46CBF5CA.004 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Subject: Re: GEOM, Vinum difference X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 09:22:23 -0000 Rakhesh Sasidharan wrote: > Another (related) question: both gvinum and the geom utilities like > gmirror and gstripe etc provide for RAID0, RAID1, and RAID3. Any > advantages/ disadvantages of using one instead of the other? There has been a polemic between Greg Lehey and PJ Dawidek about the comparative advantages of raid3 and raid5. You can find the exchanges on Google. One example being: http://arkiv.freebsd.se/?ml=freebsd-performance&a=2004-08&t=227183 As far as i remember there are arguments showing that raid3 is better than raid5 both in terms of speed and of data security. It seems that raid5 has mostly a hype factor for him, but i may err. Anyways it is for such reasons that in the modern geom system, raid3 has been implemented and not raid5. But vinum has been ported to the geom framework for the benefit of old users, or of people who like it. For example if you are using FreeBSD-4 or DragonFlyBSD, vinum is the standard tool, and you may prefer getting expertise in just one tool. Finally none of these raid systems is really good, both for performance and security. If you are concerned with your data and want good write speed, you must buy enough disks and use raid 10. Another important factor is ease of use. The geom tools, gmirror, gstripe, graid3, etc. are *very* easy to use. The documentation in the man pages is clear, sufficient for doing work, and not too long. On the contrary, vinum was traditionaly documented in a very hermetic way. But more recently, Greg Lehey has provided a very clear chapter of his book on his web site which can be recommanded, but is not short. Note the documentation is a critical aspect of such systems because its lack may bite you in case a disk crashes and you need to adopt correct procedures under stress. Also for some time the gvinum stuff was extremely buggy, and was completely non functional when i tried it. I hope it is fixed now. -- Michel TALON