From owner-freebsd-geom@FreeBSD.ORG Wed Nov 13 18:45:30 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F51134D for ; Wed, 13 Nov 2013 18:45:30 +0000 (UTC) Received: from forward18.mail.yandex.net (forward18.mail.yandex.net [IPv6:2a02:6b8:0:1402::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 02BB826FA for ; Wed, 13 Nov 2013 18:45:30 +0000 (UTC) Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18]) by forward18.mail.yandex.net (Yandex) with ESMTP id 44B3917827EF; Wed, 13 Nov 2013 22:45:17 +0400 (MSK) Received: from smtp18.mail.yandex.net (localhost [127.0.0.1]) by smtp18.mail.yandex.net (Yandex) with ESMTP id 0BD6018A02D8; Wed, 13 Nov 2013 22:45:16 +0400 (MSK) Received: from v3-150-120.yandex.net (v3-150-120.yandex.net [84.201.150.120]) by smtp18.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Yp36Y5FQEI-jG2qMvgX; Wed, 13 Nov 2013 22:45:16 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1384368316; bh=BL31jcWXy5IUd4rXOkRYROnuK8nwIsGOcVR9EDfmm9k=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=k0ruCWJZEBwlecRJGjcJTTvgcgkKCbZ5Vs46dtIPd9Z3vpEgRfADNoUj8An+FwxY9 eF4irZ0RYz+S3dqyrRN+DeVOVXENzOVUZRo+Mjs43UP0C9Yj9duDsW35vNFh2U7/oi Tu7x6sIzEzPm8EIGWkY+glAPu8nhhFBznjUp/vXk= Authentication-Results: smtp18.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <5283C7AD.2020103@yandex.ru> Date: Wed, 13 Nov 2013 22:40:45 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Joseph Mays , freebsd-geom@freebsd.org Subject: Re: Expanding a partition in gpart after increasing the size of an array. References: <690085F62D0F44DBAED44EB2604D948F@Gantry> In-Reply-To: <690085F62D0F44DBAED44EB2604D948F@Gantry> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 18:45:30 -0000 On 13.11.2013 21:07, Joseph Mays wrote: > I was originally attaching the results of "gpart show" as a > screenshot because I was working through an internet kvm module on a > system several states away that was booted in standalone mode. But > the mailing list seems to strip off attachments, so I ssh'd into the > system in normal operation to get output of "gpart show" that I can > cut and paste here. > > root@warehouse:/root # gpart show mfid0 > => 34 17578327997 mfid0 GPT (10T) [CORRUPT] > 34 128 1 freebsd-boot (64k) > 162 1048576000 2 freebsd-ufs (500G) > 1048576162 16521363328 4 freebsd-ufs (7.7T) > 17569939490 8388540 3 freebsd-swap (4G) > 17578328030 1 - free - (512B) > Hi, you just need to do `gpart recover mfid0`. -- WBR, Andrey V. Elsukov