From owner-freebsd-geom@FreeBSD.ORG Sun May 13 20:38:27 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 434C016A405 for ; Sun, 13 May 2007 20:38:27 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2E76E13C457 for ; Sun, 13 May 2007 20:38:27 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin03-en2 [10.13.10.148]) by smtpout.mac.com (Xserve/smtpout03/MantshX 4.0) with ESMTP id l4DKcQGi009832; Sun, 13 May 2007 13:38:26 -0700 (PDT) Received: from [192.168.1.2] (c-24-6-169-3.hsd1.ca.comcast.net [24.6.169.3]) (authenticated bits=0) by mac.com (Xserve/smtpin03/MantshX 4.0) with ESMTP id l4DKcPNT004931 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 13 May 2007 13:38:25 -0700 (PDT) In-Reply-To: <3131aa530705130418h301f1832j313f5267c43e98f5@mail.gmail.com> References: <3131aa530705130418h301f1832j313f5267c43e98f5@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <30A8E689-CFD1-4DDA-9E81-18F41082E863@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Sun, 13 May 2007 13:37:04 -0700 To: Olivier Cochard-Labbe X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: freebsd-geom@freebsd.org Subject: Re: How to grow a GPT partition size ? 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: Sun, 13 May 2007 20:38:27 -0000 On May 13, 2007, at 4:18 AM, Olivier Cochard-Labbe wrote: > Hi all, > > I'm trying a method for increasing the size of a geom raid5 volume (by > replacing each disk one by one by bigger disk). > Increasing a graid5 volume works great when I'm using directly the > volume > (for example: /dev/raid5/volumename) without MBR or GPT partition. > But I'm using a GPT partition on this graid5 volume... Then how to > increase > the size of a GPT partition ? (I've read the man page of gpt but I > didn't > find a solution). The gpt(8) tool doesn't support changing the size or position of an existing partition. I'm working on a replacement for gpt(8), so I don't plan to add support to gpt(8) myself. The replacement tool will not have these features to begin with either, because they're not in demand. However, they are planned (changing the size sooner than changing the position/location). If time permits, I should have a resize in the next couple of weeks. -- Marcel Moolenaar xcllnt@mac.com