From owner-freebsd-geom@FreeBSD.ORG Wed Dec 24 13:08:21 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E02761065673 for ; Wed, 24 Dec 2008 13:08:21 +0000 (UTC) (envelope-from aglarond@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 930318FC08 for ; Wed, 24 Dec 2008 13:08:21 +0000 (UTC) (envelope-from aglarond@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so1278107anc.13 for ; Wed, 24 Dec 2008 05:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=43SpSVG/dbBaIwdrajlrIzM7NMrsdKqQSjg1U8n/VUQ=; b=lyVK9DTIG4Y9EWRZzELBmeOCfFuUUQE2L1HtJsr+dPEIR410vEj/7OGd7MwVAnZCVF ltAXfTxRuR6ImyAOVmLv0ZObzFo/7aJg86A0GIrqhC5pKtI4uuYdIiL/7JoLq+YmjGHh vJxPr7dwDm05mWz1IIUX8+agiRpZJxSm1aTPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Is9zsdFie5BPyViXB298vh+Df7gMQ6BRuWCz1QvteiOdq4KI+9FB22PxGOZAeHQcYt qJuxhpY+Fs7BexsJSF2auMfpVNHvWRK6J3wKIb6d2ak7kxOCEot0S682oM6bjaNfbeLA oHiGzrx58NKdPrC/HAs8gVc92uB3a+TLuQ/Tw= Received: by 10.100.33.4 with SMTP id g4mr834251ang.43.1230124100980; Wed, 24 Dec 2008 05:08:20 -0800 (PST) Received: by 10.100.110.15 with HTTP; Wed, 24 Dec 2008 05:08:20 -0800 (PST) Message-ID: <55c107bf0812240508v68d9ccf2n164c78891724b634@mail.gmail.com> Date: Wed, 24 Dec 2008 14:08:20 +0100 From: "Dimitri Aivaliotis" To: rick-freebsd2008@kiwi-computer.com In-Reply-To: <20081222200312.GA16003@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <55c107bf0812180320x502847efi53df5a7da68b73e1@mail.gmail.com> <20081218175752.GA10326@carrot.lan> <20081218182352.GA69287@keira.kiwi-computer.com> <55c107bf0812190250x434e468cy2fb19956f36b5958@mail.gmail.com> <20081219161602.GA80859@keira.kiwi-computer.com> <55c107bf0812220820k2fb99ccev77d661629efed219@mail.gmail.com> <20081222200312.GA16003@keira.kiwi-computer.com> Cc: freebsd-geom@freebsd.org Subject: Re: gvinum raid10 stale X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 13:08:22 -0000 Hi Rick, On Mon, Dec 22, 2008 at 9:03 PM, Rick C. Petty wrote: > On Mon, Dec 22, 2008 at 05:20:36PM +0100, Dimitri Aivaliotis wrote: >> > > This is a mirror of stripes, but I'm not really sure what you gain by > staggering across all the drives like that. Are you doing this for some > performance gain? If you're really using five disks, you may wish to > consider raid5. Otherwise, this looks like a mirror of stripes across five > disks. Much prettier than what you posted originally. OK, so this IS expandable. That's good news. My real-life situation is going from 2 to 4 disks, so RAID5 is not an option here. > Are you trying to add mirrors or did you want to increase your volume size? I want to increase volume size. > You could increase the volume size, but the underlying filesystem would > need to be resized. I'm not sure if gvinum lets you increase the volume > size. If you just want to add another striped mirror: > > plex org striped 512k volume raid10 > sd length 102480k drive f > sd length 102480k drive g > sd length 102480k drive h > sd length 102480k drive i > sd length 102480k drive j Ok, so this would just increase resiliency, without increasing volume size? Unfortunately so: (I had to change the plex line because it gave an error: invalid plex definition ' plex org striped 512k volume raid10') plex name raid10.p2 org striped 512k vol raid10 plex name raid10.p3 org striped 512k vol raid10 # gvinum lp -v 4 plexes: Plex raid10.p3: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: down Organization: striped Stripe size: 512 kB Part of volume raid10 Plex raid10.p2: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: down Organization: striped Stripe size: 512 kB Part of volume raid10 Plex raid10.p0: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: down Organization: striped Stripe size: 512 kB Part of volume raid10 Plex raid10.p1: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: up Organization: striped Stripe size: 512 kB Part of volume raid10 But this is not what I'm looking to do, as I'd like to increase volume size. >> Thanks for your patience with me here. I'm trying to understand how >> this should work. > > No problem. I would still recommend getting rid of the stripes to reduce > your complexity and simplify future additions, but that's my personal > preference. I agree. If I'm going to be reconfiguring the disks anyways, how can I setup a configuration where I can grow a volume that starts out as a 2-disk mirror? I've tried a few different configurations on a test server now, but nothing seems to allow me to access the files on the current volume in its expanded state. - Dimitri