From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 22:58:38 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E17A116A407 for ; Wed, 17 Jan 2007 22:58:38 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id A546113C455 for ; Wed, 17 Jan 2007 22:58:38 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so13271ana for ; Wed, 17 Jan 2007 14:58:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TDFhuBcsnt0WrMbw9O7v6+Z7AWdexiJf/zAqMEHSQM9OGM1trc8RqT3eTStuHctC+ZaGXVfjedWWFfm0AUPeBHAaLQt9868xf2ifGrDYMDSlktN6aCoQygI1vzJV4mArhwkEwM0LUhRptjlRELufk7qcKQVm/mRvgQ8DzZwBWH4= Received: by 10.78.160.2 with SMTP id i2mr108597hue.1169074716698; Wed, 17 Jan 2007 14:58:36 -0800 (PST) Received: by 10.78.164.20 with HTTP; Wed, 17 Jan 2007 14:58:36 -0800 (PST) Message-ID: Date: Thu, 18 Jan 2007 01:58:36 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Scott Long" In-Reply-To: <45AEA0B5.8060903@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070117103935.GC4018@genius.tao.org.uk> <45AEA0B5.8060903@samsco.org> X-Google-Sender-Auth: 002ddf904bfc6632 Cc: stable@freebsd.org, fs@freebsd.org Subject: Re: gmirror disks vs partitions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 22:58:39 -0000 On 1/18/07, Scott Long wrote: > Andrew Pantyukhin wrote: > > On 1/17/07, Josef Karthauser wrote: > >> A poll for opinions if I may? > >> > >> I've got a few gmirrors running on various machines, all of which > >> pair up two drives at the physical level (i.e. mirror /dev/ad0s1 > >> with /dev/ad1s1). Of course there are other ways of doing it to, > >> like mirroring at the partition level, ie pairing /dev/ad0s1a with > >> /dev/ad1s1a, /dev/ad0s1e with /dev/ad0s1e, etc. > >> > >> Apart from potentially avoiding a whole disk from being copied > >> during a resync after a crash, are there any other advantages to > >> using partition level mirroring instead of drive level mirroring? > > > > I can imagine people using partition-level raid to > > implement a popular configuration: > > > > You divide a couple of identical drives proportionally > > in two partitions each, place a couple of the first > > partitions into gmirror and a couple of the second > > ones into gstripe. This way you get both reliable and > > fast storage with just two drives. Some strings are > > attached. > > The head movement that this causes makes it a poor performer. It is > an option, but not a terribly popular one. I hear many desktops and laptops nowadays (used to?) come preconfigured this way.