From owner-freebsd-geom@FreeBSD.ORG Wed Mar 16 11:16:10 2011 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 AB8AC106566B for ; Wed, 16 Mar 2011 11:16:10 +0000 (UTC) (envelope-from bsemene@cyanide-studio.com) Received: from mail.cyanide-studio.com (mail.cyanide-studio.com [62.73.7.64]) by mx1.freebsd.org (Postfix) with ESMTP id 4916D8FC1E for ; Wed, 16 Mar 2011 11:16:10 +0000 (UTC) Received: from localhost (unknown [10.1.8.14]) by mail.cyanide-studio.com (Postfix) with ESMTP id D721817BF442 for ; Wed, 16 Mar 2011 11:59:57 +0100 (CET) Received: from mail.cyanide-studio.com ([10.1.8.3]) by localhost (mailguard.cyanide-studio.com [10.1.8.14]) (amavisd-maia, port 10024) with ESMTP id 03672-08 for ; Wed, 16 Mar 2011 11:59:57 +0100 (CET) Received: from [10.1.8.96] (unknown [10.1.8.96]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bsemene@cyanide-studio.com) by mail.cyanide-studio.com (Postfix) with ESMTP id B236017BF43C for ; Wed, 16 Mar 2011 11:59:57 +0100 (CET) Message-ID: <4D80982D.9060809@cyanide-studio.com> Date: Wed, 16 Mar 2011 11:59:57 +0100 From: Bastien Semene User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-geom@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 16 Mar 2011 11:24:01 +0000 Cc: Subject: increase volume size to RAID 1+0 volumes 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, 16 Mar 2011 11:16:10 -0000 Hi list, I'd like to know how can I add disk space to RAID 1+0 volumes. I have 4 disks of 1.5 TB. I've seen that I can increase size of gmirror volumes if I remove (from the volume) 1 disk, insert a new one. Once the sync is complete destroy the mirror volume, increase the size with fdisk then build a new mirror volume. Is it correct ? No problem with the metadatas (I don't think as they are totally recreated) ? But I can't find information on how to do this with stripes. I understand that it is more difficult as RAID 0 needs disks of the same size. If I use the same methodology, does the destroy/recreate metadata will make the datas stored lost ? If yes, can I do it ? Is there some documentation I didn't put my hand on somewhere ? Thank you for your help. -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE