From owner-freebsd-geom@FreeBSD.ORG Thu Oct 11 09:34:21 2007 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 DC7CF16A46C for ; Thu, 11 Oct 2007 09:34:21 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id D15C013C45B for ; Thu, 11 Oct 2007 09:34:21 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so388344rvb for ; Thu, 11 Oct 2007 02:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received: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; bh=RQHIh+Efe14FAh+8sARi1qOBYaN0/RsL0+pzz95zSEk=; b=FSeg+ypdw95hgUyHJIE1wFuINvdV7dr+HAyU1gx/FOHKT/ewWV6CPrsytASdCXj1JZph6my084on+dA48lJPup6FZOS9u/U09kF5nwGqCzXZl/TStqKw61VrlaWIXyNJ9AGD449u+4TW6e9OvRAg85gNfH5QcaBoVhhpEemgO6I= 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=gjp4cePdPfqe67AhlaBZdQ+5CTfqG3xBRIyextk8PUxd7zwNhn7rloTALHSYTjxB69IiMHEasyHPlgmJSaOWjL4Y66ZxnuFDUkYlIqyAds8R+3ULSjtqld5iT5hlLlNuMcRfNrhzM97ZBV5VSwEnxoxJXkC1NmW7c8TQcbraJW4= Received: by 10.141.78.14 with SMTP id f14mr797769rvl.1192095260937; Thu, 11 Oct 2007 02:34:20 -0700 (PDT) Received: by 10.141.211.5 with HTTP; Thu, 11 Oct 2007 02:34:20 -0700 (PDT) Message-ID: <9bbcef730710110234i64f35d49gf6bb0d39067d03d1@mail.gmail.com> Date: Thu, 11 Oct 2007 11:34:20 +0200 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Eric Anderson" In-Reply-To: <470D7E5F.4020607@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710101817.56082.lists@jnielsen.net> <470D7E5F.4020607@freebsd.org> X-Google-Sender-Auth: 63bb19d95d4cb49f Cc: John Nielsen , freebsd-geom@freebsd.org Subject: Re: removing / replacing in-use components in gvirstor 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: Thu, 11 Oct 2007 09:34:21 -0000 On 11/10/2007, Eric Anderson wrote: > > In thinking about how I personally would use it, I realized I would add > > drives to a system until I ran out of slots or controller connections, and > > then want to upgrade to larger drives. From the manpage (and the code) it > > doesn't look like this is currently possible unless the drive you want to > > replace happens to be unused. How feasible would it be to either extend > > the "remove" verb to migrate in-use chunks to other (existing) providers or > > create a "replace" verb to migrate in-use chunks to a new provider? > > I wonder if making each drive a member of a single-device mirror, and > then including all the mirrors into the gvirstor GEOM would do the > trick. That way, you can simply add a new drive to the mirrorset you > want to replace, let the mirror sync, and then pop the old drive out. I > think the only remaining step is to re-mirror the mirror, or extend the > mirror or partition.. I plan to add offline drive-replacing verb to the userland utility but yes, that would also work.