From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 11:29:36 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 717B916A40F for ; Wed, 17 Jan 2007 11:29:36 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 0D0FC13C45D for ; Wed, 17 Jan 2007 11:29:35 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1799504uge for ; Wed, 17 Jan 2007 03:29:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PurYKBumgiT3rJnhvCOL4RR0/Rf7FBR3pzcTwSwMlVU+rD/7T+ow3PhlcQuDXhtYiglu43qJE2XPK2jWjzXSGXdTGcI6UAvXgjvv7rwR29rQwxxQ6Pe1NisAlnKQJpRU5jjaI99mSuEanq3vVJc93k3hQED1qOcEbfwGa2ibTuE= Received: by 10.78.18.3 with SMTP id 3mr1599076hur.1169033374082; Wed, 17 Jan 2007 03:29:34 -0800 (PST) Received: by 10.78.164.20 with HTTP; Wed, 17 Jan 2007 03:29:33 -0800 (PST) Message-ID: Date: Wed, 17 Jan 2007 14:29:33 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Josef Karthauser" , stable@freebsd.org, fs@freebsd.org In-Reply-To: <20070117103935.GC4018@genius.tao.org.uk> 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> X-Google-Sender-Auth: 7cc1e77383c11a74 Cc: 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 11:29:36 -0000 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.