From owner-freebsd-geom@FreeBSD.ORG Wed Apr 21 12:04:53 2010 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 E9B31106564A; Wed, 21 Apr 2010 12:04:53 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward4.mail.yandex.net (forward4.mail.yandex.net [77.88.46.9]) by mx1.freebsd.org (Postfix) with ESMTP id 969E68FC17; Wed, 21 Apr 2010 12:04:53 +0000 (UTC) Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward4.mail.yandex.net (Yandex) with ESMTP id CCABA6AD99C3; Wed, 21 Apr 2010 16:04:51 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1271851491; bh=7b+kGfa9tejeBxFiyRpNMBwxNr4I/s2BBAmGV7u/E9g=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DT1cKR4owEd4LzQ0K3+W4ps5T20AREf22I0x8tGgaBEY5QqWmSBxl8pk8ZMv05tfZ qJP73U9SQtKjhNkb5OA3jGr3SsO3IFYWWKwX3ARCj1r1g9+HiPSeoPQeGN/RKFmYXO sKtgraiUDxhgi+Os5LsWbIW3P3ZpjCE3aAYYiCZA= Received: from [127.0.0.1] (mail.kirov.so-cdu.ru [77.72.136.145]) by smtp1.mail.yandex.net (Yandex) with ESMTPSA id 8D9192900A4; Wed, 21 Apr 2010 16:04:51 +0400 (MSD) Message-ID: <4BCEE9E2.6010007@yandex.ru> Date: Wed, 21 Apr 2010 16:04:50 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Lister References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Yandex-TimeMark: 1271851491 X-Yandex-Spam: 1 X-Yandex-Front: smtp1.mail.yandex.net Cc: Marcel Moolenaar , freebsd-geom@freebsd.org Subject: Re: OCE and GPT 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, 21 Apr 2010 12:04:54 -0000 On 21.04.2010 13:21, Lister wrote: > I have a 5TB RAID5 (/dev/da0) on a 3Ware controller supporting OCE. I > partitioned it into p1, p2 & p3 using gpt on FreeBSD-7.1-RELEAE. > P3 is 3.5TB and is the one I need to expand by adding another 1TB drive > to the RAID. It is now 87% full. > > Both gpt and gpart don't allow resizing a partition. > Of course, backing up the RAID to another is not an option. > > I'm in a rather desperate situation and I'm willing to do whatever it > takes. If there's no current software solution, I'm willing to use a hex > editor to edit the disk directly if someone could advise me of the > layout of GPT as created by gpt- and gpart if different. I used to do > this on MBR disks at times of necessity. I published patch to add resize feature to GEOM PART class some time ago: http://lists.freebsd.org/pipermail/freebsd-geom/2010-March/003955.html -- WBR, Andrey V. Elsukov